|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FunctionalTestUnit
A FunctionalTestUnit
will represents a test unit that will be
used to compose a test scenario. FunctioTestUnit interacts with the
FunctionalTestControls to mantain its state and properties file.
Method Summary | |
---|---|
void |
destroy()
This method is used to delete enviroment files that the FunctionalTestUnit uses. |
java.lang.String |
getDefaultPropertiesFile()
Returns the default properties file that will be used by this FunctionalTestUnit . |
java.lang.String |
getHostname()
Get's the hostname of this functional unit. |
java.lang.String |
getName()
Returns the name of this FunctionalTestUnit . |
int |
getPort()
Get's the port of this functional unit. |
boolean |
isRunning()
Verify if this FunctionalTestUnit is running. |
void |
kill()
Kills this unit by calling System.exit() |
void |
start()
Start this FunctionalTestUnit . |
boolean |
stillIdle()
This method verifies if the functional test unit was not waken up since the last waitUntilWorkIsDone() call. |
void |
stop()
Stop this FunctionalTestUnit . |
void |
waitUntilWorkIsDone()
This method will block until this FunctionalTestUnit has
stopped all work. |
Method Detail |
---|
void start() throws java.lang.Exception
FunctionalTestUnit
.
java.lang.Exception
void stop() throws java.lang.Exception
FunctionalTestUnit
.
java.lang.Exception
void destroy()
FunctionalTestUnit
uses.
boolean isRunning()
FunctionalTestUnit
is running.
FunctionalTestUnit
is
running.java.lang.String getName()
FunctionalTestUnit
.
FunctionalTestUnit
.java.lang.String getHostname()
int getPort()
java.lang.String getDefaultPropertiesFile()
FunctionalTestUnit
.
void waitUntilWorkIsDone() throws java.lang.Exception
FunctionalTestUnit
has
stopped all work.
java.lang.Exception
boolean stillIdle() throws java.lang.Exception
waitUntilWorkIsDone()
call.
java.lang.Exception
void kill() throws java.lang.Exception
System.exit()
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |