Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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 14 0 0 0 100% 0.163
net.sourceforge.pmd.lang.xml.rule 4 0 0 0 100% 0.063
net.sourceforge.pmd.lang.xsl.rule.xpath 5 0 0 0 100% 0.069
net.sourceforge.pmd.ant 1 0 0 0 100% 0.643
net.sourceforge.pmd 8 0 0 0 100% 0.408
net.sourceforge.pmd.lang.xml.rule.basic 5 0 0 0 100% 0.043

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

net.sourceforge.pmd.lang.xml

Class Tests Errors Failures Skipped Success Rate Time
XmlParserOptionsTest 4 0 0 0 100% 0.005
XmlParserTest 10 0 0 0 100% 0.158

net.sourceforge.pmd.lang.xml.rule

Class Tests Errors Failures Skipped Success Rate Time
AbstractDomXmlRuleTest 3 0 0 0 100% 0.058
AbstractXmlRuleTest 1 0 0 0 100% 0.005

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

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

net.sourceforge.pmd.ant

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

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.406

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

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

Test Cases

[Summary] [Package List] [Test Cases]

LanguageVersionTest

testFindVersionsForLanguageNameAndVersion[0] 0.001
testGetLanguageVersionForTerseName[0] 0.001
testFindVersionsForLanguageNameAndVersion[1] 0
testGetLanguageVersionForTerseName[1] 0

RuleSetFactoryTest

testDtd 0.057
testXmlSchema 0.041
testReadWriteRoundTrip 0.294
testAllPMDBuiltInRulesMeetConventions 0.014

PMDTaskTest

testXML 0.643

XmlParserOptionsTest

testEqualsHashcode 0.004
testDefaults 0
testSetters 0
testConstructor 0.001

XmlParserTest

testParsingDoNotExpandEntities 0.053
testParsingIgnoreComments 0.009
testWithProcessingInstructions 0.012
testParsingNotNamespaceAware 0.016
testDefaultParsing 0.01
testParsingIgnoreElementContentWhitespace 0.01
testParsingWithValidation 0.023
testDefaultParsingNamespaces 0.008
testParsingCoalescingEnabled 0.009
testLineNumbers 0.008

AbstractDomXmlRuleTest

dtdIsNotLookedUp 0.036
testVisit 0.017
xsdIsNotLookedUp 0.005

AbstractXmlRuleTest

testVisit 0.005

BasicRulesTest

MistypedCDATASection::0 No CDATASection 0.008
MistypedCDATASection::1 Valid CDATASection 0.008
MistypedCDATASection::2 CDATASection with [ and ] in it, but not at the ends 0.007
MistypedCDATASection::3 CDATASection with [ at the beginning 0.009
MistypedCDATASection::4 CDATASection with ] at the end 0.011

XPathRulesTest

AvoidAxisNavigation::0 Basic scenario 0.022
AvoidAxisNavigation::1 using an axis name as an node name 0.014
AvoidAxisNavigation::2 using an axis descendant::self abreviation with checkSelfDescendantAbreviation @true 0.015
UseConcatOnce::0 Basic scenario 0.007
UseConcatOnce::1 Valid use of concat() 0.011