| org.apache.commons.betwixt.AbstractTestCase org.apache.commons.betwixt.schema.TestSchema
TestSchema | public class TestSchema extends AbstractTestCase (Code) | | This will test betwixt on handling a different kind of xml file, without
a "collection" tag.
author: Martin van den Bemt version: $Id: TestSchema.java 438373 2006-08-30 05:17:21Z bayard $ |
suite | public static Test suite()(Code) | | |
testCombinedRoundTrip | public void testCombinedRoundTrip() throws Exception(Code) | | 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..
|
testRoundTripWithoutCollectionElement | public void testRoundTripWithoutCollectionElement() throws Exception(Code) | | Tests we can round trip from the XML -> bean -> XML -> bean.
It will test if both object are identical.
For this to actually work I implemented a details equals in my
Beans..
|
|
|