Class VerifyListTestRule
java.lang.Object
net.sf.lightair.internal.junit.AbstractTestRule<Verify.List>
net.sf.lightair.internal.junit.VerifyListTestRule
Test rule helper to verify the database with multiple
@Verify
annotations after test method execution.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()If the method is annotated with @Verify, verify the database.voidsetVerifyExecutor(VerifyExecutor verifyExecutor) Set the verify executor.Methods inherited from class AbstractTestRule
before, getAnnotation, getTestMethod
-
Constructor Details
-
VerifyListTestRule
Constructor.- Parameters:
testMethod- Method on which the test rule is being applied
-
-
Method Details
-
after
public void after()If the method is annotated with @Verify, verify the database.- Overrides:
afterin classAbstractTestRule<Verify.List>
-
setVerifyExecutor
Set the verify executor.- Parameters:
verifyExecutor- executor
-