public class AnnotationsHandlerTestLifeCycleAdapter extends Object implements TestLifeCycleAdapter
| Constructor and Description |
|---|
AnnotationsHandlerTestLifeCycleAdapter(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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterAll, beforeAllpublic AnnotationsHandlerTestLifeCycleAdapter(EmbeddedServer<?> server, AbstractConfiguration configuration)
server - The embedded server used in the tested class instance.configuration - The embedded server configuration.public void beforeEach(Object target)
TestLifeCycleAdapterbeforeEach in interface TestLifeCycleAdaptertarget - The test class instance.public void afterEach(Object target)
TestLifeCycleAdapterafterEach in interface TestLifeCycleAdaptertarget - The test class instance.public void beforeAll()
TestLifeCycleAdapterbeforeAll in interface TestLifeCycleAdapterpublic void afterAll()
TestLifeCycleAdapterafterAll in interface TestLifeCycleAdapterCopyright © 2018. All rights reserved.