javancss.test
Class XmlFormatterTest

java.lang.Object
  extended by ccl.util.Test
      extended by javancss.test.XmlFormatterTest
All Implemented Interfaces:
java.lang.Runnable

public class XmlFormatterTest
extends ccl.util.Test

This test class checks that the xml output feature is working properly.

Version:
$Id: XmlFormatterTest.java,v 1.4 2006/06/12 21:37:41 clemens Exp clemens $
Author:
Chr. Clemens Lee

Field Summary
private  java.lang.String _sTestDir
           
 
Constructor Summary
XmlFormatterTest()
           
XmlFormatterTest(ccl.util.Test pTest_)
           
 
Method Summary
private  void _checkParsing()
          Is it at least possible to properly parse generated xml code?
private  void _checkXML2Text()
          Is the transformed XML output identical to the standard ASCI output?
protected  void _doIt()
          Test code goes here.
static void main(java.lang.String[] asArg_)
           
 void setTestDir(java.lang.String sTestDir_)
           
 
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
 

Field Detail

_sTestDir

private java.lang.String _sTestDir
Constructor Detail

XmlFormatterTest

public XmlFormatterTest()

XmlFormatterTest

public XmlFormatterTest(ccl.util.Test pTest_)
Method Detail

_checkParsing

private void _checkParsing()
                    throws java.lang.Exception
Is it at least possible to properly parse generated xml code?

Throws:
java.lang.Exception

_checkXML2Text

private void _checkXML2Text()
                     throws java.lang.Exception
Is the transformed XML output identical to the standard ASCI output?

Throws:
java.lang.Exception

_doIt

protected void _doIt()
              throws java.lang.Exception
Test code goes here.

Specified by:
_doIt in class ccl.util.Test
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] asArg_)

setTestDir

public void setTestDir(java.lang.String sTestDir_)