ccl.util.test
Class TestTest

java.lang.Object
  |
  +--ccl.util.Test
        |
        +--ccl.util.test.TestTest
All Implemented Interfaces:
java.lang.Runnable

public class TestTest
extends Test

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

TestTest

public TestTest()

TestTest

public TestTest(Test pTest_)
Method Detail

_doIt

protected void _doIt()
              throws java.lang.Exception
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.
Overrides:
_doIt in class Test
Throws:
java.lang.Exception - if anthing goes wrong.

main

public static void main(java.lang.String[] asArg_)
Description copied from class: Test
example code for a real test main method

 Test pTest = (Test)(new SomeTest());
 pTest.initialize( argv );
 pTest.setVerbose( true );
 pTest.run();
 printResult( pTest );

 System.exit( 0 );