Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractTestRule<T> - Class in net.sf.lightair.internal.junit
-
Abstract base class for test rules.
- AbstractTestRule(Method, Class, Class) - Constructor for class net.sf.lightair.internal.junit.AbstractTestRule
-
Constructor.
- ACTUAL - Static variable in interface net.sf.lightair.internal.Keywords
- after() - Method in class net.sf.lightair.internal.junit.AbstractTestRule
-
Executes after the test method.
- after() - Method in class net.sf.lightair.internal.junit.AwaitListTestRule
-
If the method is annotated with @
Await, verify the database asynchronously. - after() - Method in class net.sf.lightair.internal.junit.AwaitTestRule
-
If the method is annotated with @
Await, verify the database asynchronously. - after() - Method in class net.sf.lightair.internal.junit.VerifyListTestRule
-
If the method is annotated with @
Verify, verify the database. - after() - Method in class net.sf.lightair.internal.junit.VerifyTestRule
-
If the method is annotated with @
Verify, verify the database. - afterInvocation(IInvokedMethod, ITestResult) - Method in class net.sf.lightair.LightAirNGListener
-
Method executed after every test method handling db verification
- ANY_TOKEN - Static variable in interface net.sf.lightair.internal.Keywords
- Api - Class in net.sf.lightair
-
Deprecated.
- Api() - Constructor for class net.sf.lightair.Api
-
Deprecated.
- ARRAY_ELEMENT_SEPARATOR - Static variable in interface net.sf.lightair.internal.Keywords
- ARRAY_INTEGER - Static variable in interface net.sf.lightair.internal.Keywords
- ARRAY_LONG - Static variable in interface net.sf.lightair.internal.Keywords
- ARRAY_STRING - Static variable in interface net.sf.lightair.internal.Keywords
- Auto - Class in net.sf.lightair.internal.auto
-
Generate unique pseudo-random values for the
@autotoken. - Auto() - Constructor for class net.sf.lightair.internal.auto.Auto
- AUTO_INDEX_DIRECTORY - Static variable in interface net.sf.lightair.internal.Keywords
- AUTO_INDEX_FILE - Static variable in class net.sf.lightair.internal.auto.Index
- AUTO_TOKEN - Static variable in interface net.sf.lightair.internal.Keywords
- await(Map) - Static method in class net.sf.lightair.LightAirApi
-
Verify database after an asynchronous test.
- Await - Annotation Interface in net.sf.lightair.annotation
-
Verifies the database after an asynchronous test.
- Await.List - Annotation Interface in net.sf.lightair.annotation
-
Defines several @
Awaitannotations on the same element. - awaitEmpty(long, Callable) - Static method in class net.sf.lightair.internal.Awaiting
- AwaitExecutor - Class in net.sf.lightair.internal.junit
- AwaitExecutor() - Constructor for class net.sf.lightair.internal.junit.AwaitExecutor
- Awaiting - Class in net.sf.lightair.internal
-
Helper functions for awaiting the target database state.
- Awaiting() - Constructor for class net.sf.lightair.internal.Awaiting
- AwaitListTestRule - Class in net.sf.lightair.internal.junit
-
Test rule helper to verify the database with multiple
@Awaitannotations after test method execution with asynchronous functionality. - AwaitListTestRule(Method) - Constructor for class net.sf.lightair.internal.junit.AwaitListTestRule
-
Constructor.
- AwaitTestRule - Class in net.sf.lightair.internal.junit
-
Test rule helper to verify the database after test method execution with asynchronous functionality.
- AwaitTestRule(Method) - Constructor for class net.sf.lightair.internal.junit.AwaitTestRule
-
Constructor.
B
- before() - Method in class net.sf.lightair.internal.junit.AbstractTestRule
-
Executes before the test method.
- before() - Method in class net.sf.lightair.internal.junit.SetupListTestRule
-
If the method is annotated with @
Setup, set up the database. - before() - Method in class net.sf.lightair.internal.junit.SetupTestRule
-
If the method is annotated with @
Setup, set up the database. - beforeInvocation(IInvokedMethod, ITestResult) - Method in class net.sf.lightair.LightAirNGListener
-
Method executed before every test method handling db setup and base url for JWebUnit
- BIGDECIMAL - Static variable in interface net.sf.lightair.internal.Keywords
- BLOB - Static variable in interface net.sf.lightair.internal.Keywords
- BOOLEAN - Static variable in interface net.sf.lightair.internal.Keywords
- BYTE - Static variable in interface net.sf.lightair.internal.Keywords
- BYTES - Static variable in interface net.sf.lightair.internal.Keywords
C
- CLOB - Static variable in interface net.sf.lightair.internal.Keywords
- close(Map) - Static method in class net.sf.lightair.internal.Connections
- COLUMN - Static variable in interface net.sf.lightair.internal.Keywords
- COLUMNS - Static variable in interface net.sf.lightair.internal.Keywords
- compare(Map, Map, Map) - Static method in class net.sf.lightair.internal.Compare
- Compare - Class in net.sf.lightair.internal
-
Compare expected and actual datasets and produce structured differences.
- Compare() - Constructor for class net.sf.lightair.internal.Compare
- Connections - Class in net.sf.lightair.internal
-
Helper functions for JDBC connections.
- Connections() - Constructor for class net.sf.lightair.internal.Connections
- convert(Clock, Map, Map, Map) - Static method in class net.sf.lightair.internal.Convert
- Convert - Class in net.sf.lightair.internal
-
Convert String values in datasets parsed from XML into proper data types based on the database structure.
- Convert() - Constructor for class net.sf.lightair.internal.Convert
- create(Map, Map, List) - Static method in class net.sf.lightair.internal.db.Delete
- create(Map, Map, List) - Static method in class net.sf.lightair.internal.db.Insert
- create(Map, Map, List) - Static method in class net.sf.lightair.internal.db.Select
D
- DATA_TYPE - Static variable in interface net.sf.lightair.internal.Keywords
- DATABASE_CONNECTION_URL - Static variable in interface net.sf.lightair.internal.Keywords
- DATABASE_DRIVER_CLASS_NAME - Static variable in interface net.sf.lightair.internal.Keywords
- DATABASE_PASSWORD - Static variable in interface net.sf.lightair.internal.Keywords
- DATABASE_SCHEMA - Static variable in interface net.sf.lightair.internal.Keywords
- DATABASE_USER_NAME - Static variable in interface net.sf.lightair.internal.Keywords
- DataSetResolver - Class in net.sf.lightair.internal.junit.util
-
Resolves dataset files by their file names relative to the class declaring the test method.
- DataSetResolver() - Constructor for class net.sf.lightair.internal.junit.util.DataSetResolver
- DATE - Static variable in interface net.sf.lightair.internal.Keywords
- DATE_TOKEN - Static variable in interface net.sf.lightair.internal.Keywords
- DECIMAL_DIGITS - Static variable in interface net.sf.lightair.internal.Keywords
- DEFAULT_AUTO_INDEX_DIRECTORY - Static variable in interface net.sf.lightair.internal.Keywords
- DEFAULT_PROFILE - Static variable in interface net.sf.lightair.internal.Keywords
- DEFAULT_PROPERTIES_FILE_NAME - Static variable in interface net.sf.lightair.internal.Keywords
- DEFAULT_XSD_DIRECTORY - Static variable in interface net.sf.lightair.internal.Keywords
- Delete - Class in net.sf.lightair.internal.db
-
Create
deleteSQL statements from a dataset. - Delete() - Constructor for class net.sf.lightair.internal.db.Delete
- DIFFERENCES - Static variable in interface net.sf.lightair.internal.Keywords
- DIFFERENT - Static variable in interface net.sf.lightair.internal.Keywords
- DOUBLE - Static variable in interface net.sf.lightair.internal.Keywords
E
- ensureInitialized(String) - Static method in class net.sf.lightair.LightAirApi
-
Initialize Light Air if it is not initialized already.
- ensureShutdown() - Static method in class net.sf.lightair.LightAirApi
-
Shutdown Light Air to properly release resources, like DB connections, if it is not shutdown already.
- ENV_DATABASE_CONNECTION_URL - Static variable in interface net.sf.lightair.internal.Keywords
- ENV_DATABASE_DRIVER_CLASS_NAME - Static variable in interface net.sf.lightair.internal.Keywords
- ENV_DATABASE_PASSWORD - Static variable in interface net.sf.lightair.internal.Keywords
- ENV_DATABASE_SCHEMA - Static variable in interface net.sf.lightair.internal.Keywords
- ENV_DATABASE_USER_NAME - Static variable in interface net.sf.lightair.internal.Keywords
- ENV_TIME_DIFFERENCE_LIMIT_MILLIS - Static variable in interface net.sf.lightair.internal.Keywords
- envOverrides - Static variable in class net.sf.lightair.internal.Properties
- execute(Await, Method) - Method in class net.sf.lightair.internal.junit.AwaitExecutor
- execute(Setup, Method) - Method in class net.sf.lightair.internal.junit.SetupExecutor
- execute(Verify, Method) - Method in class net.sf.lightair.internal.junit.VerifyExecutor
- ExecuteQuery - Class in net.sf.lightair.internal.db
-
Execute
selectSQL statements, producing a dataset. - ExecuteQuery() - Constructor for class net.sf.lightair.internal.db.ExecuteQuery
- ExecuteUpdate - Class in net.sf.lightair.internal.db
-
Execute
deleteandinsertSQL statements. - ExecuteUpdate() - Constructor for class net.sf.lightair.internal.db.ExecuteUpdate
- ExecutorUtils - Class in net.sf.lightair.internal.junit
- ExecutorUtils() - Constructor for class net.sf.lightair.internal.junit.ExecutorUtils
- EXPECTED - Static variable in interface net.sf.lightair.internal.Keywords
F
- Factory - Class in net.sf.lightair.internal.junit.util
-
Factory class.
- FIXED_NSTRING - Static variable in interface net.sf.lightair.internal.Keywords
- FIXED_STRING - Static variable in interface net.sf.lightair.internal.Keywords
- FLOAT - Static variable in interface net.sf.lightair.internal.Keywords
- formatColumnKey(String, String, String) - Static method in class net.sf.lightair.internal.auto.Index
- formatTableKey(String, String) - Static method in class net.sf.lightair.internal.auto.Index
G
- generate(String, int) - Static method in class net.sf.lightair.internal.auto.Hash
- generate(Map, String, String, String, int, String, Integer, Integer) - Static method in class net.sf.lightair.internal.auto.Auto
- generate(Map, Map) - Static method in class net.sf.lightair.internal.Xsd
- generateXsd() - Static method in class net.sf.lightair.LightAirApi
-
Generate XSD files from the database structure.
- getAllTestRules(Method) - Method in class net.sf.lightair.internal.junit.util.Factory
- getAnnotation() - Method in class net.sf.lightair.internal.junit.AbstractTestRule
-
Return the configuring annotation.
- getApiFileNames(DataSetResolver, String, Method, String[], String) - Static method in class net.sf.lightair.internal.junit.ExecutorUtils
- getAwaitExecutor() - Method in class net.sf.lightair.internal.junit.util.Factory
- getAwaitListTestRule(Method) - Method in class net.sf.lightair.internal.junit.util.Factory
- getAwaitTestRule(Method) - Method in class net.sf.lightair.internal.junit.util.Factory
- getDataSetResolver() - Method in class net.sf.lightair.internal.junit.util.Factory
- getInstance() - Static method in class net.sf.lightair.internal.junit.util.Factory
-
Return singleton Factory instance.
- getLimit(Map) - Static method in class net.sf.lightair.internal.Properties
- getPropertiesFileName() - Static method in class net.sf.lightair.LightAirApi
-
Get the file name of the main properties file.
- getSetupExecutor() - Method in class net.sf.lightair.internal.junit.util.Factory
- getSetupListTestRule(Method) - Method in class net.sf.lightair.internal.junit.util.Factory
- getSetupTestRule(Method) - Method in class net.sf.lightair.internal.junit.util.Factory
- getTestMethod() - Method in class net.sf.lightair.internal.junit.AbstractTestRule
-
Return the test method on which the test rule is applied.
- getVerifyExecutor() - Method in class net.sf.lightair.internal.junit.util.Factory
- getVerifyListTestRule(Method) - Method in class net.sf.lightair.internal.junit.util.Factory
- getVerifyTestRule(Method) - Method in class net.sf.lightair.internal.junit.util.Factory
H
- Hash - Class in net.sf.lightair.internal.auto
-
Calculate hash from a String.
- Hash() - Constructor for class net.sf.lightair.internal.auto.Hash
I
- Index - Class in net.sf.lightair.internal.auto
-
Keep index file with hashes for tables and columns.
- Index() - Constructor for class net.sf.lightair.internal.auto.Index
- init() - Method in class net.sf.lightair.internal.junit.util.Factory
-
Initialize single-instance classes.
- initialize(String) - Static method in class net.sf.lightair.LightAirApi
-
Initialize Light Air.
- Insert - Class in net.sf.lightair.internal.db
-
Create
insertSQL statements from a dataset. - Insert() - Constructor for class net.sf.lightair.internal.db.Insert
- INTEGER - Static variable in interface net.sf.lightair.internal.Keywords
- interceptTestMethod(InvocationInterceptor.Invocation, ReflectiveInvocationContext, ExtensionContext) - Method in class net.sf.lightair.LightAir
J
- JDBC_DATA_TYPE - Static variable in interface net.sf.lightair.internal.Keywords
- JSON - Static variable in interface net.sf.lightair.internal.Keywords
- JSONB - Static variable in interface net.sf.lightair.internal.Keywords
K
- Keywords - Interface in net.sf.lightair.internal
-
Constant keywords.
L
- LightAir - Class in net.sf.lightair
-
Light Air JUnit Jupiter Extension.
- LightAir() - Constructor for class net.sf.lightair.LightAir
- LightAirApi - Class in net.sf.lightair
-
Light Air's programmatic API.
- LightAirApi() - Constructor for class net.sf.lightair.LightAirApi
- LightAirNGListener - Class in net.sf.lightair
-
Light air TestNG listener.
- LightAirNGListener() - Constructor for class net.sf.lightair.LightAirNGListener
- load(String) - Static method in class net.sf.lightair.internal.Properties
- loadAll(Map, Map) - Static method in class net.sf.lightair.internal.db.Structure
- LONG - Static variable in interface net.sf.lightair.internal.Keywords
M
N
- NCLOB - Static variable in interface net.sf.lightair.internal.Keywords
- net.sf.lightair - package net.sf.lightair
- net.sf.lightair.annotation - package net.sf.lightair.annotation
- net.sf.lightair.internal - package net.sf.lightair.internal
- net.sf.lightair.internal.auto - package net.sf.lightair.internal.auto
- net.sf.lightair.internal.db - package net.sf.lightair.internal.db
- net.sf.lightair.internal.junit - package net.sf.lightair.internal.junit
- net.sf.lightair.internal.junit.util - package net.sf.lightair.internal.junit.util
- NOT_NULL - Static variable in interface net.sf.lightair.internal.Keywords
- NSTRING - Static variable in interface net.sf.lightair.internal.Keywords
- NULL_TOKEN - Static variable in interface net.sf.lightair.internal.Keywords
O
- onFinish(ITestContext) - Method in class net.sf.lightair.LightAirNGListener
- onStart(ITestContext) - Method in class net.sf.lightair.LightAirNGListener
- onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class net.sf.lightair.LightAirNGListener
- onTestFailure(ITestResult) - Method in class net.sf.lightair.LightAirNGListener
- onTestSkipped(ITestResult) - Method in class net.sf.lightair.LightAirNGListener
- onTestStart(ITestResult) - Method in class net.sf.lightair.LightAirNGListener
- onTestSuccess(ITestResult) - Method in class net.sf.lightair.LightAirNGListener
- open(Map) - Static method in class net.sf.lightair.internal.Connections
P
- PARAMETERS - Static variable in interface net.sf.lightair.internal.Keywords
- profile() - Element in annotation interface net.sf.lightair.annotation.Await
-
Name of the profile.
- profile() - Element in annotation interface net.sf.lightair.annotation.Setup
-
Name of the profile.
- profile() - Element in annotation interface net.sf.lightair.annotation.Verify
-
Name of the profile.
- PROFILE_PREFIX - Static variable in class net.sf.lightair.internal.Properties
- Properties - Class in net.sf.lightair.internal
-
Load
light-air.propertiesfiles. - Properties() - Constructor for class net.sf.lightair.internal.Properties
- PROPERTIES_PROPERTY_NAME - Static variable in class net.sf.lightair.LightAirApi
R
- read(Map) - Static method in class net.sf.lightair.internal.Xml
- readAndUpdate(Map, Map) - Static method in class net.sf.lightair.internal.auto.Index
- reInitialize() - Static method in class net.sf.lightair.LightAirApi
-
Re-initialize already initialized Light Air.
- report(Map) - Static method in class net.sf.lightair.internal.Report
- Report - Class in net.sf.lightair.internal
-
Generate the textual report from structured differences between datasets.
- Report() - Constructor for class net.sf.lightair.internal.Report
- resetClock() - Static method in class net.sf.lightair.LightAirApi
-
Reset the clock to be used for time-based data types processing to system time in the system default time zone.
- resolve(Method, String) - Method in class net.sf.lightair.internal.junit.util.DataSetResolver
-
Resolve a file by its name relative to a class declaring the test method.
- resolve(String, Method, String, String...) - Method in class net.sf.lightair.internal.junit.util.DataSetResolver
- resolveIfExists(Method, String) - Method in class net.sf.lightair.internal.junit.util.DataSetResolver
-
Resolve a file by its name relative to a class declaring the test method.
- run(Connection, List) - Static method in class net.sf.lightair.internal.db.ExecuteQuery
- run(Connection, List) - Static method in class net.sf.lightair.internal.db.ExecuteUpdate
S
- Select - Class in net.sf.lightair.internal.db
-
Create
selectSQL statements from an expected dataset. - Select() - Constructor for class net.sf.lightair.internal.db.Select
- setAwaitExecutor(AwaitExecutor) - Method in class net.sf.lightair.internal.junit.AwaitListTestRule
-
Set await executor.
- setAwaitExecutor(AwaitExecutor) - Method in class net.sf.lightair.internal.junit.AwaitTestRule
-
Set await executor.
- setClock(Clock) - Static method in class net.sf.lightair.LightAirApi
-
Set the clock to be used for time-based data types processing.
- setDataSetResolver(DataSetResolver) - Method in class net.sf.lightair.internal.junit.AwaitExecutor
-
Set dataset resolver
- setDataSetResolver(DataSetResolver) - Method in class net.sf.lightair.internal.junit.SetupExecutor
-
Set dataset resolver
- setDataSetResolver(DataSetResolver) - Method in class net.sf.lightair.internal.junit.VerifyExecutor
-
Set dataset resolver
- setFixedTime(ZonedDateTime) - Static method in class net.sf.lightair.LightAirApi
-
Set a fixed time to be used for time-based data types processing.
- setSetupExecutor(SetupExecutor) - Method in class net.sf.lightair.internal.junit.SetupListTestRule
-
Set the setup executor.
- setSetupExecutor(SetupExecutor) - Method in class net.sf.lightair.internal.junit.SetupTestRule
-
Set the setup executor.
- setup(Map) - Static method in class net.sf.lightair.LightAirApi
-
Setup database.
- Setup - Annotation Interface in net.sf.lightair.annotation
-
Sets up the database before test.
- Setup.List - Annotation Interface in net.sf.lightair.annotation
-
Defines several @
Setupannotations on the same element. - SetupExecutor - Class in net.sf.lightair.internal.junit
- SetupExecutor() - Constructor for class net.sf.lightair.internal.junit.SetupExecutor
- SetupListTestRule - Class in net.sf.lightair.internal.junit
-
Test rule helper to set up the database with multiple
@Setupannotations before test method execution. - SetupListTestRule(Method) - Constructor for class net.sf.lightair.internal.junit.SetupListTestRule
-
Constructor.
- SetupTestRule - Class in net.sf.lightair.internal.junit
-
Test rule helper to set up the database before test method execution.
- SetupTestRule(Method) - Constructor for class net.sf.lightair.internal.junit.SetupTestRule
-
Constructor.
- setVerifyExecutor(VerifyExecutor) - Method in class net.sf.lightair.internal.junit.VerifyListTestRule
-
Set the verify executor.
- setVerifyExecutor(VerifyExecutor) - Method in class net.sf.lightair.internal.junit.VerifyTestRule
-
Set the verify executor.
- SHORT - Static variable in interface net.sf.lightair.internal.Keywords
- shutdown() - Static method in class net.sf.lightair.LightAirApi
-
Shutdown previously initialized Light Air to properly release resources, like DB connections.
- SIZE - Static variable in interface net.sf.lightair.internal.Keywords
- SQL - Static variable in interface net.sf.lightair.internal.Keywords
- startStopWatch(Logger) - Static method in class net.sf.lightair.internal.junit.ExecutorUtils
- STRING - Static variable in interface net.sf.lightair.internal.Keywords
- Structure - Class in net.sf.lightair.internal.db
-
Load database structure.
- Structure() - Constructor for class net.sf.lightair.internal.db.Structure
T
- TABLE - Static variable in interface net.sf.lightair.internal.Keywords
- TIME - Static variable in interface net.sf.lightair.internal.Keywords
- TIME_DIFFERENCE_LIMIT_MILLIS - Static variable in interface net.sf.lightair.internal.Keywords
- TIME_TOKEN - Static variable in interface net.sf.lightair.internal.Keywords
- TIMESTAMP - Static variable in interface net.sf.lightair.internal.Keywords
- TIMESTAMP_TOKEN - Static variable in interface net.sf.lightair.internal.Keywords
U
- UNEXPECTED - Static variable in interface net.sf.lightair.internal.Keywords
- UUID - Static variable in interface net.sf.lightair.internal.Keywords
V
- value() - Element in annotation interface net.sf.lightair.annotation.Await.List
- value() - Element in annotation interface net.sf.lightair.annotation.Await
-
Names of files with datasets.
- value() - Element in annotation interface net.sf.lightair.annotation.Setup.List
- value() - Element in annotation interface net.sf.lightair.annotation.Setup
-
Names of files with datasets.
- value() - Element in annotation interface net.sf.lightair.annotation.Verify.List
- value() - Element in annotation interface net.sf.lightair.annotation.Verify
-
Names of files with datasets.
- VALUE - Static variable in interface net.sf.lightair.internal.Keywords
- VARIABLE_PREFIX - Static variable in interface net.sf.lightair.internal.Keywords
- verify(Map) - Static method in class net.sf.lightair.LightAirApi
-
Verify database.
- Verify - Annotation Interface in net.sf.lightair.annotation
-
Verifies the database after test.
- Verify.List - Annotation Interface in net.sf.lightair.annotation
-
Defines several @
Verifyannotations on the same element. - VerifyExecutor - Class in net.sf.lightair.internal.junit
- VerifyExecutor() - Constructor for class net.sf.lightair.internal.junit.VerifyExecutor
- VerifyListTestRule - Class in net.sf.lightair.internal.junit
-
Test rule helper to verify the database with multiple
@Verifyannotations after test method execution. - VerifyListTestRule(Method) - Constructor for class net.sf.lightair.internal.junit.VerifyListTestRule
-
Constructor.
- VerifyTestRule - Class in net.sf.lightair.internal.junit
-
Test rule helper to verify the database after test method execution.
- VerifyTestRule(Method) - Constructor for class net.sf.lightair.internal.junit.VerifyTestRule
-
Constructor.
X
- Xml - Class in net.sf.lightair.internal
-
Read XML files with datasets.
- Xml() - Constructor for class net.sf.lightair.internal.Xml
- Xsd - Class in net.sf.lightair.internal
-
Generate XSD files from database structure.
- Xsd() - Constructor for class net.sf.lightair.internal.Xsd
- XSD_DIRECTORY - Static variable in interface net.sf.lightair.internal.Keywords
All Classes and Interfaces|All Packages|Constant Field Values
LightAirApiinstead.