Summary

[ summary ] [ package list ] [ test cases ]

Tests Errors Failures Success rate Time(s)
68 0 0 100.00% 3.24

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Test Cases

[ summary ] [ package list ] [ test cases ]

ArraysTest

testStringArray Success 0.05
testPrimitiveArray Success 0.01
testCustomObjectArray Success 0.02
testArrayOfMixedTypes Success 0.00
testEmptyArray Success 0.01
testUninitializedArray Success 0.01

BasicTypesTest

testPrimitiveNumbers Success 0.13
testOtherPrimitives Success 0.02
testStrings Success 0.00
testStringBuffer Success 0.00
testDate Success 0.01

CollectionsTest

testListsCanContainCustomObjects Success 0.10
testListsCanContainBasicObjects Success 0.01
testListCanBeRootObject Success 0.00
testSetCanBeRootObject Success 0.01

ConcreteClassesTest

testDefaultImplementationOfInterface Success 0.05
testAlternativeImplementationOfInterface Success 0.01
testCustomInterfaceCanHaveMultipleImplementations Success 0.03

CustomClassesTest

testCustomObjectWithBasicFields Success 0.05
testCustomObjectWithCustomObjectField Success 0.02
testNullObjectsDoNotHaveFieldsWritten Success 0.01

ExtendedTypesTest

testAwtColor Success 0.08
testSqlTimestamp Success 0.01

InheritanceTest

testHandlesInheritanceHeirarchies Success 0.05

MapTest

testMapCanContainBasicObjects Success 0.11
testMapCanContainCustomObjects Success 0.03
testObjectCanContainMapAsField Success 0.02

DefaultClassMapperTest

testAppendsArraySuffixOnArrays Success 0.02

ObjectWithFieldsConverterTest

testPrimitiveTypes Success 0.52
testDontTryToWriteTransientStaticOrFinalFields Success 0.00

ObjectGraphReaderTest

testReadsSimpleFieldsOfAnObject Success 0.02
testReadsFieldsOfNestedObjects Success 0.00

ReflectionObjectGraphTest

testGraphStartsOffEmpty Success 0.02
testRootItemCanBeCreated Success 0.01
testRootItemCanBeCreatedWithCustomType Success 0.00
testCreateSingleObjectAndSetSimpleFields Success 0.00
testCreateObjectInsideAnotherObject Success 0.00
testObjectCanBeInstantiatedWithoutDefaultConstructor Success 0.01
testIteratesOverFieldsOfCurrentObject Success 0.00
testInheritance Success 0.01

DomXMLReaderTest

testCanReadFromElementOfLargerDocument Success 0.03
testStartsAtRootTag Success 0.00
testCanNavigateDownChildTagsByIndex Success 0.01
testCanNavigateDownChildTagsByName Success 0.00
testChildTagsCanBeMixedWithOtherNodes Success 0.01
testFetchingChildTagByNameOnlyGetsDirectDescendant Success 0.00
testAttributesCanBeFetchedFromTags Success 0.02
testTextCanBeExtractedFromTag Success 0.00
testChildElementsCanBeTestedToSeeIfTheyExist Success 0.01

Dom4JXMLReaderTest

testCanReadFromElementOfLargerDocument Success 0.33
testStartsAtRootTag Success 0.01
testCanNavigateDownChildTagsByIndex Success 0.00
testCanNavigateDownChildTagsByName Success 0.01
testChildTagsCanBeMixedWithOtherNodes Success 0.01
testFetchingChildTagByNameOnlyGetsDirectDescendant Success 0.01
testAttributesCanBeFetchedFromTags Success 0.02
testTextCanBeExtractedFromTag Success 0.02
testChildElementsCanBeTestedToSeeIfTheyExist Success 0.00

CompactXMLWriterTest

testXmlIsIndented Success 0.02
testEncodesFunnyXmlChars Success 0.00
testAttributesCanBeWritten Success 0.00

PrettyPrintXMLWriterTest

testXmlIsIndented Success 0.02

XStreamTest

testUnmarshalsObjectFromXml Success 0.16
testMarshalsObjectToXml Success 0.01
testUnmarshalsClassWithoutDefaultConstructor Success 0.00
testHandlesLists Success 0.01
testNonStaticPrivateInnerClassCanBeUsed Success 0.01
testClassWithoutMappingUsesFullyQualifiedName Success 0.01