|
||||||||||
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.schema.TestSchema
public class TestSchema
This will test betwixt on handling a different kind of xml file, without a "collection" tag.
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 | |
---|---|
TestSchema(java.lang.String testName)
|
Method Summary | |
---|---|
protected org.apache.commons.betwixt.io.BeanReader |
createBeanReader()
Creates a beanReader |
protected org.apache.commons.betwixt.XMLIntrospector |
createXMLIntrospector()
Set up the XMLIntroSpector |
static junit.framework.Test |
suite()
|
void |
testCombinedRoundTrip()
Test the roundtrip with an xml file that doesn't have collection elements, writes it with collection elements and then compares the 2 object, which should end up equal.. |
void |
testRoundTripWithoutCollectionElement()
Tests we can round trip from the XML -> bean -> XML -> bean. |
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 TestSchema(java.lang.String testName)
Method Detail |
---|
public static junit.framework.Test suite()
public void testCombinedRoundTrip() throws java.lang.Exception
java.lang.Exception
public void testRoundTripWithoutCollectionElement() throws java.lang.Exception
java.lang.Exception
protected org.apache.commons.betwixt.io.BeanReader createBeanReader() throws java.lang.Exception
java.lang.Exception
protected org.apache.commons.betwixt.XMLIntrospector createXMLIntrospector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |