ccl.xml.test
Class XMLUtilTest

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

public class XMLUtilTest
extends Test

This class tests some of the features the ccl.xml.XMLUtil class offers.


Constructor Summary
XMLUtilTest()
          Default empty constructor.
XMLUtilTest(Test pTest_)
          Default standard constructor.
 
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_)
          This is the static main method which can be used if this test class should be executed stand alone.
 void testGetXMLException()
          Tests that method 'getXML' does through an exception containing the file name, when an exception inside of it happens.
 void testValueOf()
          Tests method 'valueOf'.
 
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

XMLUtilTest

public XMLUtilTest()
Default empty constructor.


XMLUtilTest

public XMLUtilTest(Test pTest_)
Default standard constructor.

Method Detail

testValueOf

public void testValueOf()
                 throws java.lang.Exception
Tests method 'valueOf'.

java.lang.Exception

testGetXMLException

public void testGetXMLException()
                         throws java.lang.Exception
Tests that method 'getXML' does through an exception containing the file name, when an exception inside of it happens.

java.lang.Exception

_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.

Specified by:
_doIt in class Test
Throws:
java.lang.Exception - if anything goes wrong the test fails as well.

main

public static void main(java.lang.String[] asArg_)
This is the static main method which can be used if this test class should be executed stand alone.