|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.counterclaim.openefm.BaseTestCase
com.counterclaim.openefm.model.lxml.InternalLxmlFilingImplTestCase
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 |
private org.apache.log4j.Logger log
private static java.lang.String filingString
private InternalLxmlFilingImpl filing
| Constructor Detail |
public InternalLxmlFilingImplTestCase(java.lang.String theName)
theName - the testcase's name.| Method Detail |
public static void main(java.lang.String[] theArgs)
theArgs - the arguments. Not usedpublic static junit.framework.Test suite()
TestSuite) that includes all methods
starting with "test"
public void setUp()
throws java.lang.Exception
setUp in class BaseTestCasejava.lang.Exception
public void tearDown()
throws java.lang.Exception
tearDown in class BaseTestCasejava.lang.Exceptionpublic void testInitXPath()
initXPath()
public void testQueryXPath()
public void testConstructors()
throws java.lang.Exception
java.lang.Exception
public void testAccessors()
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||