public class VerifyTestRule extends AbstractTestRule<Verify>
Constructor and Description |
---|
VerifyTestRule(org.junit.runners.model.FrameworkMethod frameworkMethod)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
after()
If the method is annotated with @
Verify , verify the database. |
void |
setVerifyExecutor(VerifyExecutor verifyExecutor)
Set verify executor.
|
apply, before, getAnnotation, getTestMethod
public VerifyTestRule(org.junit.runners.model.FrameworkMethod frameworkMethod)
frameworkMethod
- JUnit framework method on which the test rule is being appliedprotected void after()
Verify
, verify the database.after
in class AbstractTestRule<Verify>
public void setVerifyExecutor(VerifyExecutor verifyExecutor)
verifyExecutor
- executorCopyright © 2011–2020 Lastware, sro.. All rights reserved.