• 0.18.1

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
57 0 0 0 100% 28.804

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
com.jcabi.xml 57 0 0 0 100% 28.804

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

com.jcabi.xml

Class Tests Errors Failures Skipped Success Rate Time
ClasspathInputTest 1 0 0 0 100% 0.177
DomParserTest 6 0 0 0 100% 1.221
TextResourceTest 2 0 0 0 100% 1.358
XPathContextTest 5 0 0 0 100% 0.051
ClasspathSourcesTest 1 0 0 0 100% 0.001
XSDDocumentTest 5 0 0 0 100% 2.078
XSLDocumentTest 7 0 0 0 100% 5.095
XMLDocumentTest 19 0 0 0 100% 11.382
StrictXMLTest 9 0 0 0 100% 6.703
FileSourcesTest 1 0 0 0 100% 0.002
XSLChainTest 1 0 0 0 100% 0.736

Test Cases

[Summary] [Package List] [Test Cases]

ClasspathInputTest

readsStringFromResourceSuccessfully 0.177

DomParserTest

allowsValidXmlFormatting 0.151
parsesIncomingXmlDocumentComment 1.217
throwsWhenInvalidXml 0.155
throwsWhenInvalidElement 0.126
parsesIncomingXmlDocument 1.211
throwsWhenNonXmlDocument 0.002

TextResourceTest

readsStreamAsText 0.174
readsFileAsText 0.091

XPathContextTest

findsNamespaceByPrefix 0.028
findsNonBoundNamespaces 0.019
findsDefaultNamespaces 0.001
findsPrefixesByNamespace 0.022
findsPrefixByNamespace 0.001

ClasspathSourcesTest

sourcesResolvedFromBase 0.001

XSDDocumentTest

validatesComplexXml 1.87
validatesMultipleXmlsInThreads 1.954
validatesLongXml 1.557
validatesXml 1.762
detectsSchemaViolations 1.155

XSLDocumentTest

makesXslTransformationsInThreads 5.095
transformsWithImports 3.035
stripsXml 2.581
transformsIntoText 2.374
transformsIntoTextWithParams 2.342
makesXslTransformations 2.83
transformsIntoTextWithIntegerParams 2.149

XMLDocumentTest

convertsItselfToXml 0.03
throwsWhenXpathQueryIsBroken 0.035
preservesProcessingInstructions 0.012
findsWithXpathAndNamespaces 0.186
retrievesDomNode 0.034
printsWithAndWithoutXmlHeader 0.028
findsWithXpathWithCustomNamespace 0.122
preservesXmlNamespaces 0.022
preservesImmutability 0.025
findsDocumentNodesWithXpathAndReturnsThem 0.017
xpathInMultipleThreads 8.33
appliesXpathToClonedNode 0.006
buildsDomNode 0.083
comparesToAnotherDocument 0.024
performsXpathCalculations 0.098
printsInMultipleThreads 10.902
parsesInMultipleThreads 2.26
throwsCustomExceptionWhenXpathNotFound 0.066
findsDocumentNodesWithXpath 0.009

StrictXMLTest

passesValidXmlThrough 1.719
rejectXmlWhenXsdIsNotAvailableOnClasspath 1.323
validatesMultipleXmlsInThreads 2.768
rejectsInvalidXmlThrough 1.421
handlesXmlWithoutSchemaLocation 1.066
passesValidXmlWithNetworkProblems 5.474
lookupXsdsFromClasspath 0.033
rejectsInvalidXmlUsingXsiSchemaLocation 1.336
passesValidXmlUsingXsiSchemaLocation 1.511

FileSourcesTest

sourcesResolvedFromDir 0.002

XSLChainTest

makesXslTransformations 0.736