|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.commons.betwixt.xmlunit.XmlTestCase org.apache.commons.betwixt.AbstractTestCase org.apache.commons.betwixt.recursion.TestRecursion
public class TestRecursion
This will test the recursive behaviour of betwixt.
Field Summary |
---|
Fields inherited from class org.apache.commons.betwixt.AbstractTestCase |
---|
basedir |
Fields inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase |
---|
debug |
Constructor Summary | |
---|---|
TestRecursion(java.lang.String testName)
|
Method Summary | |
---|---|
protected org.apache.commons.betwixt.XMLIntrospector |
createXMLIntrospector()
Set up the XMLIntroSpector |
static junit.framework.Test |
suite()
|
void |
testBeanWithIdProperty()
|
void |
testCycleReferences()
|
void |
testCyclicReferenceStack1()
Check that a cyclic reference exception is not thrown in this case |
void |
testCyclicReferenceStack2()
This should throw a cyclic reference |
void |
testReadwithCollectionsInElementRoundTrip()
This will test reading a simple recursive xml file |
void |
testReadWithoutCollectionsInElementRoundTrip()
This will test reading a simple recursive xml file |
void |
testRegisterOverflow()
Tests for a stack overflow bug |
void |
testRegisterOverflow2()
|
Methods inherited from class org.apache.commons.betwixt.AbstractTestCase |
---|
createBean, getTestFile, getTestFileURL |
Methods inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase |
---|
createDocumentBuilder, getDomFactory, isValid, parseFile, parseString, parseString, validateWithSchema, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsValid, xmlAssertIsValid |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, 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 |
Constructor Detail |
---|
public TestRecursion(java.lang.String testName)
Method Detail |
---|
public static junit.framework.Test suite()
public void testReadwithCollectionsInElementRoundTrip() throws java.lang.Exception
java.lang.Exception
public void testReadWithoutCollectionsInElementRoundTrip() throws java.lang.Exception
java.lang.Exception
protected org.apache.commons.betwixt.XMLIntrospector createXMLIntrospector()
public void testBeanWithIdProperty() throws java.lang.Exception
java.lang.Exception
public void testCyclicReferenceStack1() throws java.lang.Exception
java.lang.Exception
public void testCyclicReferenceStack2() throws java.lang.Exception
java.lang.Exception
public void testRegisterOverflow() throws java.lang.Exception
java.lang.Exception
public void testRegisterOverflow2() throws java.lang.Exception
java.lang.Exception
public void testCycleReferences() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |