|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner
public class TestscenarioRunner
| Field Summary | |
|---|---|
static int |
ALIVE
|
static int |
ENDED
|
static int |
ENDED_ERRORS
|
static int |
ENDED_SUCC
|
static int |
ERRORS
|
static int |
PAUSED
|
| Constructor Summary | |
|---|---|
TestscenarioRunner(java.lang.String xmlreader,
java.lang.String thisNodeName,
java.lang.String rootpath)
Creates a new instance of TestscenarioRunner remotely using the rootpath. |
|
TestscenarioRunner(XMLReader config,
java.lang.String thisNodeName)
Creates a new instance of TestscenarioRunner. |
|
| Method Summary | |
|---|---|
boolean |
complete()
Indicates if the usecase is completed it calls the testusecase complete |
void |
createDefaultDirectory()
Creates a directory using the information in the XML. |
void |
createDPLs()
|
double |
currentFailedTransaction()
Indicates the number of the current failed transaction |
double |
currentSuccessTransaction()
Indicates the number of the current succesfully transaction |
int |
getCurrentStatus()
0 - Test operating normally. |
java.util.Hashtable |
getSnapshot()
|
java.lang.String |
getSnapshotPAAS()
|
java.lang.String |
getStatus()
|
TestusecaseRunner |
getTestusecaseRunner()
get the real runner of the test |
void |
loadJar()
|
void |
loadJarRemotely()
To load the jars file remotely |
boolean |
pause()
|
boolean |
resume()
|
void |
runUsecase(int usecaseNumber)
|
void |
setRootDir(java.lang.String sRootDir)
Sets the root directory |
void |
startRecording()
|
boolean |
stop()
|
void |
stopTestusecase()
stopTestusecase: Stop the test use case stored on currentTestusecase by calling it’s stop function. |
boolean |
warnUpComplete()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int ALIVE
public static int ERRORS
public static int PAUSED
public static int ENDED
public static int ENDED_SUCC
public static int ENDED_ERRORS
| Constructor Detail |
|---|
public TestscenarioRunner(java.lang.String xmlreader,
java.lang.String thisNodeName,
java.lang.String rootpath)
XMLReader - that represents the testscenario
Not tested
public TestscenarioRunner(XMLReader config,
java.lang.String thisNodeName)
XMLReader - that represents the testscenario
Not tested| Method Detail |
|---|
public int getCurrentStatus()
public boolean pause()
public boolean resume()
public boolean stop()
public java.lang.String getSnapshotPAAS()
public TestusecaseRunner getTestusecaseRunner()
public void setRootDir(java.lang.String sRootDir)
public void loadJar()
public void loadJarRemotely()
public void createDPLs()
public void createDefaultDirectory()
public void runUsecase(int usecaseNumber)
public boolean warnUpComplete()
public java.lang.String getStatus()
public void startRecording()
public java.util.Hashtable getSnapshot()
public boolean complete()
public double currentSuccessTransaction()
public double currentFailedTransaction()
public void stopTestusecase()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||