|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.TestSuite org.archive.crawler.selftest.AltTestSuite
public class AltTestSuite
Variant TestSuite that can build tests including methods with an alternate prefix (other than 'test'). Copies code from TestSuite because necessary methods to change are private rather than protected.
Field Summary | |
---|---|
(package private) java.lang.String |
altPrefix
a method prefix other than 'test' that is also recognized as tests |
Constructor Summary | |
---|---|
AltTestSuite()
|
|
AltTestSuite(java.lang.Class theClass,
java.lang.String prefix)
Constructs a TestSuite from the given class. |
Method Summary | |
---|---|
void |
testNoop()
|
Methods inherited from class junit.framework.TestSuite |
---|
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
java.lang.String altPrefix
Constructor Detail |
---|
public AltTestSuite(java.lang.Class theClass, java.lang.String prefix)
theClass
- Class from which to build suiteprefix
- alternate method prefix to also find test methodspublic AltTestSuite()
Method Detail |
---|
public void testNoop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |