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

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.147
net.sourceforge.pmd.lang.xml.rule 4 0 0 0 100% 0.014
net.sourceforge.pmd.lang.xsl.rule.xpath 5 0 0 0 100% 0.056
net.sourceforge.pmd.ant 1 0 0 0 100% 0.501
net.sourceforge.pmd 8 0 0 0 100% 0.308
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.004
XmlParserTest 10 0 0 0 100% 0.143

net.sourceforge.pmd.lang.xml.rule

Class Tests Errors Failures Skipped Success Rate Time
AbstractDomXmlRuleTest 3 0 0 0 100% 0.012
AbstractXmlRuleTest 1 0 0 0 100% 0.002

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

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

net.sourceforge.pmd.ant

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

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

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.002
testGetLanguageVersionForTerseName[0] 0
testFindVersionsForLanguageNameAndVersion[1] 0
testGetLanguageVersionForTerseName[1] 0

RuleSetFactoryTest

testDtd 0.043
testXmlSchema 0.024
testReadWriteRoundTrip 0.229
testAllPMDBuiltInRulesMeetConventions 0.01

PMDTaskTest

testXML 0.501

XmlParserOptionsTest

testEqualsHashcode 0.002
testDefaults 0.001
testSetters 0
testConstructor 0.001

XmlParserTest

testParsingDoNotExpandEntities 0.058
testParsingIgnoreComments 0.009
testWithProcessingInstructions 0.011
testParsingNotNamespaceAware 0.008
testDefaultParsing 0.007
testParsingIgnoreElementContentWhitespace 0.006
testParsingWithValidation 0.024
testDefaultParsingNamespaces 0.007
testParsingCoalescingEnabled 0.006
testLineNumbers 0.007

AbstractDomXmlRuleTest

dtdIsNotLookedUp 0.003
testVisit 0.005
xsdIsNotLookedUp 0.004

AbstractXmlRuleTest

testVisit 0.002

BasicRulesTest

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

XPathRulesTest

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