ccl.servlet.test
Class XMLImportHandlerTest

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

public class XMLImportHandlerTest
extends Test

This class conducts some basic tests of the ccl.servlet.XMLImportHandler class using a postgresql database, if it exists. In that case it creates a database with name ccltest. Be sure you don't have a database with the same name in use, as that would be dropped with all its data. If you have no postgresql in your system, the tests will be skipped.


Constructor Summary
XMLImportHandlerTest()
          Default constructor.
XMLImportHandlerTest(Test pTest_)
          Standard test class constructor.
 
Method Summary
protected  void _doIt()
          Executes all test code relevant to the xml import handler class.
static void main(java.lang.String[] asArg_)
           
 
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

XMLImportHandlerTest

public XMLImportHandlerTest()
Default constructor.


XMLImportHandlerTest

public XMLImportHandlerTest(Test pTest_)
Standard test class constructor.

Method Detail

_doIt

protected void _doIt()
              throws java.lang.Exception
Executes all test code relevant to the xml import handler class.

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