|
||||||||||
| 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.NonExistentState
public class NonExistentState
The state of a test service when it has not yet been created.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.server.integ.state.AbstractState |
|---|
context |
| Constructor Summary | |
|---|---|
NonExistentState(TestServerContext context)
Creates a new instance of NonExistentState. |
|
| Method Summary | |
|---|---|
void |
cleanup()
Action where an attempt is made to erase the contents of the working directory used by the service for various files including partition database files. |
void |
create(InheritableServerSettings settings)
Action where an attempt is made to create the service. |
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)
This method is a bit different. |
| Methods inherited from class org.apache.directory.server.integ.state.AbstractState |
|---|
destroy, injectLdifs, revert, shutdown, testAborted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NonExistentState(TestServerContext context)
context - the test context| Method Detail |
|---|
public void create(InheritableServerSettings settings)
throws javax.naming.NamingException
create in interface TestServerStatecreate in class AbstractStatesettings - The inherited settings
javax.naming.NamingException - if we can't create the service
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 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 methodTestServerState#test(TestClass, TestMethod, RunNotifier, InheritableServerSettings)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||