Skip navigation links
A B C D E F G H I J K L M N O P R S T U V X 

A

AbstractTestRule<T extends Annotation> - Class in net.sf.lightair.internal.junit
Abstract base class for test rules.
AbstractTestRule(FrameworkMethod, Class<T>, Class<A>) - 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
Called after wrapped statement.
after() - Method in class net.sf.lightair.internal.junit.AwaitListTestRule
If the method is annotated with @Await, set up the database.
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
Light Air's programmatic API.
Api() - Constructor for class net.sf.lightair.Api
 
apply(Statement, Description) - Method in class net.sf.lightair.internal.junit.AbstractTestRule
JUnit test rule contract.
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 @auto token.
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 - Annotation Type in net.sf.lightair.annotation
Verifies database after an asynchronous test.
await(Map<String, List<String>>) - Static method in class net.sf.lightair.Api
Verify database after an asynchronous test.
Await.List - Annotation Type in net.sf.lightair.annotation
Defines several @Await annotations on the same element.
awaitEmpty(long, Callable<String>) - 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 target database state.
Awaiting() - Constructor for class net.sf.lightair.internal.Awaiting
 
AwaitListTestRule - Class in net.sf.lightair.internal.junit
JUnit test rule to verify database with multiple @Await annotations after test method execution with asynchronous functionality.
AwaitListTestRule(FrameworkMethod) - Constructor for class net.sf.lightair.internal.junit.AwaitListTestRule
Constructor.
AwaitTestRule - Class in net.sf.lightair.internal.junit
JUnit test rule to verify database after test method execution with asynchronous functionality.
AwaitTestRule(FrameworkMethod) - Constructor for class net.sf.lightair.internal.junit.AwaitTestRule
Constructor.

B

before() - Method in class net.sf.lightair.internal.junit.AbstractTestRule
Called before wrapped statement.
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<String, Connection>) - 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 - Class in net.sf.lightair.internal
Compare expected and actual datasets and produce structured differences.
Compare() - Constructor for class net.sf.lightair.internal.Compare
 
compare(Map<String, String>, Map<String, List<Map<String, Object>>>, Map<String, Map<String, List<Map<String, Object>>>>) - Static method in 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 - Class in net.sf.lightair.internal
Convert String values in datasets parsed from XML into proper data types based on database structure.
Convert() - Constructor for class net.sf.lightair.internal.Convert
 
convert(Map<String, Map<String, Map<String, Map<String, Object>>>>, Map<String, String>, Map<String, List<Map<String, Object>>>) - Static method in class net.sf.lightair.internal.Convert
 
create(Map<String, String>, Map<String, Map<String, Map<String, Object>>>, List<Map<String, Object>>) - Static method in class net.sf.lightair.internal.db.Delete
 
create(Map<String, String>, Map<String, Map<String, Map<String, Object>>>, List<Map<String, Object>>) - Static method in class net.sf.lightair.internal.db.Insert
 
create(Map<String, String>, Map<String, Map<String, Map<String, Object>>>, List<Map<String, Object>>) - 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 delete SQL 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.Api
Initialize Light Air if it is not initialized already.
ensureShutdown() - Static method in class net.sf.lightair.Api
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 select SQL statements, producing a dataset.
ExecuteQuery() - Constructor for class net.sf.lightair.internal.db.ExecuteQuery
 
ExecuteUpdate - Class in net.sf.lightair.internal.db
Execute delete and insert SQL 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(Map<String, String>, String, String, String, int, String, Integer, Integer) - Static method in class net.sf.lightair.internal.auto.Auto
 
generate(String, int) - Static method in class net.sf.lightair.internal.auto.Hash
 
generate(Map<String, Map<String, String>>, Map<String, Map<String, Map<String, Map<String, Object>>>>) - Static method in class net.sf.lightair.internal.Xsd
 
generateXsd() - Static method in class net.sf.lightair.Api
Generate XSD files from the database structure.
getAllTestRules(FrameworkMethod) - 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(FrameworkMethod) - Method in class net.sf.lightair.internal.junit.util.Factory
 
getAwaitTestRule(FrameworkMethod) - 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<String, String>) - Static method in class net.sf.lightair.internal.Properties
 
getPropertiesFileName() - Static method in class net.sf.lightair.Api
Get the file name of the main properties file.
getSetupExecutor() - Method in class net.sf.lightair.internal.junit.util.Factory
 
getSetupListTestRule(FrameworkMethod) - Method in class net.sf.lightair.internal.junit.util.Factory
 
getSetupTestRule(FrameworkMethod) - 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(FrameworkMethod) - Method in class net.sf.lightair.internal.junit.util.Factory
 
getVerifyTestRule(FrameworkMethod) - 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.Api
Initialize Light Air.
Insert - Class in net.sf.lightair.internal.db
Create insert SQL statements from a dataset.
Insert() - Constructor for class net.sf.lightair.internal.db.Insert
 
INTEGER - Static variable in interface net.sf.lightair.internal.Keywords
 

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 runner.
LightAir(Class<?>) - Constructor for class net.sf.lightair.LightAir
 
LightAirNGListener - Class in net.sf.lightair
Light air TestNG listener.
LightAirNGListener() - Constructor for class net.sf.lightair.LightAirNGListener
 
LightAirSpringRunner - Class in net.sf.lightair
Light air Spring JUnit runner.
LightAirSpringRunner(Class<?>) - Constructor for class net.sf.lightair.LightAirSpringRunner
 
load(String) - Static method in class net.sf.lightair.internal.Properties
 
loadAll(Map<String, Map<String, String>>, Map<String, Connection>) - Static method in class net.sf.lightair.internal.db.Structure
 
LONG - Static variable in interface net.sf.lightair.internal.Keywords
 

M

methodInvoker(FrameworkMethod, Object) - Method in class net.sf.lightair.LightAir
Overriding methodInvoker in order to place LightAir's test rules as the leading ones.
methodInvoker(FrameworkMethod, Object) - Method in class net.sf.lightair.LightAirSpringRunner
Overriding methodInvoker in order to place LightAir's test rules as the leading ones.
MISSING - Static variable in interface net.sf.lightair.internal.Keywords
 

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<String, Map<String, String>>) - Static method in class net.sf.lightair.internal.Connections
 

P

PARAMETERS - Static variable in interface net.sf.lightair.internal.Keywords
 
PROFILE_PREFIX - Static variable in class net.sf.lightair.internal.Properties
 
Properties - Class in net.sf.lightair.internal
Load light-air.properties files.
Properties() - Constructor for class net.sf.lightair.internal.Properties
 
PROPERTIES_PROPERTY_NAME - Static variable in class net.sf.lightair.Api
 

R

read(Map<String, List<String>>) - Static method in class net.sf.lightair.internal.Xml
 
readAndUpdate(Map<String, Map<String, String>>, Map<String, Map<String, Map<String, Map<String, Object>>>>) - Static method in class net.sf.lightair.internal.auto.Index
 
reInitialize() - Static method in class net.sf.lightair.Api
Re-initialize already initialized Light Air.
Report - Class in net.sf.lightair.internal
Generate textual report from structured differences between datasets.
Report() - Constructor for class net.sf.lightair.internal.Report
 
report(Map<String, Map<String, Map<String, List<?>>>>) - Static method in class net.sf.lightair.internal.Report
 
resolve(String, Method, String, String...) - Method in class net.sf.lightair.internal.junit.util.DataSetResolver
 
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.
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<Map<String, Object>>) - Static method in class net.sf.lightair.internal.db.ExecuteQuery
 
run(Connection, List<Map<String, Object>>) - Static method in class net.sf.lightair.internal.db.ExecuteUpdate
 

S

Select - Class in net.sf.lightair.internal.db
Create select SQL 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.
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
setSetupExecutor(SetupExecutor) - Method in class net.sf.lightair.internal.junit.SetupListTestRule
Set setup executor.
setSetupExecutor(SetupExecutor) - Method in class net.sf.lightair.internal.junit.SetupTestRule
Set setup executor.
Setup - Annotation Type in net.sf.lightair.annotation
Sets up database before test.
setup(Map<String, List<String>>) - Static method in class net.sf.lightair.Api
Setup database.
Setup.List - Annotation Type in net.sf.lightair.annotation
Defines several @Setup annotations 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
JUnit test rule to setup database with multiple @Setup annotations before test method execution.
SetupListTestRule(FrameworkMethod) - Constructor for class net.sf.lightair.internal.junit.SetupListTestRule
Constructor.
SetupTestRule - Class in net.sf.lightair.internal.junit
JUnit test rule to setup database before test method execution.
SetupTestRule(FrameworkMethod) - Constructor for class net.sf.lightair.internal.junit.SetupTestRule
Constructor.
setVerifyExecutor(VerifyExecutor) - Method in class net.sf.lightair.internal.junit.VerifyListTestRule
Set verify executor.
setVerifyExecutor(VerifyExecutor) - Method in class net.sf.lightair.internal.junit.VerifyTestRule
Set verify executor.
SHORT - Static variable in interface net.sf.lightair.internal.Keywords
 
shutdown() - Static method in class net.sf.lightair.Api
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 - Static variable in interface net.sf.lightair.internal.Keywords
 
VARIABLE_PREFIX - Static variable in interface net.sf.lightair.internal.Keywords
 
Verify - Annotation Type in net.sf.lightair.annotation
Verifies database after test.
verify(Map<String, List<String>>) - Static method in class net.sf.lightair.Api
Verify database.
Verify.List - Annotation Type in net.sf.lightair.annotation
Defines several @Verify annotations 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
JUnit test rule to verify database with multiple @Verify annotations after test method execution.
VerifyListTestRule(FrameworkMethod) - Constructor for class net.sf.lightair.internal.junit.VerifyListTestRule
Constructor.
VerifyTestRule - Class in net.sf.lightair.internal.junit
JUnit test rule to verify database after test method execution.
VerifyTestRule(FrameworkMethod) - 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
 
A B C D E F G H I J K L M N O P R S T U V X 
Skip navigation links

Copyright © 2011–2020 Lastware, sro.. All rights reserved.