ccl.util.test
Class UtilTest

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

public class UtilTest
extends Test

Test cases for ccl.util.Util class.


Constructor Summary
UtilTest()
          This is the default constructor.
UtilTest(Test pTest_)
          This constructor is needed for this test to be a sub test.
 
Method Summary
protected  void _doIt()
          Inherit this method to do your test inside of it.
static void main(java.lang.String[] args)
          The main method of this class in case you want to execute the tests of it stand alone without the other test classes.
 void setInit(Init init_)
          The InitTest uses the ccl init object itself.
 void testGetDiffPosition()
          Checks Util.getDiffPosition(..).
 void testGetNextDay()
          Tests 'getNextDay' method.
 
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

UtilTest

public UtilTest()
This is the default constructor.


UtilTest

public UtilTest(Test pTest_)
This constructor is needed for this test to be a sub test.

Method Detail

_doIt

protected void _doIt()
              throws java.lang.Exception
Description copied from class: Test
Inherit this method to do your test inside of it.

Specified by:
_doIt in class Test
Throws:
java.lang.Exception - Whatever can go wrong.

testGetDiffPosition

public void testGetDiffPosition()
Checks Util.getDiffPosition(..).


testGetNextDay

public void testGetNextDay()
Tests 'getNextDay' method.


setInit

public void setInit(Init init_)
The InitTest uses the ccl init object itself. The init object is forwarded from outer test to the next test.


main

public static void main(java.lang.String[] args)
The main method of this class in case you want to execute the tests of it stand alone without the other test classes.

Parameters:
args - string array with command line arguments are totally unused.