public abstract class ParametricTestSuite extends MultiTestSuite
| Constructor and Description |
|---|
ParametricTestSuite()
Creates a new instance of ParametricTestSuite
|
ParametricTestSuite(String name)
Constructs a ParametricTestSuite with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract ParametricTestCase[] |
cases(Object parameter)
Returns an array of testcases for the given parameter.
|
protected abstract Object[] |
getParameters()
Returns an array of parameters for this suite.
|
protected MultiTestCase |
nextTestCase()
Factory method returns a new instance of a testcases.
|
protected void |
runAllTests(junit.framework.TestResult result)
Creates all testcases and runs them.
|
cleanup, prepare, runaddTest, addTestSuite, canRun, getExpectedFail, linearSpeedSuite, setFilter, speedSuitecountTestCases, createTest, getName, getTestConstructor, runTest, setName, testAt, testCount, tests, toString, warningpublic ParametricTestSuite()
public ParametricTestSuite(String name)
protected abstract ParametricTestCase[] cases(Object parameter)
protected abstract Object[] getParameters()
protected final MultiTestCase nextTestCase()
nextTestCase in class MultiTestSuiteprotected void runAllTests(junit.framework.TestResult result)
runAllTests in class MultiTestSuiteBuilt on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.