| com.thoughtworks.acceptance.AbstractAcceptanceTest
All known Subclasses: com.thoughtworks.acceptance.QNameMappedConcreteClassesTest, com.thoughtworks.acceptance.annotations.ClassConverterTest, com.thoughtworks.xstream.converters.basic.URLConverterTest, com.thoughtworks.acceptance.ExternalizableTest, com.thoughtworks.acceptance.XStream11CompatibilityTest, com.thoughtworks.xstream.core.util.Base64EncoderTest, com.thoughtworks.acceptance.AbstractDuplicateReferenceTest, com.thoughtworks.acceptance.ImplicitCollectionTest, com.thoughtworks.acceptance.MapTest, com.thoughtworks.acceptance.annotations.FieldConverterTest, com.thoughtworks.acceptance.ClassLoaderTest, com.thoughtworks.xstream.converters.extended.EncodedByteArrayConverterTest, com.thoughtworks.acceptance.SerializationCallbackOrderTest, com.thoughtworks.acceptance.DefaultImplementationTest, com.thoughtworks.acceptance.AbstractNestedCircularReferenceTest, com.thoughtworks.acceptance.ExtendedTypesTest, com.thoughtworks.acceptance.Extended14TypesTest, com.thoughtworks.xstream.io.xml.StaxDriverTest, com.thoughtworks.acceptance.InheritanceTest, com.thoughtworks.xstream.converters.extended.RegexPatternConverterTest, com.thoughtworks.acceptance.ConcurrencyTest, com.thoughtworks.acceptance.SwingTest, com.thoughtworks.xstream.core.TreeMarshallerTest, com.thoughtworks.acceptance.annotations.AnnotationsTest, com.thoughtworks.xstream.converters.collections.ByteArrayConverterTest, com.thoughtworks.acceptance.DataHolderTest, com.thoughtworks.xstream.converters.extended.CharsetConverterTest, com.thoughtworks.acceptance.XStream12CompatibilityTest, com.thoughtworks.acceptance.WriteReplaceTest, com.thoughtworks.acceptance.Basic15TypesTest, com.thoughtworks.xstream.converters.collections.CharArrayConverterTest, com.thoughtworks.acceptance.annotations.XStream12AnnotationCompatibilityTest, com.thoughtworks.acceptance.ReadResolveTest, com.thoughtworks.acceptance.AbstractCircularReferenceTest, com.thoughtworks.acceptance.InnerClassesTest, com.thoughtworks.xstream.converters.extended.JavaClassConverterTest, com.thoughtworks.acceptance.FinalFieldsTest, com.thoughtworks.acceptance.CollectionsTest, com.thoughtworks.acceptance.TreeMapAndTreeSetTest, com.thoughtworks.acceptance.CustomSerializationTest, com.thoughtworks.xstream.core.TreeUnmarshallerTest, com.thoughtworks.acceptance.ArraysTest, com.thoughtworks.xstream.converters.extended.JavaMethodConverterTest, com.thoughtworks.acceptance.CustomFieldKeySorterTest, com.thoughtworks.acceptance.ConcreteClassesTest, com.thoughtworks.acceptance.XStream11XmlFriendlyTest, com.thoughtworks.acceptance.ErrorTest, com.thoughtworks.acceptance.BasicTypesTest, com.thoughtworks.acceptance.MultipleObjectsInOneStreamTest, com.thoughtworks.acceptance.annotations.AliasTest, com.thoughtworks.acceptance.CglibCompatibilityTest, com.thoughtworks.acceptance.BooleanFieldsTest, com.thoughtworks.acceptance.annotations.AttributesTest, com.thoughtworks.acceptance.AliasTest, com.thoughtworks.acceptance.LocalConverterTest, com.thoughtworks.acceptance.XmlFriendlyTest, com.thoughtworks.xstream.converters.extended.ThrowableConverterTest, com.thoughtworks.xstream.converters.extended.StackTraceElementConverterTest, com.thoughtworks.acceptance.annotations.ImplicitCollectionTest, com.thoughtworks.acceptance.CustomMapperTest, com.thoughtworks.xstream.mapper.FieldAliasingMapperTest, com.thoughtworks.acceptance.annotations.OmitFieldTest, com.thoughtworks.acceptance.OmitFieldsTest, com.thoughtworks.acceptance.DynamicProxyTest, com.thoughtworks.acceptance.CustomClassesTest, com.thoughtworks.acceptance.CustomConverterTest, com.thoughtworks.acceptance.XStreamerTest, com.thoughtworks.acceptance.AttributeTest, com.thoughtworks.xstream.converters.collections.BitSetConverterTest, com.thoughtworks.acceptance.SortableFieldListTest, com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategyTest, com.thoughtworks.xstream.core.ReferenceByIDMarshallingStrategyTest, com.thoughtworks.acceptance.ReflectionClassesTest, com.thoughtworks.acceptance.SerializationNestedWriteObjectsTest,
AbstractAcceptanceTest | abstract public class AbstractAcceptanceTest extends TestCase (Code) | | |
Method Summary | |
protected void | assertArrayEquals(Object expected, Object actual) | protected Object | assertBothWays(Object root, String xml) | protected Object | assertBothWaysNormalized(Object root, String xml, String match, String templateSelect, String sortSelect) | protected void | assertByteArrayEquals(byte expected, byte actual) | protected void | assertObjectsEqual(Object expected, Object actual) | protected Object | assertWithAsymmetricalXml(Object root, String inXml, String outXml) | protected HierarchicalStreamDriver | createDriver() | protected XStream | createXStream() | protected String | normalizedXML(String xml, String[] matches, String templateSelect, String sortSelect) | protected String | toXML(Object root) |
assertByteArrayEquals | protected void assertByteArrayEquals(byte expected, byte actual)(Code) | | |
assertObjectsEqual | protected void assertObjectsEqual(Object expected, Object actual)(Code) | | More descriptive version of assertEquals
|
toXML | protected String toXML(Object root)(Code) | | Allow derived classes to decide how to turn the object into XML text
|
|
|