|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--webtester.packages.apps.runTestsGUI
This class provides a GUI frontend for users to execute existing configuration files.
Field Summary | |
private static globalConfig |
gConfig
Contains global configuration information. |
private static int |
iColumns
Number of columns for the text area. |
private static int |
iDividerLocation
The divider location for the split pane. |
private static int |
iMinuteConversion
Used to convert minutes to seconds. |
private static int |
iRows
Number of rows for the text area. |
private static int |
iSecConversion
This is the conversion factor for going back and forth from seconds. |
private static int |
iSleepTime
Default time to sleep when monitoring threads. |
private static int |
iTextLimit
The maximum number of characters displayed in the text area. |
private static java.lang.String |
sConfigFile
The configuration file being executed. |
private static java.io.File |
selectedFile
The last file selected. |
private static testCaseConfig |
tConfig
Contains test case specific information. |
private static javax.swing.JTextArea |
text
The text area used to display information to the user. |
Constructor Summary | |
runTestsGUI()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
The main method, the entry point into the program. |
private static java.util.ArrayList |
randomOrder(java.util.ArrayList aVals)
Randomly order the test case descriptions. |
private static void |
runTests(configHandler config)
Execute the test cases specified. |
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 java.io.File selectedFile
private static globalConfig gConfig
private static testCaseConfig tConfig
private static java.lang.String sConfigFile
private static final int iRows
private static final int iColumns
private static final int iSleepTime
private static javax.swing.JTextArea text
private static final int iDividerLocation
private static final int iSecConversion
private static final int iMinuteConversion
private static final int iTextLimit
Constructor Detail |
public runTestsGUI()
Method Detail |
private static void runTests(configHandler config)
config
- contains configuration objectspublic 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 |