public class SetupTestRule extends AbstractTestRule<Setup>
| Constructor and Description |
|---|
SetupTestRule(org.junit.runners.model.FrameworkMethod frameworkMethod)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
before()
If the method is annotated with @
Setup, set up the database. |
void |
setSetupExecutor(SetupExecutor setupExecutor)
Set setup executor.
|
after, apply, getAnnotation, getTestMethodpublic SetupTestRule(org.junit.runners.model.FrameworkMethod frameworkMethod)
frameworkMethod - JUnit framework method on which the test rule is being appliedprotected void before()
Setup, set up the database.before in class AbstractTestRule<Setup>public void setSetupExecutor(SetupExecutor setupExecutor)
setupExecutor - executorCopyright © 2011–2020 Lastware, sro.. All rights reserved.