Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
365 0 0 0 100% 5.672

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.jxpath.ri.axes 9 0 0 0 100% 0.074
org.apache.commons.jxpath.ri.model.dynamic 18 0 0 0 100% 0.077
org.apache.commons.jxpath.util 11 0 0 0 100% 0.284
org.apache.commons.jxpath.ri.model.dom 33 0 0 0 100% 0.911
org.apache.commons.jxpath.servlet 4 0 0 0 100% 0.036
org.apache.commons.jxpath.ri 30 0 0 0 100% 3.166
org.apache.commons.jxpath.ri.model.beans 52 0 0 0 100% 0.107
org.apache.commons.jxpath.ri.model.container 4 0 0 0 100% 0.009
org.apache.commons.jxpath.ri.compiler 47 0 0 0 100% 0.295
org.apache.commons.jxpath.ri.model 71 0 0 0 100% 0.25
org.apache.commons.jxpath.ri.model.jdom 33 0 0 0 100% 0.322
org.apache.commons.jxpath 3 0 0 0 100% 0.025
org.apache.commons.jxpath.ri.model.dynabeans 50 0 0 0 100% 0.116

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

org.apache.commons.jxpath.ri.axes

Class Tests Errors Failures Skipped Success Rate Time
RecursiveAxesTest 1 0 0 0 100% 0.012
SimplePathInterpreterTest 8 0 0 0 100% 0.062

org.apache.commons.jxpath.ri.model.dynamic

Class Tests Errors Failures Skipped Success Rate Time
DynamicPropertiesModelTest 18 0 0 0 100% 0.077

org.apache.commons.jxpath.util

Class Tests Errors Failures Skipped Success Rate Time
BasicTypeConverterTest 11 0 0 0 100% 0.284

org.apache.commons.jxpath.ri.model.dom

Class Tests Errors Failures Skipped Success Rate Time
DOMModelTest 33 0 0 0 100% 0.911

org.apache.commons.jxpath.servlet

Class Tests Errors Failures Skipped Success Rate Time
JXPathServletContextTest 4 0 0 0 100% 0.036

org.apache.commons.jxpath.ri

Class Tests Errors Failures Skipped Success Rate Time
JXPathCompiledExpressionTest 29 0 0 0 100% 0.033
StressTest 1 0 0 0 100% 3.133

org.apache.commons.jxpath.ri.model.beans

Class Tests Errors Failures Skipped Success Rate Time
BadlyImplementedFactoryTest 1 0 0 0 100% 0.002
BeanModelTest 51 0 0 0 100% 0.105

org.apache.commons.jxpath.ri.model.container

Class Tests Errors Failures Skipped Success Rate Time
ContainerModelTest 4 0 0 0 100% 0.009

org.apache.commons.jxpath.ri.compiler

Class Tests Errors Failures Skipped Success Rate Time
ContextDependencyTest 1 0 0 0 100% 0.004
CoreFunctionTest 5 0 0 0 100% 0.17
CoreOperationTest 4 0 0 0 100% 0.01
ExtensionFunctionTest 17 0 0 0 100% 0.044
VariableTest 20 0 0 0 100% 0.067

org.apache.commons.jxpath.ri.model

Class Tests Errors Failures Skipped Success Rate Time
EmbeddedColonMapKeysTest 2 0 0 0 100% 0.003
EmptyCollectionTest 6 0 0 0 100% 0.005
ExternalXMLNamespaceTest 3 0 0 0 100% 0.008
MixedModelTest 40 0 0 0 100% 0.157
XMLPreserveSpaceTest 10 0 0 0 100% 0.042
XMLSpaceTest 10 0 0 0 100% 0.035

org.apache.commons.jxpath.ri.model.jdom

Class Tests Errors Failures Skipped Success Rate Time
JDOMModelTest 33 0 0 0 100% 0.322

org.apache.commons.jxpath

Class Tests Errors Failures Skipped Success Rate Time
BasicNodeSetTest 3 0 0 0 100% 0.025

org.apache.commons.jxpath.ri.model.dynabeans

Class Tests Errors Failures Skipped Success Rate Time
DynaBeanModelTest 50 0 0 0 100% 0.116

Test Cases

BasicNodeSetTest

testAdd 0.01
testRemove 0.004
testNodes 0.009

RecursiveAxesTest

testInfiniteDescent 0.01

SimplePathInterpreterTest

testDoStepNoPredicatesPropertyOwner 0.013
testDoStepNoPredicatesStandard 0.004
testDoStepPredicatesPropertyOwner 0.003
testDoStepPredicatesStandard 0.005
testDoPredicateName 0.015
testDoPredicatesStandard 0.006
testDoPredicateIndex 0.005
testInterpretExpressionPath 0.003

ContextDependencyTest

testContextDependency 0.003

CoreFunctionTest

testCoreFunctions 0.007
testIDFunction 0.004
testKeyFunction 0.004
testExtendedKeyFunction 0.006
testFormatNumberFunction 0.143

CoreOperationTest

testInfoSetTypes 0.002
testNodeSetOperations 0.002
testEmptyNodeSetOperations 0.001
testNan 0.003

ExtensionFunctionTest

testConstructorLookup 0.002
testConstructorLookupWithExpressionContext 0.001
testStaticMethodLookup 0
testStaticMethodLookupWithConversion 0.001
testMethodLookup 0
testStaticMethodLookupWithExpressionContext 0
testMethodLookupWithExpressionContext 0
testMethodLookupWithExpressionContextAndArgument 0
testAllocation 0.001
testMethodCall 0.002
testCollectionMethodCall 0.005
testStaticMethodCall 0.002
testExpressionContext 0.015
testCollectionReturn 0.001
testNodeSetReturn 0.002
testEstablishNodeSetBaseline 0.003
testBCNodeSetHack 0.002

VariableTest

testVariables 0.002
testVariablesInExpressions 0.004
testInvalidVariableName 0.002
testNestedContext 0.002
testSetValue 0.002
testCreatePathDeclareVariable 0.004
testCreatePathAndSetValueDeclareVariable 0.005
testCreatePathDeclareVariableSetCollectionElement 0.002
testCreateAndSetValuePathDeclareVariableSetCollectionElement 0.002
testCreatePathExpandCollection 0.002
testCreatePathAndSetValueExpandCollection 0.004
testCreatePathDeclareVariableSetProperty 0.006
testCreatePathAndSetValueDeclareVariableSetProperty 0.004
testCreatePathDeclareVariableSetCollectionElementProperty 0.002
testCreatePathAndSetValueDeclVarSetCollectionElementProperty 0.002
testRemovePathUndeclareVariable 0.005
testRemovePathArrayElement 0.003
testRemovePathCollectionElement 0.002
testUnionOfVariableAndNode 0.004
testIterateVariable 0.004

JXPathCompiledExpressionTest

testConstant 0.001
testCoreFunction 0.002
testCoreOperationAnd 0.002
testCoreOperationOr 0.001
testCoreOperationEqual 0.001
testCoreOperationNameAttributeTest 0
testCoreOperationNotEqual 0
testCoreOperationLessThan 0.002
testCoreOperationLessThanOrEqual 0
testCoreOperationGreaterThan 0
testCoreOperationGreaterThanOrEqual 0
testCoreOperationDivide 0.002
testCoreOperationMod 0.001
testCoreOperationMultiply 0.001
testCoreOperationMinus 0
testCoreOperationSum 0.001
testCoreOperationUnaryMinus 0
testCoreOperationUnion 0
testExpressionPath 0
testExtensionFunction 0.001
testLocationPathAxisSelf 0.001
testLocationPathAxisChild 0
testLocationPathAxisParent 0.001
testLocationPathAxisAttribute 0
testLocationPathAxisDescendant 0
testLocationPathAxisDescendantOrSelf 0.001
testLocationPathAxisOther 0.001
testLocationPathNodeTest 0.001
testVariableReference 0

BadlyImplementedFactoryTest

testBadFactoryImplementation 0

BeanModelTest

testIndexedProperty 0.002
testCoreFunctions 0.001
testRemovePathArrayElement 0.001
testIndividualIterators 0
testMultipleIterators 0.005
testIteratePropertyArrayWithHasNext 0.001
testIteratePropertyArrayWithoutHasNext 0
testIterateAndSet 0.001
testIteratePointerSetValue 0.001
testRoot 0
testAxisAncestor 0.001
testAxisChild 0.002
testAxisChildNestedBean 0
testAxisChildNestedCollection 0.001
testIndexPredicate 0.002
testAxisDescendant 0.01
testAxisDescendantOrSelf 0.008
testAxisFollowing 0.002
testAxisFollowingSibling 0.01
testAxisParent 0.005
testAxisPreceding 0
testAxisPrecedingSibling 0.003
testAxisSelf 0.001
testUnion 0.001
testAxisAttribute 0.002
testAttributeName 0
testAttributeLang 0.001
testBooleanPredicate 0.009
testDocumentOrder 0.001
testSetPropertyValue 0
testSetCollectionElement 0
testSetContextDependentNode 0.001
testSetNonPrimitiveValue 0
testCreatePath 0.001
testCreatePathAndSetValue 0
testCreatePathExpandNewCollection 0
testCreatePathAndSetValueExpandNewCollection 0
testCreatePathExpandExistingCollection 0.001
testCreatePathExpandExistingCollectionAndSetProperty 0
testCreatePathAndSetValueExpandExistingCollection 0
testCreatePathCreateBeanExpandCollection 0.001
testCreatePathAndSetValueCreateBeanExpandCollection 0
testRemovePathPropertyValue 0
testRemoveAllArrayElements 0
testRemoveAllListElements 0
testRemoveAllMapEntries 0
testRemovePathBeanValue 0.001
testRelativeContextRelativePath 0
testRelativeContextAbsolutePath 0
testRelativeContextParent 0.001
testRelativeContextInheritance 0.004

ContainerModelTest

testContainerVariableWithCollection 0.002
testContainerPropertyWithCollection 0.003
testContainerMapWithCollection 0
testContainerRootWithCollection 0.001

DOMModelTest

testGetNode 0.338
testNodes 0.015
testSetValue 0.021
testAxisAncestor 0.035
testAxisChild 0.026
testAxisDescendant 0.019
testAxisFollowing 0.019
testAxisFollowingSibling 0.038
testAxisParent 0.011
testAxisPreceding 0.01
testAxisPrecedingSibling 0.008
testAxisSelf 0.014
testUnion 0.03
testAxisAttribute 0.015
testDocumentOrder 0.012
testCreatePath 0.016
testCreatePathAndSetValue 0.011
testRemovePath 0.012
testID 0.023
testAxisChildIndexPredicate 0.009
testAxisNamespace 0.036
testAxisAncestorOrSelf 0.009
testNodeTypeComment 0.008
testNodeTypeText 0.007
testNodeTypeProcessingInstruction 0.013
testLang 0.008
testDocument 0.014
testContainer 0.01
testElementInVariable 0.008
testTypeConversions 0.007
testBooleanFunction 0.01
testFunctionsLastAndPosition 0.006
testNamespaceMapping 0.022

DynaBeanModelTest

testCoreFunctions 0.01
testRemovePathArrayElement 0
testIndividualIterators 0.002
testMultipleIterators 0.015
testIteratePropertyArrayWithHasNext 0
testIteratePropertyArrayWithoutHasNext 0.002
testIterateAndSet 0
testIteratePointerSetValue 0.001
testRoot 0
testAxisAncestor 0.001
testAxisChild 0.005
testAxisChildNestedBean 0.001
testAxisChildNestedCollection 0
testIndexPredicate 0.001
testAxisDescendant 0.014
testAxisDescendantOrSelf 0.009
testAxisFollowing 0.005
testAxisFollowingSibling 0.007
testAxisParent 0.005
testAxisPreceding 0
testAxisPrecedingSibling 0.003
testAxisSelf 0
testUnion 0.001
testAxisAttribute 0.001
testAttributeName 0
testAttributeLang 0.001
testBooleanPredicate 0.011
testDocumentOrder 0.001
testSetPropertyValue 0
testSetCollectionElement 0
testSetContextDependentNode 0
testSetNonPrimitiveValue 0
testCreatePath 0
testCreatePathAndSetValue 0
testCreatePathExpandNewCollection 0
testCreatePathAndSetValueExpandNewCollection 0.001
testCreatePathExpandExistingCollection 0
testCreatePathExpandExistingCollectionAndSetProperty 0
testCreatePathAndSetValueExpandExistingCollection 0
testCreatePathCreateBeanExpandCollection 0.001
testCreatePathAndSetValueCreateBeanExpandCollection 0
testRemovePathPropertyValue 0
testRemoveAllArrayElements 0
testRemoveAllListElements 0.001
testRemoveAllMapEntries 0
testRemovePathBeanValue 0
testRelativeContextRelativePath 0
testRelativeContextAbsolutePath 0
testRelativeContextParent 0
testRelativeContextInheritance 0

DynamicPropertiesModelTest

testRemovePathArrayElement 0.002
testAxisChild 0.002
testAxisDescendant 0.004
testAttributeName 0.002
testCreatePath 0.001
testCreatePathAndSetValue 0
testRemovePath 0
testSetPrimitiveValue 0
testSetCollection 0
testSetNewKey 0.027
testCreatePathCreateBean 0
testCreatePathAndSetValueCreateBean 0.001
testCreatePathCollectionElement 0.003
testCreatePathAndSetValueCollectionElement 0.001
testCreatePathNewCollectionElement 0.002
testCreatePathAndSetValueNewCollectionElement 0.002
testCollectionOfMaps 0.001
testMapOfMaps 0.015

EmbeddedColonMapKeysTest

testSelectNodes 0.001
testSelectSingleNode 0.001

EmptyCollectionTest

testEmptyList 0
testEmptyArray 0
testEmptySet 0
testEmptyChildList 0.003
testEmptyChildArray 0
testEmptyChildSet 0

ExternalXMLNamespaceTest

testAttributeDOM 0.004
testElementDOM 0.002
testCreateAndSetAttributeDOM 0.001

JDOMModelTest

testGetNode 0.053
testID 0.007
testNodes 0.007
testSetValue 0.012
testAxisAncestor 0.008
testAxisChild 0.008
testAxisDescendant 0.011
testAxisFollowing 0.01
testAxisFollowingSibling 0.005
testAxisParent 0.018
testAxisPreceding 0.006
testAxisPrecedingSibling 0.004
testAxisSelf 0.005
testUnion 0.006
testAxisAttribute 0.015
testDocumentOrder 0.01
testCreatePath 0.007
testCreatePathAndSetValue 0.009
testRemovePath 0.011
testAxisChildIndexPredicate 0.01
testAxisNamespace 0.008
testAxisAncestorOrSelf 0.01
testNodeTypeComment 0.008
testNodeTypeText 0.006
testNodeTypeProcessingInstruction 0.007
testLang 0.005
testDocument 0.006
testContainer 0.006
testElementInVariable 0.004
testTypeConversions 0.006
testBooleanFunction 0.006
testFunctionsLastAndPosition 0.004
testNamespaceMapping 0.008

MixedModelTest

testCreatePath 0.004
testVar 0.003
testVarPrimitive 0.003
testVarBean 0.003
testVarMap 0.003
testVarList 0.003
testVarDocument 0.003
testVarElement 0.006
testVarContainer 0.003
testBeanPrimitive 0.002
testBeanBean 0.002
testBeanMap 0.001
testBeanList 0.002
testBeanDocument 0.002
testBeanElement 0.002
testBeanContainer 0.002
testMapPrimitive 0.004
testMapBean 0.004
testMapMap 0.004
testMapList 0.002
testMapDocument 0.002
testMapElement 0.003
testMapContainer 0.011
testListPrimitive 0.002
testListBean 0.002
testListMap 0.005
testListList 0.002
testListDocument 0.005
testListElement 0.003
testListContainer 0.003
testNull 0.005
testRootAsCollection 0.003
testIterateArray 0.003
testIteratePointersArray 0.003
testIteratePointersArrayElementWithVariable 0.004
testIterateVector 0.002
testErrorProperty 0.004
testMatrix 0.002
testCreatePathAndSetValueWithMatrix 0.004
testCollectionPointer 0.004

XMLPreserveSpaceTest

testUnspecifiedDOM 0.005
testDefaultDOM 0.006
testPreserveDOM 0.003
testNestedDOM 0.003
testNestedWithCommentsDOM 0.003
testUnspecifiedJDOM 0.005
testDefaultJDOM 0.003
testPreserveJDOM 0.003
testNestedJDOM 0.002
testNestedWithCommentsJDOM 0.002

XMLSpaceTest

testUnspecifiedDOM 0.004
testDefaultDOM 0.002
testPreserveDOM 0.003
testNestedDOM 0.005
testNestedWithCommentsDOM 0.003
testUnspecifiedJDOM 0.003
testDefaultJDOM 0.003
testPreserveJDOM 0.002
testNestedJDOM 0.005
testNestedWithCommentsJDOM 0.002

StressTest

testThreads 3.131

JXPathServletContextTest

testServletContext 0.008
testServletRequest 0.014
testServletRequestWithoutSession 0
testPageContext 0.007

BasicTypeConverterTest

testPrimitiveToString 0
testArrayToList 0
testArrayToArray 0.001
testListToArray 0
testInvalidConversion 0.058
testSingletonCollectionToString 0
testSingletonArrayToString 0
testPointerToString 0.001
testNodeSetToString 0.001
testNodeSetToInteger 0
testBeanUtilsConverter 0