Apache Commons logo Commons JXPath

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
386 0 0 0 100% 2.923

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
org.apache.commons.jxpath.ri.model.dynamic 18 0 0 0 100% 0.023
org.apache.commons.jxpath.ri 32 0 0 0 100% 1.481
org.apache.commons.jxpath.servlet 4 0 0 0 100% 0.017
org.apache.commons.jxpath 3 0 0 0 100% 0.302
org.apache.commons.jxpath.ri.model 81 0 0 0 100% 0.179
org.apache.commons.jxpath.ri.compiler 48 0 0 0 100% 0.222
org.apache.commons.jxpath.ri.axes 9 0 0 0 100% 0.091
org.apache.commons.jxpath.ri.model.beans 52 0 0 0 100% 0.093
org.apache.commons.jxpath.ri.model.dom 34 0 0 0 100% 0.206
org.apache.commons.jxpath.ri.model.container 4 0 0 0 100% 0
org.apache.commons.jxpath.util 15 0 0 0 100% 0.018
org.apache.commons.jxpath.ri.model.dynabeans 52 0 0 0 100% 0.119
org.apache.commons.jxpath.ri.model.jdom 34 0 0 0 100% 0.172

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

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

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

org.apache.commons.jxpath.ri

Class Tests Errors Failures Skipped Success Rate Time
ExceptionHandlerTest 2 0 0 0 100% 0.006
JXPathCompiledExpressionTest 29 0 0 0 100% 0.011
StressTest 1 0 0 0 100% 1.464

org.apache.commons.jxpath.servlet

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

org.apache.commons.jxpath

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

org.apache.commons.jxpath.ri.model

Class Tests Errors Failures Skipped Success Rate Time
AliasedNamespaceIterationTest 2 0 0 0 100% 0.026
EmbeddedColonMapKeysTest 2 0 0 0 100% 0
EmptyCollectionTest 6 0 0 0 100% 0.001
ExternalXMLNamespaceTest 3 0 0 0 100% 0.008
JXPath151Test 2 0 0 0 100% 0.002
JXPath154Test 2 0 0 0 100% 0.003
MixedModelTest 40 0 0 0 100% 0.083
XMLPreserveSpaceTest 10 0 0 0 100% 0.021
XMLSpaceTest 10 0 0 0 100% 0.027
XMLUpperCaseElementsTest 4 0 0 0 100% 0.008

org.apache.commons.jxpath.ri.compiler

Class Tests Errors Failures Skipped Success Rate Time
ContextDependencyTest 1 0 0 0 100% 0
CoreFunctionTest 5 0 0 0 100% 0.044
CoreOperationTest 4 0 0 0 100% 0.012
ExtensionFunctionTest 17 0 0 0 100% 0.103
JXPath149Test 1 0 0 0 100% 0
VariableTest 20 0 0 0 100% 0.063

org.apache.commons.jxpath.ri.axes

Class Tests Errors Failures Skipped Success Rate Time
RecursiveAxesTest 1 0 0 0 100% 0.003
SimplePathInterpreterTest 8 0 0 0 100% 0.088

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

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

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

Class Tests Errors Failures Skipped Success Rate Time
DOMModelTest 34 0 0 0 100% 0.206

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

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

org.apache.commons.jxpath.util

Class Tests Errors Failures Skipped Success Rate Time
BasicTypeConverterTest 11 0 0 0 100% 0.016
ClassLoaderUtilTest 4 0 0 0 100% 0.002

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

Class Tests Errors Failures Skipped Success Rate Time
DynaBeanModelTest 50 0 0 0 100% 0.115
LazyDynaBeanTest 2 0 0 0 100% 0.004

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

Class Tests Errors Failures Skipped Success Rate Time
JDOMModelTest 34 0 0 0 100% 0.172

Test Cases

[Summary] [Package List] [Test Cases]

BasicNodeSetTest

testAdd 0.288
testRemove 0.005
testNodes 0.009

RecursiveAxesTest

testInfiniteDescent 0.003

SimplePathInterpreterTest

testDoStepNoPredicatesPropertyOwner 0.025
testDoStepNoPredicatesStandard 0.009
testDoStepPredicatesPropertyOwner 0.005
testDoStepPredicatesStandard 0.007
testDoPredicateName 0.016
testDoPredicatesStandard 0.008
testDoPredicateIndex 0.01
testInterpretExpressionPath 0.008

ContextDependencyTest

testContextDependency 0

CoreFunctionTest

testCoreFunctions 0.011
testIDFunction 0.005
testKeyFunction 0.005
testExtendedKeyFunction 0.006
testFormatNumberFunction 0.017

CoreOperationTest

testInfoSetTypes 0.006
testNodeSetOperations 0.001
testEmptyNodeSetOperations 0.002
testNan 0.003

ExtensionFunctionTest

testConstructorLookup 0.002
testConstructorLookupWithExpressionContext 0
testStaticMethodLookup 0.001
testStaticMethodLookupWithConversion 0
testMethodLookup 0
testStaticMethodLookupWithExpressionContext 0
testMethodLookupWithExpressionContext 0
testMethodLookupWithExpressionContextAndArgument 0.001
testAllocation 0.001
testMethodCall 0.002
testCollectionMethodCall 0.002
testStaticMethodCall 0.05
testExpressionContext 0.024
testCollectionReturn 0.001
testNodeSetReturn 0.003
testEstablishNodeSetBaseline 0.007
testBCNodeSetHack 0.009

JXPath149Test

testComplexOperationWithVariables 0

VariableTest

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

ExceptionHandlerTest

testHandleFoo 0.005
testHandleBarBaz 0.001

JXPathCompiledExpressionTest

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

AliasedNamespaceIterationTest

testIterateDOM 0
testIterateJDOM 0.026

BadlyImplementedFactoryTest

testBadFactoryImplementation 0

BeanModelTest

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

ContainerModelTest

testContainerVariableWithCollection 0
testContainerPropertyWithCollection 0
testContainerMapWithCollection 0
testContainerRootWithCollection 0

DOMModelTest

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

DynaBeanModelTest

testCoreFunctions 0.012
testRemovePathArrayElement 0.001
testIndividualIterators 0
testMultipleIterators 0.01
testIteratePropertyArrayWithHasNext 0.001
testIteratePropertyArrayWithoutHasNext 0
testIterateAndSet 0
testIteratePointerSetValue 0.001
testRoot 0
testAxisAncestor 0
testAxisChild 0.005
testAxisChildNestedBean 0
testAxisChildNestedCollection 0
testIndexPredicate 0.001
testAxisDescendant 0.017
testAxisDescendantOrSelf 0.02
testAxisFollowing 0.002
testAxisFollowingSibling 0.012
testAxisParent 0.009
testAxisPreceding 0.001
testAxisPrecedingSibling 0.004
testAxisSelf 0
testUnion 0.002
testAxisAttribute 0.001
testAttributeName 0
testAttributeLang 0
testBooleanPredicate 0.01
testDocumentOrder 0
testSetPropertyValue 0.001
testSetCollectionElement 0
testSetContextDependentNode 0
testSetNonPrimitiveValue 0
testCreatePath 0.001
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.001
testRelativeContextInheritance 0

LazyDynaBeanTest

testLazyProperty 0.002
testStrictLazyDynaBeanPropertyFactory 0.002

DynamicPropertiesModelTest

testRemovePathArrayElement 0.001
testAxisChild 0
testAxisDescendant 0.001
testAttributeName 0.001
testCreatePath 0
testCreatePathAndSetValue 0
testRemovePath 0
testSetPrimitiveValue 0
testSetCollection 0
testSetNewKey 0.012
testCreatePathCreateBean 0.001
testCreatePathAndSetValueCreateBean 0
testCreatePathCollectionElement 0
testCreatePathAndSetValueCollectionElement 0.001
testCreatePathNewCollectionElement 0
testCreatePathAndSetValueNewCollectionElement 0.001
testCollectionOfMaps 0
testMapOfMaps 0.005

EmbeddedColonMapKeysTest

testSelectSingleNode 0
testSelectNodes 0

EmptyCollectionTest

testEmptyList 0
testEmptyArray 0
testEmptySet 0
testEmptyChildList 0.001
testEmptyChildArray 0
testEmptyChildSet 0

ExternalXMLNamespaceTest

testAttributeDOM 0.004
testElementDOM 0.001
testCreateAndSetAttributeDOM 0.003

JDOMModelTest

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

JXPath151Test

testMapValueEquality 0.001
testMapValueEqualityUsingNameAttribute 0.001

JXPath154Test

testInnerEmptyNamespaceDOM 0.001
testInnerEmptyNamespaceJDOM 0.002

MixedModelTest

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

XMLPreserveSpaceTest

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

XMLSpaceTest

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

XMLUpperCaseElementsTest

testBasicGetDOM 0.001
testBasicGetJDOM 0.002
testBasicIterateDOM 0.003
testBasicIterateJDOM 0.002

StressTest

testThreads 1.464

JXPathServletContextTest

testServletContext 0.006
testServletRequest 0.006
testServletRequestWithoutSession 0
testPageContext 0.005

BasicTypeConverterTest

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

ClassLoaderUtilTest

testClassLoadFailWithoutContextClassLoader 0.002
testClassLoadSuccessWithContextClassLoader 0
testCurrentClassLoaderFallback 0
testClassLoadSuccessWithoutContextClassLoader 0