Summary

Tests Errors Failures Skipped Success Rate Time
321 0 0 0 100% 6.488

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

Package List

Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.betwixt.xmlunit 10 0 0 0 100% 0.484
org.apache.commons.betwixt.registry 3 0 0 0 100% 0.031
org.apache.commons.betwixt.strategy.alt 4 0 0 0 100% 0.094
org.apache.commons.betwixt.strategy 73 0 0 0 100% 0.391
org.apache.commons.betwixt.introspection 23 0 0 0 100% 0.204
org.apache.commons.betwixt.poly 6 0 0 0 100% 0.048
org.apache.commons.betwixt.recursion 9 0 0 0 100% 0.171
org.apache.commons.betwixt.strategy.impl.propertysuppression 2 0 0 0 100% 0
org.apache.commons.betwixt.examples.rss 1 0 0 0 100% 0.016
org.apache.commons.betwixt.derived 3 0 0 0 100% 0.141
org.apache.commons.betwixt.io 19 0 0 0 100% 1.736
org.apache.commons.betwixt.scarab 1 0 0 0 100% 0.046
org.apache.commons.betwixt.expression 7 0 0 0 100% 0
org.apache.commons.betwixt.dotbetwixt 25 0 0 0 100% 0.593
org.apache.commons.betwixt.nowrap 1 0 0 0 100% 0.079
org.apache.commons.betwixt 65 0 0 0 100% 1.031
org.apache.commons.betwixt.schema 23 0 0 0 100% 0.955
org.apache.commons.betwixt.versioning 5 0 0 0 100% 0.11
org.apache.commons.betwixt.digester 9 0 0 0 100% 0.125
org.apache.commons.betwixt.io.read 32 0 0 0 100% 0.233

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.betwixt.xmlunit

Class Tests Errors Failures Skipped Success Rate Time
TestXmlTestCase 10 0 0 0 100% 0.484

org.apache.commons.betwixt.registry

Class Tests Errors Failures Skipped Success Rate Time
TestRegistryPolymorphicResolution 1 0 0 0 100% 0.015
TestXMLBeanInfoRegistry 2 0 0 0 100% 0.016

org.apache.commons.betwixt.strategy.alt

Class Tests Errors Failures Skipped Success Rate Time
TestElementsAlt 4 0 0 0 100% 0.094

org.apache.commons.betwixt.strategy

Class Tests Errors Failures Skipped Success Rate Time
TestBadCharacterReplacingNMapper 8 0 0 0 100% 0
TestBaseMappingStrategy 1 0 0 0 100% 0
TestCapitalizeNameMapper 1 0 0 0 100% 0
TestConversionFlavour 2 0 0 0 100% 0.031
TestDecapitalizeNameMapper 1 0 0 0 100% 0
TestDefaultNameMapper 5 0 0 0 100% 0.016
TestDefaultPluralStemmer 8 0 0 0 100% 0
TestElementsIO 4 0 0 0 100% 0.062
TestHyphenatedNameMapper 6 0 0 0 100% 0
Testi18nObjectStringConversion 6 0 0 0 100% 0.078
TestIdStorageStrategy 6 0 0 0 100% 0.11
TestMixedContentEncoding 12 0 0 0 100% 0.031
TestNamespaces 3 0 0 0 100% 0
TestObjectStringConverters 5 0 0 0 100% 0.047
TestSimpleTypeMapper 4 0 0 0 100% 0.016
TestValueSuppressionStrategy 1 0 0 0 100% 0

org.apache.commons.betwixt.introspection

Class Tests Errors Failures Skipped Success Rate Time
TestDeclarativeIntrospection 12 0 0 0 100% 0.032
TestDynaBeanIntrospection 1 0 0 0 100% 0.032
TestInterfaceIntrospection 2 0 0 0 100% 0.047
TestXMLIntrospector 8 0 0 0 100% 0.093

org.apache.commons.betwixt.poly

Class Tests Errors Failures Skipped Success Rate Time
TestPolyList 3 0 0 0 100% 0.032
TestPolyListHolder 3 0 0 0 100% 0.016

org.apache.commons.betwixt.recursion

Class Tests Errors Failures Skipped Success Rate Time
TestRecursion 8 0 0 0 100% 0.14
TestSharedIDGeneration 1 0 0 0 100% 0.031

org.apache.commons.betwixt.strategy.impl.propertysuppression

Class Tests Errors Failures Skipped Success Rate Time
TestPackageSuppressor 2 0 0 0 100% 0

org.apache.commons.betwixt.examples.rss

Class Tests Errors Failures Skipped Success Rate Time
TestRSS 1 0 0 0 100% 0.016

org.apache.commons.betwixt.derived

Class Tests Errors Failures Skipped Success Rate Time
TestDerived 1 0 0 0 100% 0.094
TestWriteClass 2 0 0 0 100% 0.047

org.apache.commons.betwixt.io

Class Tests Errors Failures Skipped Success Rate Time
TestAbstractBeanWriter 1 0 0 0 100% 0.016
TestAttributeSuppression 2 0 0 0 100% 0.016
TestBeanWriter 2 0 0 0 100% 0
TestIgnoreEmptyElements 2 0 0 0 100% 0.032
TestMapUpdater 1 0 0 0 100% 1.515
TestMixedCollection 2 0 0 0 100% 0.031
TestPrettyPrint 1 0 0 0 100% 0
TestSAXBeanWriter 3 0 0 0 100% 0.016
TestSuppressElement 4 0 0 0 100% 0.11
TestWriteIDs 1 0 0 0 100% 0

org.apache.commons.betwixt.scarab

Class Tests Errors Failures Skipped Success Rate Time
TestScarabSettings 1 0 0 0 100% 0.046

org.apache.commons.betwixt.expression

Class Tests Errors Failures Skipped Success Rate Time
TestCollectionUpdater 3 0 0 0 100% 0
TestContext 1 0 0 0 100% 0
TestContextOptions 1 0 0 0 100% 0
TestDynaBeanUpdater 1 0 0 0 100% 0
TestUpdaters 1 0 0 0 100% 0

org.apache.commons.betwixt.dotbetwixt

Class Tests Errors Failures Skipped Success Rate Time
TestBeanToXml 7 0 0 0 100% 0.235
TestCustomDotBetwixt 4 0 0 0 100% 0.015
TestDotBetwixtNamespace 1 0 0 0 100% 0.031
TestIntrospection 1 0 0 0 100% 0.046
TestLoopType 3 0 0 0 100% 0.047
TestMap 1 0 0 0 100% 0.031
TestMixedCollections 2 0 0 0 100% 0.031
TestMsgParser 2 0 0 0 100% 0.047
TestMultiMap 1 0 0 0 100% 0
TestXmlToBean 3 0 0 0 100% 0.11

org.apache.commons.betwixt.nowrap

Class Tests Errors Failures Skipped Success Rate Time
TestNoWrap 1 0 0 0 100% 0.079

org.apache.commons.betwixt

Class Tests Errors Failures Skipped Success Rate Time
TestArrayMaps 1 0 0 0 100% 0
TestArrays 5 0 0 0 100% 0.047
TestAttributeQNameProblem 1 0 0 0 100% 0.032
TestBeanReader 12 0 0 0 100% 0.234
TestBeanWriter 9 0 0 0 100% 0.219
TestClassProperty 2 0 0 0 100% 0.016
TestCollectionMapping 2 0 0 0 100% 0.016
TestCollectionMapping2 1 0 0 0 100% 0.032
TestCollectives 5 0 0 0 100% 0.016
TestConversion 1 0 0 0 100% 0.015
TestCyclicRegistration 1 0 0 0 100% 0
TestDescriptors 3 0 0 0 100% 0
TestDynaBeanSupport 3 0 0 0 100% 0.078
TestMaps 2 0 0 0 100% 0.031
TestMultiMapping 1 0 0 0 100% 0.078
TestMultipleCollectionMappings 4 0 0 0 100% 0.093
TestOptions 3 0 0 0 100% 0
TestReferenceMapping 1 0 0 0 100% 0.031
TestStringCollections 3 0 0 0 100% 0.062
TestTextMapping 1 0 0 0 100% 0.015
TestXMLBeanInfoDigester 1 0 0 0 100% 0.016
TestXMLUtils 3 0 0 0 100% 0

org.apache.commons.betwixt.schema

Class Tests Errors Failures Skipped Success Rate Time
TestDataTypeMapper 2 0 0 0 100% 0
TestRecursiveBeanSchemaGeneration 2 0 0 0 100% 0.11
TestSchema 2 0 0 0 100% 0.063
TestSchemaGeneration 5 0 0 0 100% 0.141
TestSchemaTranscriber 6 0 0 0 100% 0.188
TestSchemaValidity 6 0 0 0 100% 0.453

org.apache.commons.betwixt.versioning

Class Tests Errors Failures Skipped Success Rate Time
TestVersioning 5 0 0 0 100% 0.11

org.apache.commons.betwixt.digester

Class Tests Errors Failures Skipped Success Rate Time
TestDigestDotBetwixt 1 0 0 0 100% 0.016
TestDigestMultiMapping 1 0 0 0 100% 0.016
TestIDRead 2 0 0 0 100% 0.093
TestOptionDigestion 3 0 0 0 100% 0
TestXMLIntrospectorHelper 2 0 0 0 100% 0

org.apache.commons.betwixt.io.read

Class Tests Errors Failures Skipped Success Rate Time
TestBeanCreation 2 0 0 0 100% 0.047
TestBindTimeTypeMapping 10 0 0 0 100% 0.031
TestMappingActions 5 0 0 0 100% 0.047
TestMaps 3 0 0 0 100% 0.047
TestPolymorphic 2 0 0 0 100% 0.046
TestReadContext 8 0 0 0 100% 0
TestReadData 2 0 0 0 100% 0.015

Test Cases

TestDerived

testPersonList 0.078

TestWriteClass

testDotBetwixtClass 0.016
testPropertySuppressionStrategy 0.031

TestDigestDotBetwixt

testDigestWithOptions 0.016

TestDigestMultiMapping

testDigestWithOptions 0

TestIDRead

testSimpleRead 0.032
testIDRead 0.046

TestOptionDigestion

testGoodDigestion 0
testTwoDigestions 0
testGracefulBadMapping 0

TestXMLIntrospectorHelper

testCreateDescriptorWithHyphenatedElementNameMapper 0
testNullParameters 0

TestBeanToXml

testOne 0.016
testSimpleBean 0.078
testWriteRecursiveBean 0
testBadDotBetwixtNames 0.047
testMixedContent 0.031
testSimpleMixedContent 0.047
testBasicInterfaceImpl 0

TestCustomDotBetwixt

testIntrospectWithCustomDotBetwixt 0
testRegisterCustomDotBetwixt 0.015
testWriteCustomDotBetwixt 0
testReadCustomDotBetwixt 0

TestDotBetwixtNamespace

testWriteSimpleDotBetwixtWithNamespaces 0.031

TestIntrospection

testClassAttribute 0.031

TestLoopType

testSimpleList 0.016
testIgnoredProperty 0.015
testIgnoredAdders 0.016

TestMap

testMapWithDotBetwixtFile 0.031

TestMixedCollections

testNoNameIntrospection 0.031
testNoNameWrite 0

TestMsgParser

testGetAsXml 0.015
testParseMsg 0.016

TestMultiMap

testRegisterMultiMapping 0

TestXmlToBean

testMixedContent 0.031
testForceAccessibleSuper 0.016
testCustomUpdaters 0.047

TestRSS

testPrintTextSummary 0.016

TestCollectionUpdater

testUpdateNull 0
testUpdateNotCollection 0
testUpdateCollection 0

TestContext

testOptions 0

TestContextOptions

testOptionInheritance 0

TestDynaBeanUpdater

testSimpleTest 0

TestUpdaters

testMapUpdate 0

TestDeclarativeIntrospection

testStandardPropertyIsHollow 0
testSimpleElementIsHollow 0
testWrappedCollective 0.016
testUnwrappedCollective 0
testUnwrappedMap 0
testWrappedMap 0
testIsSimpleForPrimitives 0
testSimpleForRSS 0
testMapWithSimpleKey 0.016
testMapWithSimpleEntry 0
testConcreteMapNoWrap 0
testConcreteMapWithWrap 0

TestDynaBeanIntrospection

testSimpleIntrospectionTest 0.032

TestInterfaceIntrospection

testSuperInterfaceIntrospection 0.015
testSuperInterfaceIntrospectionWithDotBetwixt 0.032

TestXMLIntrospector

testIntrospector 0.015
testBeanWithBeanInfo 0.016
testDefaultClassNormalizer 0.015
testClassNormalizer 0
testListedClassNormalizer 0.016
testListedClassNormalizerWrite 0
testBetwixtFileType 0.031
testIgnoreAllBeanInfo 0

TestBeanCreation

testCustomCreatorOne 0.016
testCustomCreatorTwo 0.015

TestBindTimeTypeMapping

testDefaultMappingDerivationStrategy 0
testIntrospectionTimeMappingDerivationStrategy 0
testBindTypeMappingDerivationStrategy 0
testBindTypeMappingDerivationDotBetwixt 0
testIntrospectionTypeMappingDerivationDotBetwixt 0.015
testMappingDerivationDotBetwixtAddDefaults 0
testBindTimeTypeWrite 0
testBindTimeTypeRead 0
testIntrospectionTimeTypeWrite 0.016
testIntrospectionTimeTypeRead 0

TestMappingActions

testSimpleRead 0
testPrimitiveCollective 0.016
testBodyUpdateActionNoMatch 0
testBodyUpdateActionMatch 0
testCollection 0.031

TestMaps

testWriteConcreateMapImplementation 0
testReadConcreateMapImplementation 0.016
testMapWithArray 0.031

TestPolymorphic

testWrite 0.016
testRead 0.015

TestReadContext

testElementStackPushPop 0
testElementStackMarkedPushPop 0
testLastMappedClassNoClass 0
testGetCurrentElement 0
testLastMappedClassBottomClass 0
testLastMappedClassTwoClasses 0
testLastMappedClassTopClass 0
testNullElementNameMatchesAll 0

TestReadData

testReadInvalidDate 0
testWritePrivateStaticClasses 0.015

TestAbstractBeanWriter

testContextCurrentElement 0.016

TestAttributeSuppression

testEmptyStringSuppression 0.016
testCustomStrategy 0

TestBeanWriter

testSetEndTagForEmptyElementTrue 0
testSetEndTagForEmptyElementFalse 0

TestIgnoreEmptyElements

testWritePersonBean 0
testNestedWriteEmptyElements 0.016

TestMapUpdater

testMapUpdater 1.5

TestMixedCollection

testWithDefaults 0.015
testWithoutDefaults 0.016

TestPrettyPrint

testEndElement 0

TestSAXBeanWriter

testWrite 0.016
testDocumentElements 0
testLocalNames 0

TestSuppressElement

testSuppressNothing 0.031
testSuppressType 0.016
testSuppressElementName 0.047
testSuppressName 0

TestWriteIDs

testTest 0

TestNoWrap

testRoundTrip 0.063

TestPolyList

testWrite 0.032
testRead 0
testIntrospection 0

TestPolyListHolder

testWrite 0
testRead 0.016
testIntrospection 0

TestRecursion

testReadwithCollectionsInElementRoundTrip 0.031
testReadWithoutCollectionsInElementRoundTrip 0.031
testBeanWithIdProperty 0.063
testCyclicReferenceStack1 0
testCyclicReferenceStack2 0
testRegisterOverflow 0.015
testRegisterOverflow2 0
testCycleReferences 0

TestSharedIDGeneration

testSharedChild 0.031

TestRegistryPolymorphicResolution

testRegisterThenResolve 0.015

TestXMLBeanInfoRegistry

testNoCache 0
testDefault 0

TestScarabSettings

testRoundTrip 0.046

TestDataTypeMapper

testDefaultDataTypeMapping 0
testDefaultDataTypeTransciption 0

TestRecursiveBeanSchemaGeneration

testLoopBeanWithAttributes 0.016
testCyclicBean 0.094

TestSchema

testCombinedRoundTrip 0.063
testRoundTripWithoutCollectionElement 0

TestSchemaGeneration

testSimpleBean 0.015
testSimplestBeanWithAttributes 0.016
testSimplestBeanWithElement 0.016
testOrderLineBean 0
testOrder 0.078

TestSchemaTranscriber

testSimpleBean 0.062
testOrder 0.047
testEmpty 0
testSimplestBeanAttribute 0.047
testSimplestBeanElement 0.016
testOrderLine 0

TestSchemaValidity

testSimpleBean 0.094
testSimplestBeanWithAttributes 0.031
testOrder 0.047
testOrderLine 0.016
testSimplestBeanWithElements 0.015
testRSS 0.235

TestElementsAlt

testCapitalizeNameMapper 0.047
testDecapitalizeNameMapper 0
testDefaultElementMapper 0.015
testHyphenatedNameMapper 0.032

TestPackageSuppressor

testExact 0
testWild 0

TestBadCharacterReplacingNMapper

testNoReplacementBadFirstNoChainedMapper 0
testNoReplacementBadFirstWithChainedMapper 0
testNoReplacementGoodFirstNoChainedMapper 0
testNoReplacementGoodFirstWithChainedMapper 0
testReplacementBadFirstNoChainedMapper 0
testReplacementBadFirstWithChainedMapper 0
testReplacementGoodFirstNoChainedMapper 0
testReplacementGoodFirstWithChainedMapper 0

TestBaseMappingStrategy

testArrayMapping 0

TestCapitalizeNameMapper

testDecapitalize 0

TestConversionFlavour

testWrite 0.031
testRead 0

TestDecapitalizeNameMapper

testDecapitalize 0

TestDefaultNameMapper

testDefault 0
testBadCharBadFirstOne 0
testBadCharBadFirstTwo 0
testBadCharGoodFirstOne 0
testBadCharGoodFirstTwo 0

TestDefaultPluralStemmer

testNullMap 0
testFirstMatch 0
testSecondMatch 0
testSecondNonMatch 0
testThirdMatch 0
testMultipleMatches 0
testESPluralEndingMatch 0
testClosestMatch 0

TestElementsIO

testCapitalizeNameMapper 0.015
testDecapitalizeNameMapper 0.031
testDefaultElementMapper 0.016
testHyphenatedNameMapper 0

TestHyphenatedNameMapper

testLowerCase 0
testLowerCaseViaBeanDescriptor 0
testUpperCase 0
testUpperCaseViaProperties 0
testUpperCaseLongViaProperties 0
testBeanWithAdd 0

Testi18nObjectStringConversion

testFrenchDefaultLocale 0.031
testBaseConverter 0
testConvertUtilsConverter 0
testConvertUtilsObjectStringConverter 0
testDefaultOSConverter 0
testDefaultOSConverterDates 0

TestIdStorageStrategy

testWrite 0.016
testRead 0
testWriteWithOptions 0.015
testWriteWithParentOptions 0.016
testWriteWithTargetOptions 0.047
testWriteWithParentAndTargetOptions 0

TestMixedContentEncoding

testBaseMixedEscapeCharacters 0
testBaseMixedCDATAEncoding 0
testBaseMixedEncode 0
testDefaultImplementation 0
testEscapedCharactersImplementation 0
testCDATAImplementation 0
testDefaultOutput 0
testDefaultOutputWithCDATAOption 0
testDefaultOutputWithCharacterEscapingOption 0
testDefaultOutputWithDotBetwixtOptions 0.031
testEscapedOutput 0
testCDATAEncodedOutput 0

TestNamespaces

testNamespacePrefixMapper 0
testNamespacePrefixMapperPrefixGeneration 0
testNamespacePrefixMapperMatchingPrefix 0

TestObjectStringConverters

testBaseConverter 0
testConvertUtilsConverter 0
testConvertUtilsObjectStringConverter 0
testDefaultOSConverter 0.047
testDefaultOSConverterDates 0

TestSimpleTypeMapper

testWrite 0.016
testRead 0
testDefaultExceptionType 0
testNewStrategy 0

TestValueSuppressionStrategy

testALLOW_ALL_VALUESStrategy 0

TestArrayMaps

testIntrospection 0

TestArrays

testWriteArray 0
testReadArray 0.016
testWriteArrayWithSetter 0.031
testReadArrayWithSetter 0
testIntrospectArrayWithSetter 0

TestAttributeQNameProblem

testAttributeOutput 0.032

TestBeanReader

testPersonList 0.015
testBeanWriter 0.063
testWriteThenRead 0.015
testAdderButNoProperty 0
testWrapElements 0
testSetDigesterRules 0
testDateReadConversion 0
testHyphenatedNameMapping 0
testCustomDateReadConversion 0.047
testReadMap 0.015
testReadMap2 0.016
testIndirectReference 0.015

TestBeanWriter

testBeanWriter 0.063
testLooping 0.015
testEscaping 0.016
testValidEndOfLine 0.016
testSimpleWriteEmptyElements 0
testArrayWrite 0.015
testListedWriteEmptyElements 0.063
testWriteNameMapperStrategy 0.031
testBeanWriterWorksWithAnAddMethodAndACollection 0

TestClassProperty

testHasClassElementWithoutDotBetwixtFile 0
testHasClassElementWithDotBetwixtFile 0.016

TestCollectionMapping

testRoundTripWithSingleMappingFile 0.016
testInvalidXML 0

TestCollectionMapping2

testInvalidXML 0.016

TestCollectives

testWriteCategories 0
testReadCategories 0.016
testIntrospectListExtension 0
testWriteListExtension 0
testReadListExtension 0

TestConversion

testNullTimestampConversion 0.015

TestCyclicRegistration

testListReferenceCycle 0

TestDescriptors

testElementDescriptorLazyInit 0
testGetElementDescriptorByName 0
testGetElementDescriptorByNameNullMatch 0

TestDynaBeanSupport

testIntrospectDynaBean 0
testWriteDynaBean 0
testOverrideWithDotBetwixt 0.062

TestMaps

testHashMapWriteEmpty 0.015
testHashMapWriteNotEmpty 0.016

TestMultiMapping

testRoundTripWithSingleMappingFile 0.078

TestMultipleCollectionMappings

testInvalidXML 0.015
testOnlyElements 0
testOnlyNodes 0.016
testMixed 0.015

TestOptions

testGetValue 0
testGetNames 0
testAddOptions 0

TestReferenceMapping

testRoundTripWithSingleMappingFile 0.031

TestStringCollections

testIntrospection 0.046
testWritePoem 0.016
testReadPoem 0

TestTextMapping

testRoundTripWithSingleMappingFile 0

TestXMLBeanInfoDigester

testDigester 0.016

TestXMLUtils

testXMLNameTest 0
testAttributeEscaping 0
testCDATAEscaping 0

TestVersioning

testIntrospection 0.016
testWrite1 0.016
testWrite2 0.031
testWrite3 0.031
testWrite4 0.016

TestXmlTestCase

testXMLUnit 0.031
testXMLUnit2 0.062
testXMLUnit3 0.047
testXMLUnit4 0
testXMLUnit5 0.016
testXMLUnit6 0
testValidateSchemaValidOne 0.219
testValidateSchemaInvalidOne 0.047
testValidateSchemaValidTwo 0.046
testValidateSchemaInvalidTwo 0.016