|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--webtester.packages.apps.runTests
This application acquires the configuration file, and servers as a thread manager for executing test cases.
Field Summary | |
private static globalConfig |
gConfig
Contains global configuration information. |
private static int |
iMinuteConversion
Used to convert minutes to seconds. |
private static int |
iSecConversion
This is the conversion factor for going back and forth from seconds. |
private static int |
iSleepTime
The amount of time to wait for a thread to finish. |
private static testCaseConfig |
tConfig
Contains test case specific information. |
Constructor Summary | |
runTests()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
The main method, the default entry point into the program. |
private static java.util.ArrayList |
randomOrder(java.util.ArrayList aVals)
Randomly order the test case descriptions. |
private static boolean |
timeElapsed(long lStartTime,
java.lang.String sEndTime)
Determine if the test case has executed beyond the allotted time. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static globalConfig gConfig
private static testCaseConfig tConfig
private static final int iSleepTime
private static final int iSecConversion
private static final int iMinuteConversion
Constructor Detail |
public runTests()
Method Detail |
public static void main(java.lang.String[] argv)
argv
- contains command-line argumentsprivate static java.util.ArrayList randomOrder(java.util.ArrayList aVals)
aVals
- a collection of test case descriptions
private static boolean timeElapsed(long lStartTime, java.lang.String sEndTime)
lStartTime
- the time execution was startedsEndTime
- how long the test cases should be executed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |