|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ccl.util.Test | +--ccl.util.test.TestTest
Insert your test code into the _doIt() method and test bugs with 'bugIf( boolean expression );' or 'bugIf( boolean expression, "comment about what went wrong" );'. Then just invoke the main routine.
Inner Class Summary | |
static class |
TestTest.FailingTest
Comment to fool checkstyle. |
static class |
TestTest.SuccessfullTest
Comment to fool checkstyle. |
Constructor Summary | |
TestTest()
|
|
TestTest(Test pTest_)
|
Method Summary | |
protected void |
_doIt()
Insert your test code into the _doIt() method and test bugs with 'bugIf( boolean expression );' or 'bugIf( boolean expression, "comment about what went wrong" );'. |
static void |
main(java.lang.String[] asArg_)
example code for a real test main method |
Methods inherited from class ccl.util.Test |
_enterSubTest, _exitSubTest, _getValue, _increment, _setTests, _showLiveSignals, assert, assert, assertNotNull, assertNotNull, bugIf, bugIf, bugIf, getBugs, getComment, getGlobalTests, getLocalTests, getTestClassDirectory, getTestDirectory, getValue, initialize, isTest, isTiming, isVerbose, printResult, redirectStandardStreams, run, setBug, 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 |
protected void _doIt() throws java.lang.Exception
_doIt
in class Test
java.lang.Exception
- if anthing goes wrong.public static void main(java.lang.String[] asArg_)
Test
Test pTest = (Test)(new SomeTest()); pTest.initialize( argv ); pTest.setVerbose( true ); pTest.run(); printResult( pTest ); System.exit( 0 );
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |