Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
37 0 0 0 100% 0.792

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
net.sourceforge.pmd.lang.xml.rule 4 0 0 0 100% 0.012
net.sourceforge.pmd.ant 1 0 0 0 100% 0.341
net.sourceforge.pmd.lang.xml 14 0 0 0 100% 0.102
net.sourceforge.pmd 8 0 0 0 100% 0.272
net.sourceforge.pmd.lang.xsl.rule.xpath 5 0 0 0 100% 0.035
net.sourceforge.pmd.lang.xml.rule.basic 5 0 0 0 100% 0.03

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

net.sourceforge.pmd.lang.xml.rule

Class Tests Errors Failures Skipped Success Rate Time
AbstractDomXmlRuleTest 3 0 0 0 100% 0.008
AbstractXmlRuleTest 1 0 0 0 100% 0.004

net.sourceforge.pmd.ant

Class Tests Errors Failures Skipped Success Rate Time
PMDTaskTest 1 0 0 0 100% 0.341

net.sourceforge.pmd.lang.xml

Class Tests Errors Failures Skipped Success Rate Time
XmlParserTest 10 0 0 0 100% 0.1
XmlParserOptionsTest 4 0 0 0 100% 0.002

net.sourceforge.pmd

Class Tests Errors Failures Skipped Success Rate Time
LanguageVersionTest 4 0 0 0 100% 0.002
RuleSetFactoryTest 4 0 0 0 100% 0.27

net.sourceforge.pmd.lang.xsl.rule.xpath

Class Tests Errors Failures Skipped Success Rate Time
XPathRulesTest 5 0 0 0 100% 0.035

net.sourceforge.pmd.lang.xml.rule.basic

Class Tests Errors Failures Skipped Success Rate Time
BasicRulesTest 5 0 0 0 100% 0.03

Test Cases

[Summary] [Package List] [Test Cases]

AbstractDomXmlRuleTest

dtdIsNotLookedUp 0.003
testVisit 0.003
xsdIsNotLookedUp 0.002

XmlParserTest

testParsingDoNotExpandEntities 0.031
testParsingIgnoreComments 0.006
testWithProcessingInstructions 0.01
testParsingNotNamespaceAware 0.005
testDefaultParsing 0.005
testParsingIgnoreElementContentWhitespace 0.005
testParsingWithValidation 0.008
testDefaultParsingNamespaces 0.003
testParsingCoalescingEnabled 0.016
testLineNumbers 0.011

BasicRulesTest

MistypedCDATASection::0 No CDATASection 0.005
MistypedCDATASection::1 Valid CDATASection 0.01
MistypedCDATASection::2 CDATASection with [ and ] in it, but not at the ends 0.006
MistypedCDATASection::3 CDATASection with [ at the beginning 0.005
MistypedCDATASection::4 CDATASection with ] at the end 0.004

PMDTaskTest

testXML 0.341

AbstractXmlRuleTest

testVisit 0.004

XPathRulesTest

AvoidAxisNavigation::0 Basic scenario 0.012
AvoidAxisNavigation::1 using an axis name as an node name 0.008
AvoidAxisNavigation::2 using an axis descendant::self abreviation with checkSelfDescendantAbreviation @true 0.005
UseConcatOnce::0 Basic scenario 0.005
UseConcatOnce::1 Valid use of concat() 0.005

LanguageVersionTest

testFindVersionsForLanguageNameAndVersion[0] 0.002
testGetLanguageVersionForTerseName[0] 0
testFindVersionsForLanguageNameAndVersion[1] 0
testGetLanguageVersionForTerseName[1] 0

RuleSetFactoryTest

testDtd 0.052
testXmlSchema 0.025
testReadWriteRoundTrip 0.182
testAllPMDBuiltInRulesMeetConventions 0.011

XmlParserOptionsTest

testEqualsHashcode 0.002
testDefaults 0
testSetters 0
testConstructor 0