Annotation Interface Await
Verifies the database after an asynchronous test.
Verifies the database repeatedly until either the result is successful or timeout has expired.
Annotate a test method with @Await to verify database after the asynchronous test method executed. Annotate the whole test class to have all its test methods verify the database asynchronously. For example:
@Test @Await
public void myTestMethod {
}
The datasets to be verified are located in exactly the same manner as when using the @Verify annotation
and must conform to exactly the same format.
Use @Await.List to define multiple @Await annotations
on the same element.
See http://lightair.sourceforge.net/features/await.html for more info.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines several @Awaitannotations on the same element. -
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
profile
String profileName of the profile.A profile lets you connect to a different database. A profile must be defined in the LightAir properties file and must have its own properties file which defines the connection to the profile database.
- Returns:
- profile
- Default:
""
-