|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ccl.util.Test | +--ccl.util.test.TestTest
Tests the ccl.util.Test class which is the center of the testing API.
Nested Class Summary | |
static class |
TestTest.FailingTest
Comment to fool checkstyle. |
static class |
TestTest.SuccessfullTest
Comment to fool checkstyle. |
Constructor Summary | |
TestTest()
Default constructor needed by Test API. |
|
TestTest(Test pTest_)
Standard constructor needed by Test API. |
Method Summary | |
protected void |
_doIt()
Main method to invoke all test methods. |
static void |
main(java.lang.String[] asArg_)
Use this main class if you want to run the self test of this class alone, otherwise use ccl.Main -check. |
void |
testGetTestName()
Checks that a test name is the name of the test class without the trailing "Test" part (so the test name is the leading part of the test class name). |
Methods inherited from class ccl.util.Test |
_enterSubTest, _exitSubTest, _getValue, _increment, _setTests, _showLiveSignals, assert, Assert, assert, Assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertTrue, assertTrue, assertTrue, bug, bugIf, bugIf, bugIf, fail, fail, getBugs, getComment, getGlobalTests, getLocalTests, getName, getTestClassDirectory, getTestDirectory, getTestName, getTestName, getValue, initialize, isTest, isTiming, isVerbose, printResult, printResult, redirectStandardStreams, run, setBug, setParentTest, setTests, setTiming, setValue, setVerbose, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestTest()
public TestTest(Test pTest_)
Method Detail |
public void testGetTestName() throws java.lang.Exception
java.lang.Exception
- any exception gets forwarded so it can be counted as a bug.protected void _doIt() throws java.lang.Exception
_doIt
in class Test
java.lang.Exception
- if anything goes wrong the test fails as well.public static void main(java.lang.String[] asArg_)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |