|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.integ.state.AbstractState
org.apache.directory.server.integ.state.StartedPristineState
public class StartedPristineState
A test service state where the server is running and has not been used for any integration test since it was created.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.server.integ.state.AbstractState |
|---|
context |
| Constructor Summary | |
|---|---|
StartedPristineState(TestServerContext context)
Creates a new instance of StartedPristineState. |
|
| Method Summary | |
|---|---|
void |
cleanup()
Action where an attempt is made to erase the contents of the working directory used by the ldap server for various files including partition database files. |
void |
destroy()
Action where an attempt is made to destroy the service. |
void |
shutdown()
Action where an attempt is made to stop the server. |
void |
startup()
Action where an attempt is made to start up the service. |
void |
test(org.junit.runners.model.TestClass testClass,
org.junit.runners.model.Statement statement,
org.junit.runner.notification.RunNotifier notifier,
InheritableServerSettings settings)
Action where an attempt is made to run a test against the service. |
| Methods inherited from class org.apache.directory.server.integ.state.AbstractState |
|---|
create, injectLdifs, revert, testAborted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StartedPristineState(TestServerContext context)
context - the test's context| Method Detail |
|---|
public void cleanup()
throws java.io.IOException
cleanup in interface TestServerStatecleanup in class AbstractStatejava.io.IOException - on errors while deleting the working directory
public void startup()
throws java.lang.Exception
startup in interface TestServerStatestartup in class AbstractStatejava.lang.Exception - on failures to start the core directory service
public void shutdown()
throws java.lang.Exception
shutdown in interface TestServerStateshutdown in class AbstractStatejava.lang.Exception - on failures to stop the ldap serverpublic void destroy()
destroy in interface TestServerStatedestroy in class AbstractState
public void test(org.junit.runners.model.TestClass testClass,
org.junit.runners.model.Statement statement,
org.junit.runner.notification.RunNotifier notifier,
InheritableServerSettings settings)
test in interface TestServerStatetest in class AbstractStatetestClass - the class whose test method is to be runstatement - the test method which is to be runnotifier - a notifier to report failures tosettings - the inherited settings and annotations associated with
the test method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||