|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bitmechanic.maxq.Test
public class Test
This encapsulates a test opened in the GUI. It holds a script generator and gets sent messages from the proxy server and the GUI and passes them to it when recording is in progress.
Constructor Summary | |
---|---|
Test(ProxyServer proxy,
IScriptAdapter adapter,
java.io.File file)
Load an existing test from a file. |
|
Test(ProxyServer proxy,
IScriptAdapter adapter,
java.lang.String generatorClass)
Create a new test using the supplied generator. |
Method Summary | |
---|---|
void |
close()
Called when this instance is no longer required. |
java.lang.String |
getCurrentPath()
|
java.io.File |
getTestFile()
|
java.lang.String |
getTestName()
|
java.lang.String[] |
getvalidTestFileExtensions()
Returns a list of the valid file extensions for the test based on the code generator used. |
boolean |
isRecording()
|
void |
save()
|
void |
setTestFile(java.io.File file)
|
void |
startRecording()
|
void |
stopRecording()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Test(ProxyServer proxy, IScriptAdapter adapter, java.lang.String generatorClass)
public Test(ProxyServer proxy, IScriptAdapter adapter, java.io.File file) throws java.io.IOException, Utils.UserException
java.io.IOException
Utils.UserException
Method Detail |
---|
public java.lang.String getTestName()
public java.io.File getTestFile()
public void setTestFile(java.io.File file)
public java.lang.String getCurrentPath()
public java.lang.String[] getvalidTestFileExtensions()
IScriptGenerator.getValidFileExtensions()
public boolean isRecording()
public void stopRecording()
public void startRecording()
public void save() throws java.io.IOException
java.io.IOException
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |