|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.flexiblewebsolutions.xdriveunit.loadtest.ThreadedTestRunner
public abstract class ThreadedTestRunner
Create threads to run concurrent tests.
Field Summary | |
---|---|
protected java.util.Vector |
_AllThreads
A list of threads to be run |
protected DelayTimer |
_DelayTimer
Timer that determines thread start offset |
protected boolean |
_RunTest
Flag that determines if test will actually be run or not |
Constructor Summary | |
---|---|
ThreadedTestRunner()
|
Method Summary | |
---|---|
java.lang.String |
getTestMode()
Retrieves name for this test run |
protected abstract java.io.File |
getTmpDirectory()
Returns a file path used for temporary files. |
void |
runLoadTest(java.util.Vector pXML,
LoadWebXDriveTestCase pTestCase,
java.lang.String pConfigTemplate,
ThreadCallback pTracer)
Iterate through vector of StringBuffer input files and create a thread to process each one. |
void |
setTestMode(java.lang.String pTestMode)
Sets name for this test run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector _AllThreads
protected boolean _RunTest
protected DelayTimer _DelayTimer
Constructor Detail |
---|
public ThreadedTestRunner()
Method Detail |
---|
protected abstract java.io.File getTmpDirectory()
public void runLoadTest(java.util.Vector pXML, LoadWebXDriveTestCase pTestCase, java.lang.String pConfigTemplate, ThreadCallback pTracer)
pXML
- -
List of StringBuffers which contain XML needed for testpClassName
- -
Class of test classpConfigTemplate
- -
Config file to be passed to test containing test methods, etc.public java.lang.String getTestMode()
public void setTestMode(java.lang.String pTestMode)
pTestMode
- name of test run to be added to output files
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |