com.counterclaim.openefm.lxml.validator
Class SimpleLxmlValidatorTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.counterclaim.openefm.lxml.validator.SimpleLxmlValidatorTestCase
All Implemented Interfaces:
junit.framework.Test

public class SimpleLxmlValidatorTestCase
extends junit.framework.TestCase

 

Field Summary
private static java.lang.String badLxml
           
private static java.lang.String goodLxml
           
private static org.apache.log4j.Logger log
           
private static LxmlValidator validator
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SimpleLxmlValidatorTestCase(java.lang.String theName)
          Defines the testcase name for JUnit.
 
Method Summary
static void main(java.lang.String[] theArgs)
          Start the tests.
 void setUp()
          Set up the test fixture.
static junit.framework.Test suite()
           
 void tearDown()
          Tear down the test fixture.
 void testValidateFiling()
          Tests validateFiling(LxmlFiling filing)
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Logger log

validator

private static LxmlValidator validator

goodLxml

private static java.lang.String goodLxml

badLxml

private static java.lang.String badLxml
Constructor Detail

SimpleLxmlValidatorTestCase

public SimpleLxmlValidatorTestCase(java.lang.String theName)
Defines the testcase name for JUnit.

Parameters:
theName - the testcase's name.
Method Detail

main

public static void main(java.lang.String[] theArgs)
Start the tests.

Parameters:
theArgs - the arguments. Not used

suite

public static junit.framework.Test suite()
Returns:
a test suite (TestSuite) that includes all methods starting with "test"

setUp

public void setUp()
           throws java.lang.Exception
Set up the test fixture.

Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Tear down the test fixture.

Throws:
java.lang.Exception

testValidateFiling

public void testValidateFiling()
                        throws ModelException
Tests validateFiling(LxmlFiling filing)

Throws:
ModelException


Copyright © 2002 counterclaim.com. All Rights Reserved.