public class AnnotationsHandlerRunner extends Object implements TestRunner
| Constructor and Description |
|---|
AnnotationsHandlerRunner(EmbeddedServer<?> server,
AbstractConfiguration configuration)
Create test lifecycle engine that will setup following Junit-Servers annotations declared in test class:
TestServer
TestServerConfiguration
TestHttpClient
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterAll()
Method called after all tests have been run.
|
void |
afterEach(Object target)
Method called after running unit test.
|
void |
beforeAll()
Method called before instantiating the test class and any test instance.
|
void |
beforeEach(Object target)
Method called before running unit test.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitafterAll, beforeAllpublic AnnotationsHandlerRunner(EmbeddedServer<?> server, AbstractConfiguration configuration)
server - The embedded server used in the tested class instance.configuration - The embedded server configuration.public void beforeEach(Object target)
TestRunnerbeforeEach in interface TestRunnertarget - The test class instance.public void afterEach(Object target)
TestRunnerafterEach in interface TestRunnertarget - The test class instance.public void beforeAll()
TestRunnerbeforeAll in interface TestRunnerpublic void afterAll()
TestRunnerafterAll in interface TestRunnerCopyright © 2019. All rights reserved.