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