|
org.netbeans.modules.nbjunit/1 1.41 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.TestSuite
org.netbeans.junit.NbTestSuite
org.netbeans.junit.MultiTestSuite
org.netbeans.junit.ParametricTestSuite
public abstract class ParametricTestSuite
Extension to MultiTestSuite class. Performs automatic creation and running all testcases predefined with parameters.
Constructor Summary | |
---|---|
ParametricTestSuite()
Creates a new instance of ParametricTestSuite |
|
ParametricTestSuite(String name)
Constructs a ParametricTestSuite with the given name. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.netbeans.junit.MultiTestSuite |
---|
cleanup, prepare, run |
Methods inherited from class org.netbeans.junit.NbTestSuite |
---|
addTest, addTestSuite, canRun, getExpectedFail, linearSpeedSuite, setFilter, speedSuite |
Methods inherited from class junit.framework.TestSuite |
---|
countTestCases, createTest, getName, getTestConstructor, runTest, setName, testAt, testCount, tests, toString, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface junit.framework.Test |
---|
countTestCases |
Constructor Detail |
---|
public ParametricTestSuite()
public ParametricTestSuite(String name)
Method Detail |
---|
protected abstract ParametricTestCase[] cases(Object parameter)
protected abstract Object[] getParameters()
protected final MultiTestCase nextTestCase()
nextTestCase
in class MultiTestSuite
protected void runAllTests(junit.framework.TestResult result)
runAllTests
in class MultiTestSuite
|
org.netbeans.modules.nbjunit/1 1.41 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |