public abstract class MultiTestSuite extends NbTestSuite
Constructor and Description |
---|
MultiTestSuite()
Creates a new instance of MultiTestSuite
|
MultiTestSuite(String name)
Constructs a MultiTestSuite with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
The method is called after executing tests.
|
protected abstract MultiTestCase |
nextTestCase()
Factory method returns a new instance of a testcases.
|
void |
prepare()
The method is called before executing tests.
|
void |
run(junit.framework.TestResult result)
Runs the tests and collects their result in a TestResult.
|
protected void |
runAllTests(junit.framework.TestResult result)
Creates all testcases and runs them.
|
addTest, addTestSuite, canRun, getExpectedFail, linearSpeedSuite, setFilter, speedSuite
countTestCases, createTest, getName, getTestConstructor, runTest, setName, testAt, testCount, tests, toString, warning
public MultiTestSuite()
public MultiTestSuite(String name)
name
- name of the test suiteprotected abstract MultiTestCase nextTestCase()
public void run(junit.framework.TestResult result)
run
in interface junit.framework.Test
run
in class junit.framework.TestSuite
result
- collector for resultprotected void runAllTests(junit.framework.TestResult result)
result
- collector for resultpublic void prepare()
public void cleanup()