|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--junit.framework.TestSuite
|
+--org.netbeans.junit.NbTestSuite
NetBeans extension to JUnit's TestSuite class.
| Constructor Summary | |
NbTestSuite()
Constructs an empty TestSuite. |
|
NbTestSuite(java.lang.Class theClass)
Constructs a TestSuite from the given class. |
|
NbTestSuite(java.lang.String name)
Constructs an empty TestSuite. |
|
| Method Summary | |
void |
addTest(junit.framework.Test test)
Adds a test to the suite. |
void |
addTestSuite(java.lang.Class testClass)
adds a test suite to this test suite |
boolean |
canRun()
Checks if a test isn't filtered out by the active filter. |
void |
setFilter(Filter filter)
Sets active filter. |
| Methods inherited from class junit.framework.TestSuite |
countTestCases, getName, run, runTest, setName, testAt, testCount, tests, toString |
| 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, run |
| Constructor Detail |
public NbTestSuite()
public NbTestSuite(java.lang.Class theClass)
public NbTestSuite(java.lang.String name)
| Method Detail |
public void addTest(junit.framework.Test test)
addTest in class junit.framework.TestSuitepublic void addTestSuite(java.lang.Class testClass)
addTestSuite in class junit.framework.TestSuitepublic void setFilter(Filter filter)
setFilter in interface NbTestfilter - Filter to be set as active for current test, null will reset filtering.public boolean canRun()
canRun in interface NbTest
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||