com.counterclaim.openefm.model.lxml
Class InternalLxmlFilingImplTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.counterclaim.openefm.BaseTestCase
              extended bycom.counterclaim.openefm.model.lxml.InternalLxmlFilingImplTestCase
All Implemented Interfaces:
junit.framework.Test

public class InternalLxmlFilingImplTestCase
extends BaseTestCase

This tests the implementations in InternalLxmlFilingImpl, a goodly sized class. The many query methods are tested in class BaseLxmlTestCase and its subclasses.

 

Field Summary
private  InternalLxmlFilingImpl filing
           
private static java.lang.String filingString
           
private  org.apache.log4j.Logger log
           
 
Fields inherited from class com.counterclaim.openefm.BaseTestCase
SAMPLE_LXML_PATH, SERVER_CONFIG_PATH
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
InternalLxmlFilingImplTestCase(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 testAccessors()
          Test a bunch of accessors in InternalLxmlFilingImpl.
 void testConstructors()
          Test all the constructors.
 void testInitXPath()
          Tests initXPath()
 void testQueryXPath()
           
 
Methods inherited from class com.counterclaim.openefm.BaseTestCase
assertFalse, assertFalse, assertNegative, assertNegative, assertPositive, assertPositive, assertZero, assertZero, getController, getFilingContext, getId, getInternalLxmlFiling, getInternalLxmlFiling, getModel, getOzoneLxmlFiling, getOzoneObjectManager, getOzoneUser, getSampleInternalLxmlFiling, getSampleLxmlFiling, restartServer, startServer
 
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 org.apache.log4j.Logger log

filingString

private static java.lang.String filingString

filing

private InternalLxmlFilingImpl filing
Constructor Detail

InternalLxmlFilingImplTestCase

public InternalLxmlFilingImplTestCase(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.

Overrides:
setUp in class BaseTestCase
Throws:
java.lang.Exception

tearDown

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

Overrides:
tearDown in class BaseTestCase
Throws:
java.lang.Exception

testInitXPath

public void testInitXPath()
Tests initXPath()


testQueryXPath

public void testQueryXPath()

testConstructors

public void testConstructors()
                      throws java.lang.Exception
Test all the constructors.

Throws:
java.lang.Exception

testAccessors

public void testAccessors()
                   throws java.lang.Exception
Test a bunch of accessors in InternalLxmlFilingImpl.

Throws:
java.lang.Exception


Copyright © 2002 counterclaim.com. All Rights Reserved.