ccl.test
Class MainTest
java.lang.Object
|
+--ccl.util.Test
|
+--ccl.test.MainTest
- All Implemented Interfaces:
- java.lang.Runnable
- public class MainTest
- 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.
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_)
You can start this test class directly with this
method. |
void |
setInit(Init init_)
The InitTest uses the ccl init object itself which is
set by this method from the ccl main class. |
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 |
MainTest
public MainTest()
MainTest
public MainTest(Test pTest_)
_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
- Whatever can go wrong.
setInit
public void setInit(Init init_)
- The InitTest uses the ccl init object itself which is
set by this method from the ccl main class.
main
public static void main(java.lang.String[] asArg_)
- You can start this test class directly with this
method.