Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
39100100,00%56,79

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

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.dom4j 24400100,00%31,27
org.dom4j.bean 100100,00%3,18
org.dom4j.datatype 5300100,00%4,88
org.dom4j.dom 400100,00%0,49
org.dom4j.dtd 1000100,00%1,20
org.dom4j.io 2500100,00%3,68
org.dom4j.rule 1000100,00%1,34
org.dom4j.swing 200100,00%0,55
org.dom4j.tree 1900100,00%1,83
org.dom4j.util 200100,00%0,24
org.dom4j.xpath 2100100,00%8,13

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

org.dom4j

ClassTestsErrorsFailuresSuccess RateTime
Success AddAttributeTest 200100,00%0,470
Success AddNodeTest 300100,00%0,451
Success AttributeDetachTest 100100,00%0,400
Success BackedListTest 300100,00%0,440
Success CloneTest 1000100,00%0,501
Success ContentTest 800100,00%0,341
Success CopyTest 100100,00%0,321
Success DetachTest 100100,00%0,300
Success DocTypeTest 100100,00%0,431
Success ElementByIDTest 100100,00%0,460
Success EmbeddedHandlerTest 300100,00%0,431
Success GetQNamesTest 200100,00%0,361
Success GetXMLEncodingTest 300100,00%0,431
Success HTMLWriterTest 500100,00%0,361
Success IndexedElementTest 100100,00%0,531
Success IsTextOnlyTest 100100,00%0,321
Success IteratorTest 500100,00%0,281
Success LineFeedTest 400100,00%0,351
Success MakeElementTest 200100,00%0,381
Success MergeTextTest 100100,00%0,341
Success NamespacesTest 800100,00%0,792
Success NamespaceTest 400100,00%0,451
Success NodeTypeNameTest 500100,00%0,391
Success NormalizeTest 100100,00%0,441
Success NullAttributesTest 300100,00%0,260
Success ParentTest 200100,00%0,300
Success ParseTextTest 100100,00%0,440
Success ProcessingInstructionTest 200100,00%0,300
Success RoundTripTest 600100,00%2,904
Success SAXContentHandlerTest 200100,00%0,441
Success SerializeTest 400100,00%2,464
Success SetContentTest 200100,00%0,300
Success SetTextTest 200100,00%0,390
Success ThreadingTest 10000100,00%8,302
Success UserDataTest 400100,00%0,371
Success ValidationTest 100100,00%0,341
Success XMLResultTest 100100,00%0,351
Success XMLSpaceAttributeTest 500100,00%0,541
Success XMLWriterTest 2200100,00%0,561
Success XPathBugTest 400100,00%0,510
Success XPathExamplesTest 100100,00%1,302
Success XPathTest 500100,00%0,511
Success XSLTTest 100100,00%0,701

org.dom4j.bean

ClassTestsErrorsFailuresSuccess RateTime
Success BeansTest 100100,00%3,175

org.dom4j.datatype

ClassTestsErrorsFailuresSuccess RateTime
Success AutoSchemaTest 600100,00%0,721
Success Datatype2Test 400100,00%0,591
Success DataTypesTest 2700100,00%0,931
Success ManualSchemaPrefixTest 600100,00%0,711
Success ManualSchemaTest 600100,00%0,811
Success SchemaParseTest 100100,00%0,621
Success SetDataTest 300100,00%0,490

org.dom4j.dom

ClassTestsErrorsFailuresSuccess RateTime
Success DOMTest 400100,00%0,491

org.dom4j.dtd

ClassTestsErrorsFailuresSuccess RateTime
Success AttributeDeclTest 300100,00%0,310
Success ElementDeclTest 100100,00%0,300
Success ExternalEntityDeclTest 300100,00%0,300
Success InternalEntityDeclTest 300100,00%0,290

org.dom4j.io

ClassTestsErrorsFailuresSuccess RateTime
Success DispatchHandlerTest 100100,00%0,360
Success DocumentSourceTest 100100,00%0,440
Success DOMReaderTest 100100,00%0,350
Success DOMWriterTest 300100,00%0,400
Success DTDTest 300100,00%0,441
Success SAXReaderTest 700100,00%0,531
Success StaxTest 100100,00%0,370
Success WriteUnmergedTextTest 600100,00%0,420
Success XPP3ReaderTest 200100,00%0,371

org.dom4j.rule

ClassTestsErrorsFailuresSuccess RateTime
Success PriorityTest 400100,00%0,410
Success RuleTest 300100,00%0,400
Success StylesheetTest 300100,00%0,531

org.dom4j.swing

ClassTestsErrorsFailuresSuccess RateTime
Success TableModelTest 200100,00%0,551

org.dom4j.tree

ClassTestsErrorsFailuresSuccess RateTime
Success CDataTest 300100,00%0,400
Success DefaultDocumentTest 600100,00%0,370
Success DefaultElementTest 600100,00%0,461
Success NamespaceCacheTest 400100,00%0,601

org.dom4j.util

ClassTestsErrorsFailuresSuccess RateTime
Success SimpleSingletonTest 200100,00%0,240

org.dom4j.xpath

ClassTestsErrorsFailuresSuccess RateTime
Success AttributeTest 100100,00%0,551
Success BadPathTest 100100,00%0,400
Success BooleanTest 100100,00%0,431
Success FilterTest 100100,00%0,591
Success GetPathTest 400100,00%0,481
Success MatrixConcatTest 100100,00%0,450
Success NamespaceTest 100100,00%0,451
Success NumberTest 100100,00%0,431
Success ObjectTest 100100,00%0,401
Success PrefixTest 100100,00%0,451
Success SelectSingleNodeTest 200100,00%0,530
Success SortByTest 100100,00%0,851
Success SubstringTest 100100,00%0,450
Success TextTest 100100,00%0,390
Success UriMapTest 100100,00%0,441
Success ValueOfTest 100100,00%0,461
Success VariableTest 100100,00%0,370

Test Cases

[ summary] [ package list] [ test cases]

AddAttributeTest

Success testAddAttributeNormalValue0,18
Success testAddAttributeNullValue0,00

AddNodeTest

Success testDom4jAddNodeClone0,18
Success testDom4jAddNodeCreateCopy0,00
Success testDom4jAddNodeBug0,00

AttributeDetachTest

Success testDetachAttribute0,16

BackedListTest

Success testXPaths0,18
Success testAddRemove0,00
Success testAddWithIndex0,01

BeansTest

Success testReadXML2,96

CloneTest

Success testBug11483330,07
Success testElementWithNamespaceClone0,00
Success testDocumentClone0,01
Success testAddCloneToOtherElement0,00
Success testRootElementClone0,00
Success testAuthorElementClone0,11
Success testRootCompare10,00
Success testRootCompare20,00
Success testAuthorCompare10,00
Success testAuthorCompare20,00

ContentTest

Success testRoot0,05
Success testContent0,00
Success testGetNode0,00
Success testGetXPathNode0,00
Success testOrderOfPI0,05
Success testAddingInTheMiddle0,00
Success testAddAtIndex0,00
Success testAddAtIndex20,00

CopyTest

Success testRoot0,05

AutoSchemaTest

Success testIntAttribute0,41
Success testIntElement0,03
Success testString0,01
Success testDate0,02
Success testDateTime0,01
Success testInteger0,01

Datatype2Test

Success testSchema0,26
Success testSchemaWithNamedComplexType0,01
Success testSchemaWithReference0,02
Success testSchemaWithNamedSimpleType0,02

DataTypesTest

Success testgMonthDay0,41
Success testgDay0,01
Success testgMonth0,02
Success testDate0,00
Success testTime0,01
Success testDateTime0,02
Success testgYearMonth0,00
Success testgYear0,01
Success testBoolean0,01
Success testBase64Binary0,01
Success testHexBinary0,01
Success testFloat0,01
Success testDouble0,01
Success testDecimal0,02
Success testInteger0,01
Success testNonPositiveInteger0,01
Success testNegativeInteger0,01
Success testLong0,02
Success testInt0,01
Success testShort0,01
Success testByte0,00
Success testNonNegativeInteger0,01
Success testUnsignedLong0,01
Success testUnsignedInt0,01
Success testUnsignedShort0,02
Success testUnsignedByte0,00
Success testPositiveInteger0,01

ManualSchemaPrefixTest

Success testIntAttribute0,36
Success testIntElement0,03
Success testString0,02
Success testDate0,02
Success testDateTime0,02
Success testInteger0,03

ManualSchemaTest

Success testIntAttribute0,46
Success testIntElement0,03
Success testString0,02
Success testDate0,02
Success testDateTime0,02
Success testInteger0,03

SchemaParseTest

Success testParseSchema0,36

SetDataTest

Success testAttribute0,19
Success testAttributeWithNamespace0,03
Success testElement0,02

DetachTest

Success testRoot0,06

DocTypeTest

Success testDocType0,16

DOMTest

Success testCount0,19
Success testNamespace0,03
Success testClassCastBug0,01
Success testReplaceChild0,00

AttributeDeclTest

Success testIdImpliedNone0,06
Success testCDataFixedValue0,00
Success testCDataNoneValue0,00

ElementDeclTest

Success testSimpleElementDecl0,07

ExternalEntityDeclTest

Success testToString0,06
Success testSystemId0,00
Success testPublicIdSystemId0,00

InternalEntityDeclTest

Success testToString0,06
Success testParameterEntity0,00
Success testGeneralEntity0,00

ElementByIDTest

Success testElementByID0,22

EmbeddedHandlerTest

Success testMainReader0,15
Success testOnEndReader0,02
Success testBothReaders0,02

GetQNamesTest

Success testQNames0,13
Success testRename0,00

GetXMLEncodingTest

Success testXMLEncodingFromString0,11
Success testXMLEncodingFromURL0,05
Success testXMLEncodingFromStringWithHelper0,00

HTMLWriterTest

Success testWriter0,11
Success testBug9238820,00
Success testBug923882asWriter0,00
Success testBug923882asWriterWithEmptyCharArray0,00
Success testBug6194150,02

IndexedElementTest

Success testXPaths0,19

DispatchHandlerTest

Success testBug6114450,13

DocumentSourceTest

Success testBug5555490,20

DOMReaderTest

Success testBug9727370,11

DOMWriterTest

Success testNamespaceBug0,16
Success testBug9057450,01
Success testBug9267520,00

DTDTest

Success testInternalDTDSubset0,19
Success testExternalDTDSubset0,01
Success testMixedDTDSubset0,01

SAXReaderTest

Success testReadFile0,11
Success testEncoding0,00
Success testRussian0,04
Success testRussian20,01
Success testBug8337650,03
Success testBug5270620,11
Success testEscapedComment0,00

StaxTest

Success testEncoding0,13

WriteUnmergedTextTest

Success testWithoutFormatNonMerged0,13
Success testWithCompactFormatNonMerged0,00
Success testWithPrettyPrintFormatNonMerged0,01
Success testWithoutFormatMerged0,00
Success testWithCompactFormatMerged0,00
Success testWithPrettyPrintFormatMerged0,00

XPP3ReaderTest

Success testRussian0,10
Success testRussian20,01

IsTextOnlyTest

Success testDocument0,06

IteratorTest

Success testElementCount0,06
Success testPlainIteration0,00
Success testSkipAlternates0,00
Success testNoHasNext0,00
Success testExtraHasNexts0,00

LineFeedTest

Success testElement0,10
Success testAttribute0,00
Success testCDATA0,01
Success testXmlWriter0,01

MakeElementTest

Success testMakeElement0,15
Success testMakeQualifiedElement0,00

MergeTextTest

Success testNoAdjacentText0,11

NamespacesTest

Success testNamespaces0,17
Success testNamespaceForPrefix0,01
Success testNamespaceForDefaultPrefix0,12
Success testAttributeDefaultPrefix0,03
Success testNamespaceForURI0,02
Success testRedeclareNamespaces0,06
Success testDefaultNamespaceIssue0,15
Success testDefaultNamespace0,01

NamespaceTest

Success testGetElement0,09
Success testGetElements0,01
Success testElementIterator0,01
Success testNamespaceUriMap0,11

NodeTypeNameTest

Success testDocument0,05
Success testCDATA0,04
Success testNamespaces0,02
Success testPI0,00
Success testInline0,04

NormalizeTest

Success testNormalize0,21

NullAttributesTest

Success testStringNames0,02
Success testQNames0,00
Success testAttributes0,00

ParentTest

Success testDocument0,06
Success testFragment0,00

ParseTextTest

Success testDocument0,21

ProcessingInstructionTest

Success testParseValues0,06
Success testBug7874280,00

RoundTripTest

Success testTextRoundTrip0,23
Success testSAXRoundTrip0,06
Success testDOMRoundTrip0,08
Success testJAXPRoundTrip0,10
Success testFullRoundTrip0,14
Success testRoundTrip2,06

PriorityTest

Success testNameNode0,16
Success testFilter0,01
Success testURI0,00
Success testAnyNode0,00

RuleTest

Success testOrder0,15
Success testDocument0,00
Success testTextMatchesCDATA0,01

StylesheetTest

Success testRules0,23
Success testLittleDoc0,05
Success testFireRuleForNode0,01

SAXContentHandlerTest

Success testSAXContentHandler0,20
Success testBug9267130,01

SerializeTest

Success testSerializePeriodicTable0,98
Success testSerializeMuchAdo0,97
Success testSerializeTestSchema0,03
Success testSerializeXPath0,17

SetContentTest

Success testDocument0,05
Success testRootElement0,00

SetTextTest

Success testSetText10,16
Success testSetText20,00

TableModelTest

Success testServletTable0,30
Success testServletTableViaXMLDescription0,01

ThreadingTest

Success testCombo
Success testCombo
Success testCombo
Success testCombo
Success testCombo0,24
Success testCombo0,01
Success testCombo0,03
Success testCombo0,06
Success testCombo0,07
Success testCombo0,02
Success testCombo0,00
Success testCombo0,01
Success testCombo0,02
Success testCombo0,09
Success testCombo0,01
Success testCombo0,00
Success testCombo0,01
Success testCombo0,02
Success testCombo0,06
Success testCombo0,00
Success testCombo0,01
Success testCombo
Success testCombo0,04
Success testCombo0,01
Success testCombo0,07
Success testCombo0,01
Success testCombo0,02
Success testCombo0,00
Success testCombo0,03
Success testCombo0,02
Success testCombo0,00
Success testCombo0,02
Success testCombo0,02
Success testCombo0,03
Success testCombo0,02
Success testCombo0,00
Success testCombo0,07
Success testCombo0,02
Success testCombo0,01
Success testCombo0,01
Success testCombo0,04
Success testCombo0,04
Success testCombo0,02
Success testCombo0,01
Success testCombo0,01
Success testCombo0,01
Success testCombo0,03
Success testCombo0,02
Success testCombo0,02
Success testCombo0,04
Success testQNameCache
Success testQNameCache
Success testQNameCache
Success testQNameCache
Success testQNameCache0,66
Success testQNameCache0,06
Success testQNameCache0,06
Success testQNameCache0,01
Success testQNameCache0,06
Success testQNameCache0,80
Success testQNameCache0,05
Success testQNameCache0,01
Success testQNameCache0,21
Success testQNameCache0,09
Success testQNameCache0,37
Success testQNameCache0,06
Success testQNameCache0,01
Success testQNameCache0,06
Success testQNameCache0,10
Success testQNameCache0,46
Success testQNameCache0,04
Success testQNameCache0,00
Success testQNameCache0,15
Success testQNameCache0,20
Success testQNameCache0,29
Success testQNameCache0,06
Success testQNameCache0,02
Success testQNameCache0,03
Success testQNameCache0,16
Success testQNameCache0,23
Success testQNameCache0,09
Success testQNameCache0,02
Success testQNameCache0,04
Success testQNameCache0,14
Success testQNameCache0,24
Success testQNameCache0,06
Success testQNameCache0,02
Success testQNameCache0,15
Success testQNameCache0,08
Success testQNameCache0,24
Success testQNameCache0,01
Success testQNameCache0,01
Success testQNameCache0,23
Success testQNameCache0,07
Success testQNameCache0,26
Success testQNameCache0,04
Success testQNameCache0,01
Success testQNameCache0,17
Success testQNameCache0,03
Success testQNameCache0,40

CDataTest

Success testNullTest0,06
Success testNormal0,00
Success testLongCData0,11

DefaultDocumentTest

Success testDoubleRootElement0,05
Success testBug7996560,05
Success testAsXMLWithEncoding0,01
Success testBug11569090,00
Success testAsXMLWithEncodingAndContent0,00
Success testEncoding0,00

DefaultElementTest

Success testParentAfterSetContent0,19
Success testGetStringValue0,01
Success testBug8948780,01
Success testGetNamespacesForURI0,00
Success testDeclaredNamespaces0,00
Success testAdditionalNamespaces0,01

NamespaceCacheTest

Success testGetSameNamespaceSingleThread0,09
Success testGetSameNamespaceMultiThread0,06
Success testGetNewNamespaceSingleThread0,16
Success testGetNewNamespaceMultiThread0,07

UserDataTest

Success testSetData0,12
Success testCloneAttribute0,00
Success testNewAdditions0,01
Success testNewDocument0,00

SimpleSingletonTest

Success testFirstInstance0,00
Success testSecondInstance0,00

ValidationTest

Success testValidation0,09

XMLResultTest

Success testWriter0,10

XMLSpaceAttributeTest

Success testWithTextTrimOn0,21
Success testWithTextTrimOff0,01
Success testWithTextTrimOnFollow0,01
Success testWithTextTrimOnNested0,01
Success testWithEscapeTextTrimOn0,01

XMLWriterTest

Success testBug11807910,10
Success testBug11197330,01
Success testBug1119733WithSAXEvents0,00
Success testWriter0,00
Success testEncodingFormats0,00
Success testWritingEmptyElement0,01
Success testWriterBug0,01
Success testNamespaceBug0,00
Success testContentHandler0,11
Success testWhitespaceBug0,01
Success testWhitespaceBug20,00
Success testPadding0,00
Success testPadding20,00
Success testPrettyPrinting0,01
Success testAttributeQuotes0,00
Success testBug8684080,01
Success testBug9238820,00
Success testEscapeXML0,01
Success testWriteEntities0,04
Success testEscapeChars0,00
Success testEscapeText0,00
Success testNullCData0,00

AttributeTest

Success testXPaths0,19

BadPathTest

Success testBadPaths0,10

BooleanTest

Success testXPaths0,19

FilterTest

Success testXPaths0,35

GetPathTest

Success testGetPath0,07
Success testDefaultNamespace0,05
Success testBug7704100,13
Success testBug5699270,00

MatrixConcatTest

Success testMatrixConcat0,22

NamespaceTest

Success testXPaths0,22

NumberTest

Success testXPaths0,20

ObjectTest

Success testXPaths0,17

PrefixTest

Success testXPaths0,21

SelectSingleNodeTest

Success testSelectSingleNode0,25
Success testSteensBug0,04

SortByTest

Success testXPaths0,62

SubstringTest

Success testSubstring0,21

TextTest

Success testXPaths0,15

UriMapTest

Success testURIMap0,21

ValueOfTest

Success testXPaths0,21

VariableTest

Success testXPaths0,14

XPathBugTest

Success testXPaths0,25
Success testRobLebowitz0,01
Success testStefan0,01
Success testMikeSkells0,00

XPathExamplesTest

Success testXPaths1,07

XPathTest

Success testBug11164710,20
Success testXPaths0,06
Success testCreateXPathBug0,00
Success testBug8577040,00
Success testBooleanValueOf0,01

XSLTTest

Success testTransform0,47