|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.TestRunner
com.sun.javatest.DefaultTestRunner
public class DefaultTestRunner
Traditional implementation of the test execution engine which has been
used throughout the JT Harness 2.x harness. It supplies all the basic
for creating threads for each test, running the Script
,
and handling timeouts.
Constructor Summary | |
---|---|
DefaultTestRunner()
|
Method Summary | |
---|---|
boolean |
runTests(java.util.Iterator testIter)
Run the tests obtained from an iterator. |
Methods inherited from class com.sun.javatest.TestRunner |
---|
getBackupPolicy, getConcurrency, getEnvironment, getExcludedTestCases, getExcludeList, getTestSuite, getWorkDirectory, notifyFinishedTest, notifyStartingTest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTestRunner()
Method Detail |
---|
public boolean runTests(java.util.Iterator testIter) throws java.lang.InterruptedException
TestRunner
TestRunner.notifyStartingTest(com.sun.javatest.TestResult)
.
When the test completes (however it completes) the implementation of
this method must call TestRunner.notifyFinishedTest(com.sun.javatest.TestResult)
.
runTests
in class TestRunner
testIter
- the iterator to be used to obtain the tests to be run
java.lang.InterruptedException
- if the test run was interrupted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |