|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is the main object of the GUI for the test harness. All other gui objects are used by or contained in this object.
Method Summary | |
void |
firePropertiesChanged(java.util.Properties properties)
This indicates the proejct properties have changed, and they will be reloaded. |
javax.swing.JFrame |
getOwnerHandle()
Returns a handle to the JFrame object of the QAT for use in displaying or creating modal dialogs within the same Swing Thread context as QAT. |
TestSpecification |
getSelectedTest()
Returns the currectly selected test, or the first one of more than one is selected. |
void |
loadProject(java.lang.String fileName)
Loads the project named in fileName. |
void |
parseSelectedTests()
Reparses only the selected tests. |
void |
parseTest(TestTreeNode testNode,
ParserInterface parser)
Reparses all tests from this node. |
void |
parseTests()
Reloads all the tests starting from the TESTPATH root. |
boolean |
runFailedTests()
This method runs all tests with status FAILED, returning false if none were run for some reason (such as none exist etc). |
boolean |
runNotRunTests()
This method runs all tests with status NOTRUN, returning false if none were run for some reason (such as none exist etc). |
boolean |
runPassedTests()
This method runs all tests with status PASSED, returning false if none were run for some reason (such as none exist etc). |
void |
runSelectedTests()
Run currently selected tests. |
boolean |
runTestsWithStatus(int status)
This method runs all tests with matching status, returning false if none were run for some reason (such as none exist etc). |
boolean |
runUnresolvedTests()
This method runs all tests with status UNRESOLVED, returning false if none were run for some reason (such as none exist etc). |
void |
saveProject(java.lang.String fileName,
boolean quiet)
Save the current project to the specified fileName. |
void |
selectAll()
Selects all the tests in the tree. |
void |
stopTestRun()
Stops the current test run. |
void |
updateStatus(java.lang.String msg)
This form automatically calculates all the values required to display the entire test tree results. |
Method Detail |
public void loadProject(java.lang.String fileName) throws java.io.IOException
fileName
- - name of the project to load.
java.io.IOException
public void saveProject(java.lang.String fileName, boolean quiet)
quiet
- - if true, no status dialogs will be displayed to monitor save
progress.public void firePropertiesChanged(java.util.Properties properties)
public void updateStatus(java.lang.String msg)
public void parseTest(TestTreeNode testNode, ParserInterface parser)
public void parseTests()
public void parseSelectedTests()
public void stopTestRun()
public void selectAll()
public TestSpecification getSelectedTest()
public boolean runPassedTests()
public boolean runFailedTests()
public boolean runUnresolvedTests()
public boolean runNotRunTests()
public boolean runTestsWithStatus(int status)
public void runSelectedTests()
public javax.swing.JFrame getOwnerHandle()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |