Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
27400100.00%47.93

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.apache.commons.betwixt.derived 300100.00%1.20
org.apache.commons.betwixt.nowrap 100100.00%0.65
org.apache.commons.betwixt.schema 2300100.00%4.59
org.apache.commons.betwixt.xmlunit 1000100.00%0.92
org.apache.commons.betwixt.digester 800100.00%1.81
org.apache.commons.betwixt.registry 300100.00%0.98
org.apache.commons.betwixt.scarab 100100.00%0.61
org.apache.commons.betwixt.dotbetwixt 2300100.00%6.77
org.apache.commons.betwixt.expression 300100.00%1.18
org.apache.commons.betwixt.io.read 2900100.00%3.61
org.apache.commons.betwixt.recursion 900100.00%1.24
org.apache.commons.betwixt.introspection 2200100.00%2.03
org.apache.commons.betwixt.strategy.alt 400100.00%0.69
org.apache.commons.betwixt.strategy 6600100.00%6.62
org.apache.commons.betwixt.io 1100100.00%3.15
org.apache.commons.betwixt.examples.rss 100100.00%0.63
org.apache.commons.betwixt 5700100.00%11.24

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

org.apache.commons.betwixt.derived

ClassTestsErrorsFailuresSuccess RateTime
Success TestWriteClass 200100.00%0.625
Success TestDerived 100100.00%0.571

org.apache.commons.betwixt.nowrap

ClassTestsErrorsFailuresSuccess RateTime
Success TestNoWrap 100100.00%0.648

org.apache.commons.betwixt.schema

ClassTestsErrorsFailuresSuccess RateTime
Success TestSchema 200100.00%0.628
Success TestSchemaTranscriber 600100.00%0.510
Success TestSchemaValidity 600100.00%1.193
Success TestDataTypeMapper 200100.00%0.405
Success TestSchemaGeneration 500100.00%0.803
Success TestRecursiveBeanSchemaGeneration 200100.00%1.055

org.apache.commons.betwixt.xmlunit

ClassTestsErrorsFailuresSuccess RateTime
Success TestXmlTestCase 1000100.00%0.924

org.apache.commons.betwixt.digester

ClassTestsErrorsFailuresSuccess RateTime
Success TestIDRead 200100.00%0.624
Success TestOptionDigestion 300100.00%0.353
Success TestXMLIntrospectorHelper 200100.00%0.374
Success TestDigestDotBetwixt 100100.00%0.462

org.apache.commons.betwixt.registry

ClassTestsErrorsFailuresSuccess RateTime
Success TestRegistryPolymorphicResolution 100100.00%0.525
Success TestXMLBeanInfoRegistry 200100.00%0.458

org.apache.commons.betwixt.scarab

ClassTestsErrorsFailuresSuccess RateTime
Success TestScarabSettings 100100.00%0.610

org.apache.commons.betwixt.dotbetwixt

ClassTestsErrorsFailuresSuccess RateTime
Success TestIntrospection 100100.00%0.467
Success TestMixedCollections 200100.00%1.335
Success TestMap 100100.00%0.644
Success TestCustomDotBetwixt 400100.00%0.625
Success TestBeanToXml 700100.00%0.693
Success TestMsgParser 200100.00%0.649
Success TestDotBetwixtNamespace 100100.00%0.608
Success TestLoopType 300100.00%0.675
Success TestMultiMap 100100.00%0.489
Success TestXmlToBean 100100.00%0.583

org.apache.commons.betwixt.expression

ClassTestsErrorsFailuresSuccess RateTime
Success TestUpdaters 100100.00%0.409
Success TestContext 100100.00%0.352
Success TestDynaBeanUpdater 100100.00%0.420

org.apache.commons.betwixt.io.read

ClassTestsErrorsFailuresSuccess RateTime
Success TestReadData 100100.00%0.558
Success TestMaps 300100.00%0.653
Success TestBindTimeTypeMapping 1000100.00%0.691
Success TestMappingActions 500100.00%0.607
Success TestReadContext 800100.00%0.443
Success TestBeanCreation 200100.00%0.657

org.apache.commons.betwixt.recursion

ClassTestsErrorsFailuresSuccess RateTime
Success TestSharedIDGeneration 100100.00%0.553
Success TestRecursion 800100.00%0.690

org.apache.commons.betwixt.introspection

ClassTestsErrorsFailuresSuccess RateTime
Success TestDeclarativeIntrospection 1200100.00%0.505
Success TestDynaBeanIntrospection 100100.00%0.391
Success TestXMLIntrospector 700100.00%0.639
Success TestInterfaceIntrospection 200100.00%0.495

org.apache.commons.betwixt.strategy.alt

ClassTestsErrorsFailuresSuccess RateTime
Success TestElementsAlt 400100.00%0.691

org.apache.commons.betwixt.strategy

ClassTestsErrorsFailuresSuccess RateTime
Success Testi18nObjectStringConversion 500100.00%0.378
Success TestHyphenatedNameMapper 600100.00%0.378
Success TestSimpleTypeMapper 400100.00%0.614
Success TestDefaultPluralStemmer 800100.00%0.326
Success TestDecapitalizeNameMapper 100100.00%0.313
Success TestElementsIO 400100.00%0.659
Success TestIdStorageStrategy 200100.00%0.646
Success TestMixedContentEncoding 1200100.00%0.577
Success TestObjectStringConverters 400100.00%0.375
Success TestBaseMappingStrategy 100100.00%0.432
Success TestBadCharacterReplacingNMapper 800100.00%0.333
Success TestNamespaces 300100.00%0.291
Success TestConversionFlavour 200100.00%0.666
Success TestCapitalizeNameMapper 100100.00%0.305
Success TestDefaultNameMapper 500100.00%0.323

org.apache.commons.betwixt.io

ClassTestsErrorsFailuresSuccess RateTime
Success TestAttributeSuppression 200100.00%0.545
Success TestIgnoreEmptyElements 200100.00%0.582
Success TestBeanWriter 200100.00%0.420
Success TestAbstractBeanWriter 100100.00%0.592
Success TestWriteIDs 100100.00%0.473
Success TestSAXBeanWriter 300100.00%0.540

org.apache.commons.betwixt.examples.rss

ClassTestsErrorsFailuresSuccess RateTime
Success TestRSS 100100.00%0.626

org.apache.commons.betwixt

ClassTestsErrorsFailuresSuccess RateTime
Success TestDescriptors 300100.00%0.291
Success TestXMLUtils 300100.00%0.309
Success TestBeanReader 1200100.00%0.836
Success TestMaps 200100.00%0.555
Success TestBeanWriter 900100.00%0.758
Success TestCollectionMapping 100100.00%0.534
Success TestCollectives 500100.00%0.572
Success TestAttributeQNameProblem 100100.00%0.569
Success TestConversion 100100.00%0.583
Success TestArrays 500100.00%0.637
Success TestReferenceMapping 100100.00%0.533
Success TestArrayMaps 100100.00%0.411
Success TestOptions 200100.00%0.319
Success TestCyclicRegistration 100100.00%0.495
Success TestXMLBeanInfoDigester 100100.00%0.434
Success TestMultiMapping 100100.00%0.600
Success TestClassProperty 200100.00%0.593
Success TestRSSRoundTrip 300100.00%1.599
Success TestDynaBeanSupport 300100.00%0.615

Test Cases

[ summary] [ package list] [ test cases]

TestWriteClass

Success testDotBetwixtClass0.24
Success testPropertySuppressionStrategy0.10

TestDerived

Success testPersonList0.29

TestNoWrap

Success testRoundTrip0.37

TestSchema

Success testCombinedRoundTrip0.32
Success testRoundTripWithoutCollectionElement0.02

TestSchemaTranscriber

Success testEmpty0.00
Success testSimplestBeanAttribute0.18
Success testSimplestBeanElement0.01
Success testSimpleBean0.01
Success testOrderLine0.02
Success testOrder0.01

TestSchemaValidity

Success testSimplestBeanWithAttributes0.63
Success testSimplestBeanWithElements0.05
Success testSimpleBean0.04
Success testOrderLine0.04
Success testOrder0.05
Success testRSS0.09

TestDataTypeMapper

Success testDefaultDataTypeMapping0.01
Success testDefaultDataTypeTransciption0.10

TestSchemaGeneration

Success testSimplestBeanWithAttributes0.36
Success testSimplestBeanWithElement0.04
Success testSimpleBean0.04
Success testOrderLineBean0.05
Success testOrder0.04

TestRecursiveBeanSchemaGeneration

Success testLoopBeanWithAttributes0.70
Success testCyclicBean0.06

TestXmlTestCase

Success testXMLUnit0.08
Success testXMLUnit20.02
Success testXMLUnit30.01
Success testXMLUnit40.02
Success testXMLUnit50.01
Success testXMLUnit60.01
Success testValidateSchemaValidOne0.33
Success testValidateSchemaInvalidOne0.02
Success testValidateSchemaValidTwo0.10
Success testValidateSchemaInvalidTwo0.02

TestIDRead

Success testSimpleRead0.33
Success testIDRead0.01

TestOptionDigestion

Success testGoodDigestion0.05
Success testTwoDigestions0.00
Success testGracefulBadMapping0.00

TestXMLIntrospectorHelper

Success testCreateDescriptorWithHyphenatedElementNameMapper0.08
Success testNullParameters0.00

TestDigestDotBetwixt

Success testDigestWithOptions0.17

TestRegistryPolymorphicResolution

Success testRegisterThenResolve0.23

TestXMLBeanInfoRegistry

Success testNoCache0.01
Success testDefault0.01

TestScarabSettings

Success testRoundTrip0.32

TestIntrospection

Success testClassAttribute0.18

TestMixedCollections

Success testNoNameIntrospection0.37
Success testNoNameWrite0.25

TestMap

Success testMapWithDotBetwixtFile0.35

TestCustomDotBetwixt

Success testIntrospectWithCustomDotBetwixt0.16
Success testRegisterCustomDotBetwixt0.00
Success testWriteCustomDotBetwixt0.14
Success testReadCustomDotBetwixt0.04

TestBeanToXml

Success testOne0.07
Success testSimpleBean0.27
Success testWriteRecursiveBean0.00
Success testBadDotBetwixtNames0.02
Success testMixedContent0.02
Success testSimpleMixedContent0.02
Success testBasicInterfaceImpl0.02

TestMsgParser

Success testGetAsXml0.30
Success testParseMsg0.06

TestDotBetwixtNamespace

Success testWriteSimpleDotBetwixtWithNamespaces0.32

TestLoopType

Success testSimpleList0.34
Success testIgnoredProperty0.01
Success testIgnoredAdders0.01

TestMultiMap

Success testRegisterMultiMapping0.19

TestXmlToBean

Success testMixedContent0.30

TestUpdaters

Success testMapUpdate0.12

TestReadData

Success testReadInvalidDate0.28

TestContext

Success testOptions0.05

TestDynaBeanUpdater

Success testSimpleTest0.12

TestSharedIDGeneration

Success testSharedChild0.27

TestRecursion

Success testReadwithCollectionsInElementRoundTrip0.34
Success testReadWithoutCollectionsInElementRoundTrip0.02
Success testBeanWithIdProperty0.01
Success testCyclicReferenceStack10.01
Success testCyclicReferenceStack20.00
Success testRegisterOverflow0.00
Success testRegisterOverflow20.00
Success testCycleReferences0.02

TestDeclarativeIntrospection

Success testStandardPropertyIsHollow0.09
Success testSimpleElementIsHollow0.00
Success testWrappedCollective0.01
Success testUnwrappedCollective0.00
Success testUnwrappedMap0.01
Success testWrappedMap0.00
Success testIsSimpleForPrimitives0.00
Success testSimpleForRSS0.10
Success testMapWithSimpleKey0.00
Success testMapWithSimpleEntry0.00
Success testConcreteMapNoWrap0.00
Success testConcreteMapWithWrap0.00

TestDynaBeanIntrospection

Success testSimpleIntrospectionTest0.10

TestXMLIntrospector

Success testIntrospector0.17
Success testBeanWithBeanInfo0.10
Success testDefaultClassNormalizer0.00
Success testClassNormalizer0.00
Success testListedClassNormalizer0.00
Success testListedClassNormalizerWrite0.01
Success testBetwixtFileType0.07

TestInterfaceIntrospection

Success testSuperInterfaceIntrospection0.09
Success testSuperInterfaceIntrospectionWithDotBetwixt0.10

TestElementsAlt

Success testCapitalizeNameMapper0.34
Success testDecapitalizeNameMapper0.02
Success testDefaultElementMapper0.02
Success testHyphenatedNameMapper0.02

Testi18nObjectStringConversion

Success testFrenchDefaultLocale0.01
Success testBaseConverter0.00
Success testConvertUtilsConverter0.06
Success testDefaultOSConverter0.00
Success testDefaultOSConverterDates0.01

TestHyphenatedNameMapper

Success testLowerCase0.00
Success testLowerCaseViaBeanDescriptor0.00
Success testUpperCase0.00
Success testUpperCaseViaProperties0.00
Success testUpperCaseLongViaProperties0.00
Success testBeanWithAdd0.07

TestSimpleTypeMapper

Success testDefaultExceptionType0.01
Success testNewStrategy0.08
Success testWrite0.16
Success testRead0.08

TestDefaultPluralStemmer

Success testNullMap0.02
Success testFirstMatch0.00
Success testSecondMatch0.00
Success testSecondNonMatch0.00
Success testThirdMatch0.00
Success testMultipleMatches0.00
Success testESPluralEndingMatch0.00
Success testClosestMatch0.00

TestDecapitalizeNameMapper

Success testDecapitalize0.01

TestElementsIO

Success testCapitalizeNameMapper0.31
Success testDecapitalizeNameMapper0.01
Success testDefaultElementMapper0.01
Success testHyphenatedNameMapper0.01

TestIdStorageStrategy

Success testWrite0.27
Success testRead0.08

TestMixedContentEncoding

Success testBaseMixedEscapeCharacters0.02
Success testBaseMixedCDATAEncoding0.00
Success testBaseMixedEncode0.00
Success testDefaultImplementation0.00
Success testEscapedCharactersImplementation0.00
Success testCDATAImplementation0.00
Success testDefaultOutput0.17
Success testDefaultOutputWithCDATAOption0.00
Success testDefaultOutputWithCharacterEscapingOption0.00
Success testDefaultOutputWithDotBetwixtOptions0.09
Success testEscapedOutput0.00
Success testCDATAEncodedOutput0.00

TestObjectStringConverters

Success testBaseConverter0.00
Success testConvertUtilsConverter0.06
Success testDefaultOSConverter0.00
Success testDefaultOSConverterDates0.01

TestBaseMappingStrategy

Success testArrayMapping0.15

TestBadCharacterReplacingNMapper

Success testNoReplacementBadFirstNoChainedMapper0.02
Success testNoReplacementBadFirstWithChainedMapper0.00
Success testNoReplacementGoodFirstNoChainedMapper0.00
Success testNoReplacementGoodFirstWithChainedMapper0.00
Success testReplacementBadFirstNoChainedMapper0.00
Success testReplacementBadFirstWithChainedMapper0.00
Success testReplacementGoodFirstNoChainedMapper0.00
Success testReplacementGoodFirstWithChainedMapper0.00

TestNamespaces

Success testNamespacePrefixMapper0.00
Success testNamespacePrefixMapperPrefixGeneration0.00
Success testNamespacePrefixMapperMatchingPrefix0.00

TestConversionFlavour

Success testRead0.31
Success testWrite0.07

TestCapitalizeNameMapper

Success testDecapitalize0.01

TestDefaultNameMapper

Success testDefault0.02
Success testBadCharBadFirstOne0.00
Success testBadCharBadFirstTwo0.00
Success testBadCharGoodFirstOne0.00
Success testBadCharGoodFirstTwo0.00

TestMaps

Success testWriteConcreateMapImplementation0.26
Success testReadConcreateMapImplementation0.08
Success testMapWithArray0.04

TestBindTimeTypeMapping

Success testDefaultMappingDerivationStrategy0.10
Success testIntrospectionTimeMappingDerivationStrategy0.00
Success testBindTypeMappingDerivationStrategy0.00
Success testBindTypeMappingDerivationDotBetwixt0.09
Success testIntrospectionTypeMappingDerivationDotBetwixt0.00
Success testMappingDerivationDotBetwixtAddDefaults0.00
Success testBindTimeTypeWrite0.15
Success testBindTimeTypeRead0.04
Success testIntrospectionTimeTypeWrite0.01
Success testIntrospectionTimeTypeRead0.01

TestMappingActions

Success testSimpleRead0.27
Success testPrimitiveCollective0.01
Success testBodyUpdateActionNoMatch0.00
Success testBodyUpdateActionMatch0.00
Success testCollection0.04

TestReadContext

Success testElementStackPushPop0.07
Success testElementStackMarkedPushPop0.06
Success testLastMappedClassNoClass0.00
Success testGetCurrentElement0.00
Success testLastMappedClassBottomClass0.00
Success testLastMappedClassTwoClasses0.00
Success testLastMappedClassTopClass0.00
Success testNullElementNameMatchesAll0.01

TestBeanCreation

Success testCustomCreatorOne0.36
Success testCustomCreatorTwo0.02

TestAttributeSuppression

Success testEmptyStringSuppression0.25
Success testCustomStrategy0.01

TestIgnoreEmptyElements

Success testWritePersonBean0.27
Success testNestedWriteEmptyElements0.02

TestBeanWriter

Success testSetEndTagForEmptyElementTrue0.11
Success testSetEndTagForEmptyElementFalse0.00

TestAbstractBeanWriter

Success testContextCurrentElement0.29

TestWriteIDs

Success testTest0.19

TestSAXBeanWriter

Success testWrite0.25
Success testDocumentElements0.00
Success testLocalNames0.00

TestRSS

Success testPrintTextSummary0.34

TestDescriptors

Success testElementDescriptorLazyInit0.00
Success testGetElementDescriptorByName0.00
Success testGetElementDescriptorByNameNullMatch0.00

TestXMLUtils

Success testXMLNameTest0.02
Success testAttributeEscaping0.00
Success testCDATAEscaping0.00

TestBeanReader

Success testBeanWriter0.35
Success testWriteThenRead0.02
Success testAdderButNoProperty0.00
Success testPersonList0.01
Success testWrapElements0.01
Success testSetDigesterRules0.01
Success testDateReadConversion0.03
Success testHyphenatedNameMapping0.01
Success testCustomDateReadConversion0.02
Success testReadMap0.04
Success testReadMap20.01
Success testIndirectReference0.02

TestMaps

Success testHashMapWriteEmpty0.26
Success testHashMapWriteNotEmpty0.01

TestBeanWriter

Success testBeanWriter0.22
Success testLooping0.09
Success testEscaping0.02
Success testValidEndOfLine0.00
Success testSimpleWriteEmptyElements0.02
Success testArrayWrite0.02
Success testListedWriteEmptyElements0.04
Success testWriteNameMapperStrategy0.05
Success testBeanWriterWorksWithAnAddMethodAndACollection0.00

TestCollectionMapping

Success testRoundTripWithSingleMappingFile0.25

TestCollectives

Success testWriteCategories0.18
Success testReadCategories0.09
Success testIntrospectListExtension0.01
Success testWriteListExtension0.01
Success testReadListExtension0.00

TestAttributeQNameProblem

Success testAttributeOutput0.28

TestConversion

Success testNullTimestampConversion0.28

TestArrays

Success testWriteArray0.26
Success testReadArray0.08
Success testWriteArrayWithSetter0.01
Success testReadArrayWithSetter0.01
Success testIntrospectArrayWithSetter0.00

TestReferenceMapping

Success testRoundTripWithSingleMappingFile0.25

TestArrayMaps

Success testIntrospection0.10

TestOptions

Success testGetValue0.00
Success testGetNames0.00

TestCyclicRegistration

Success testListReferenceCycle0.18

TestXMLBeanInfoDigester

Success testDigester0.15

TestMultiMapping

Success testRoundTripWithSingleMappingFile0.32

TestClassProperty

Success testHasClassElementWithoutDotBetwixtFile0.21
Success testHasClassElementWithDotBetwixtFile0.10

TestRSSRoundTrip

Success testRoundTrip1.01
Success testBeanWriterRoundTrip0.30
Success testRSSRead0.00

TestDynaBeanSupport

Success testIntrospectDynaBean0.09
Success testWriteDynaBean0.16
Success testOverrideWithDotBetwixt0.08