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