About Us Home Contributors License Components Sandbox Commons JXPath Overview User's Guide Javadoc (Release 1.2) Release Notes (1.2) Mailing lists Team CVS Project Documentation About JXPath Project Info Project Reports Unit Tests Metrics Source Xref Test Xref Project License Task List Development Process General Information Charter Volunteering Contributing Patches Releasing Components Jakarta Community Get Involved Mailing Lists Access CVS Repositories Commons Resources (Unofficial) Wiki Japanese Translation Korean Translation Related Apache Commons DB Commons XML Commons | ### Summary [ summary ] [ package list ] [ test cases ]
Tests | Errors | Failures | Success rate | Time(s)
--- | --- | --- | --- | ---
305 | 0 | 0 | 100.00% | 18.24
Note: failuresare anticipated and checked for with assertions while errorsare unanticipated. ### Package List [ summary ] [ package list ] [ test cases ]
Package | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
org.apache.commons.jxpath.ri.axes | 9 | 0 | 0 | 100.00% | 1.05
org.apache.commons.jxpath.ri.compiler | 39 | 0 | 0 | 100.00% | 2.52
org.apache.commons.jxpath.ri | 30 | 0 | 0 | 100.00% | 7.56
org.apache.commons.jxpath.ri.model.beans | 48 | 0 | 0 | 100.00% | 0.74
org.apache.commons.jxpath.ri.model.container | 4 | 0 | 0 | 100.00% | 0.42
org.apache.commons.jxpath.ri.model.dom | 30 | 0 | 0 | 100.00% | 1.45
org.apache.commons.jxpath.ri.model.dynabeans | 47 | 0 | 0 | 100.00% | 0.84
org.apache.commons.jxpath.ri.model.dynamic | 18 | 0 | 0 | 100.00% | 0.53
org.apache.commons.jxpath.ri.model.jdom | 30 | 0 | 0 | 100.00% | 1.59
org.apache.commons.jxpath.ri.model | 39 | 0 | 0 | 100.00% | 1.30
org.apache.commons.jxpath.util | 11 | 0 | 0 | 100.00% | 0.24
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 | Success Rate | Time
--- | --- | --- | --- | --- | ---
| RecursiveAxesTest | 1 | 0 | 0 | 100.00% | 0.391
| SimplePathInterpreterTest | 8 | 0 | 0 | 100.00% | 0.656
#### org.apache.commons.jxpath.ri.compiler
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| ContextDependencyTest | 1 | 0 | 0 | 100.00% | 0.265
| CoreFunctionTest | 4 | 0 | 0 | 100.00% | 0.640
| CoreOperationTest | 1 | 0 | 0 | 100.00% | 0.453
| ExtensionFunctionTest | 15 | 0 | 0 | 100.00% | 0.672
| VariableTest | 18 | 0 | 0 | 100.00% | 0.485
#### org.apache.commons.jxpath.ri
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| JXPathCompiledExpressionTest | 29 | 0 | 0 | 100.00% | 0.453
| StressTest | 1 | 0 | 0 | 100.00% | 7.109
#### org.apache.commons.jxpath.ri.model.beans
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| BeanModelTest | 48 | 0 | 0 | 100.00% | 0.735
#### org.apache.commons.jxpath.ri.model.container
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| ContainerModelTest | 4 | 0 | 0 | 100.00% | 0.422
#### org.apache.commons.jxpath.ri.model.dom
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| DOMModelTest | 30 | 0 | 0 | 100.00% | 1.454
#### org.apache.commons.jxpath.ri.model.dynabeans
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| DynaBeanModelTest | 47 | 0 | 0 | 100.00% | 0.844
#### org.apache.commons.jxpath.ri.model.dynamic
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| DynamicPropertiesModelTest | 18 | 0 | 0 | 100.00% | 0.531
#### org.apache.commons.jxpath.ri.model.jdom
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| JDOMModelTest | 30 | 0 | 0 | 100.00% | 1.594
#### org.apache.commons.jxpath.ri.model
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| MixedModelTest | 39 | 0 | 0 | 100.00% | 1.297
#### org.apache.commons.jxpath.util
Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| BasicTypeConverterTest | 11 | 0 | 0 | 100.00% | 0.235
### Test Cases [ summary ] [ package list ] [ test cases ] #### RecursiveAxesTest
| testInfiniteDescent | 0.25
#### SimplePathInterpreterTest
| testDoStepNoPredicatesPropertyOwner | 0.33
| testDoStepNoPredicatesStandard | 0.02
| testDoStepPredicatesPropertyOwner | 0.02
| testDoStepPredicatesStandard | 0.02
| testDoPredicateName | 0.05
| testDoPredicatesStandard | 0.02
| testDoPredicateIndex | 0.05
| testInterpretExpressionPath | 0.02
#### ContextDependencyTest
| testContextDependency | 0.11
#### CoreFunctionTest
| testCoreFunctions | 0.36
| testIDFunction | 0.08
| testKeyFunction | 0.02
| testFormatNumberFunction | 0.02
#### CoreOperationTest
| testInfoSetTypes | 0.28
#### ExtensionFunctionTest
| testConstructorLookup | 0.17
| testConstructorLookupWithExpressionContext | 0.00
| testStaticMethodLookup | 0.00
| testStaticMethodLookupWithConversion | 0.00
| testMethodLookup | 0.00
| testStaticMethodLookupWithExpressionContext | 0.00
| testMethodLookupWithExpressionContext | 0.00
| testMethodLookupWithExpressionContextAndArgument | 0.00
| testAllocation | 0.12
| testMethodCall | 0.02
| testCollectionMethodCall | 0.00
| testStaticMethodCall | 0.08
| testExpressionContext | 0.08
| testCollectionReturn | 0.03
| testNodeSetReturn | 0.00
#### VariableTest
| testVariables | 0.22
| testVariablesInExpressions | 0.06
| testInvalidVariableName | 0.00
| testNestedContext | 0.00
| testSetValue | 0.00
| testCreatePathDeclareVariable | 0.00
| testCreatePathAndSetValueDeclareVariable | 0.00
| testCreatePathDeclareVariableSetCollectionElement | 0.00
| testCreateAndSetValuePathDeclareVariableSetCollectionElement | 0.02
| testCreatePathExpandCollection | 0.00
| testCreatePathAndSetValueExpandCollection | 0.00
| testCreatePathDeclareVariableSetProperty | 0.02
| testCreatePathAndSetValueDeclareVariableSetProperty | 0.00
| testCreatePathDeclareVariableSetCollectionElementProperty | 0.00
| testCreatePathAndSetValueDeclVarSetCollectionElementProperty | 0.00
| testRemovePathUndeclareVariable | 0.00
| testRemovePathArrayElement | 0.00
| testRemovePathCollectionElement | 0.00
#### JXPathCompiledExpressionTest
| testConstant | 0.16
| testCoreFunction | 0.05
| testCoreOperationAnd | 0.02
| testCoreOperationOr | 0.00
| testCoreOperationEqual | 0.02
| testCoreOperationNameAttributeTest | 0.00
| testCoreOperationNotEqual | 0.02
| testCoreOperationLessThan | 0.00
| testCoreOperationLessThanOrEqual | 0.00
| testCoreOperationGreaterThan | 0.00
| testCoreOperationGreaterThanOrEqual | 0.00
| testCoreOperationDivide | 0.00
| testCoreOperationMod | 0.00
| testCoreOperationMultiply | 0.00
| testCoreOperationMinus | 0.00
| testCoreOperationSum | 0.02
| testCoreOperationUnaryMinus | 0.00
| testCoreOperationUnion | 0.00
| testExpressionPath | 0.00
| testExtensionFunction | 0.00
| testLocationPathAxisSelf | 0.00
| testLocationPathAxisChild | 0.02
| testLocationPathAxisParent | 0.00
| testLocationPathAxisAttribute | 0.00
| testLocationPathAxisDescendant | 0.00
| testLocationPathAxisDescendantOrSelf | 0.00
| testLocationPathAxisOther | 0.00
| testLocationPathNodeTest | 0.00
| testVariableReference | 0.00
#### BeanModelTest
| testIndexedProperty | 0.25
| testIndividualIterators | 0.02
| testMultipleIterators | 0.00
| testIteratePropertyArrayWithHasNext | 0.02
| testIteratePropertyArrayWithoutHasNext | 0.00
| testIterateAndSet | 0.02
| testIteratePointerSetValue | 0.00
| testRoot | 0.00
| testAxisAncestor | 0.00
| testAxisChild | 0.02
| testAxisChildNestedBean | 0.00
| testAxisChildNestedCollection | 0.00
| testIndexPredicate | 0.02
| testAxisDescendant | 0.03
| testAxisDescendantOrSelf | 0.03
| testAxisFollowing | 0.00
| testAxisFollowingSibling | 0.03
| testAxisParent | 0.02
| testAxisPreceding | 0.00
| testAxisPrecedingSibling | 0.02
| testAxisSelf | 0.00
| testUnion | 0.00
| testAxisAttribute | 0.02
| testAttributeName | 0.00
| testAttributeLang | 0.00
| testCoreFunctions | 0.00
| testBooleanPredicate | 0.05
| testDocumentOrder | 0.00
| testSetPropertyValue | 0.00
| testSetCollectionElement | 0.00
| testSetContextDependentNode | 0.00
| testSetNonPrimitiveValue | 0.00
| testCreatePath | 0.00
| testCreatePathAndSetValue | 0.00
| testCreatePathExpandNewCollection | 0.02
| testCreatePathAndSetValueExpandNewCollection | 0.00
| testCreatePathExpandExistingCollection | 0.00
| testCreatePathExpandExistingCollectionAndSetProperty | 0.00
| testCreatePathAndSetValueExpandExistingCollection | 0.00
| testCreatePathCreateBeanExpandCollection | 0.00
| testCreatePathAndSetValueCreateBeanExpandCollection | 0.00
| testRemovePathPropertyValue | 0.00
| testRemovePathArrayElement | 0.00
| testRemovePathBeanValue | 0.00
| testRelativeContextRelativePath | 0.00
| testRelativeContextAbsolutePath | 0.00
| testRelativeContextParent | 0.00
| testRelativeContextInheritance | 0.02
#### ContainerModelTest
| testContainerVariableWithCollection | 0.23
| testContainerPropertyWithCollection | 0.02
| testContainerMapWithCollection | 0.00
| testContainerRootWithCollection | 0.02
#### DOMModelTest
| testGetNode | 0.38
| testDocumentOrder | 0.05
| testSetValue | 0.03
| testCreatePath | 0.03
| testCreatePathAndSetValue | 0.06
| testRemovePath | 0.03
| testID | 0.03
| testAxisChild | 0.05
| testAxisChildIndexPredicate | 0.05
| testAxisDescendant | 0.02
| testAxisParent | 0.03
| testAxisFollowingSibling | 0.02
| testAxisPrecedingSibling | 0.02
| testAxisAttribute | 0.03
| testAxisNamespace | 0.05
| testAxisAncestor | 0.06
| testAxisAncestorOrSelf | 0.00
| testAxisFollowing | 0.05
| testAxisSelf | 0.02
| testNodeTypeComment | 0.02
| testNodeTypeText | 0.02
| testNodeTypeProcessingInstruction | 0.03
| testLang | 0.02
| testDocument | 0.02
| testContainer | 0.03
| testElementInVariable | 0.05
| testTypeConversions | 0.02
| testBooleanFunction | 0.08
| testFunctionsLastAndPosition | 0.02
| testNamespaceMapping | 0.02
#### DynaBeanModelTest
| testIndividualIterators | 0.20
| testMultipleIterators | 0.03
| testIteratePropertyArrayWithHasNext | 0.11
| testIteratePropertyArrayWithoutHasNext | 0.00
| testIterateAndSet | 0.03
| testIteratePointerSetValue | 0.02
| testRoot | 0.00
| testAxisAncestor | 0.02
| testAxisChild | 0.02
| testAxisChildNestedBean | 0.00
| testAxisChildNestedCollection | 0.00
| testIndexPredicate | 0.02
| testAxisDescendant | 0.03
| testAxisDescendantOrSelf | 0.05
| testAxisFollowing | 0.00
| testAxisFollowingSibling | 0.03
| testAxisParent | 0.02
| testAxisPreceding | 0.00
| testAxisPrecedingSibling | 0.02
| testAxisSelf | 0.00
| testUnion | 0.02
| testAxisAttribute | 0.00
| testAttributeName | 0.00
| testAttributeLang | 0.00
| testCoreFunctions | 0.02
| testBooleanPredicate | 0.03
| testDocumentOrder | 0.00
| testSetPropertyValue | 0.00
| testSetCollectionElement | 0.00
| testSetContextDependentNode | 0.00
| testSetNonPrimitiveValue | 0.00
| testCreatePath | 0.00
| testCreatePathAndSetValue | 0.00
| testCreatePathExpandNewCollection | 0.00
| testCreatePathAndSetValueExpandNewCollection | 0.00
| testCreatePathExpandExistingCollection | 0.00
| testCreatePathExpandExistingCollectionAndSetProperty | 0.00
| testCreatePathAndSetValueExpandExistingCollection | 0.00
| testCreatePathCreateBeanExpandCollection | 0.02
| testCreatePathAndSetValueCreateBeanExpandCollection | 0.00
| testRemovePathPropertyValue | 0.00
| testRemovePathArrayElement | 0.00
| testRemovePathBeanValue | 0.00
| testRelativeContextRelativePath | 0.00
| testRelativeContextAbsolutePath | 0.00
| testRelativeContextParent | 0.00
| testRelativeContextInheritance | 0.02
#### DynamicPropertiesModelTest
| testAxisChild | 0.25
| testAxisDescendant | 0.02
| testAttributeName | 0.02
| testSetPrimitiveValue | 0.00
| testSetCollection | 0.02
| testSetNewKey | 0.03
| testCreatePath | 0.00
| testCreatePathAndSetValue | 0.00
| testCreatePathCreateBean | 0.00
| testCreatePathAndSetValueCreateBean | 0.00
| testCreatePathCollectionElement | 0.00
| testCreatePathAndSetValueCollectionElement | 0.00
| testCreatePathNewCollectionElement | 0.00
| testCreatePathAndSetValueNewCollectionElement | 0.00
| testRemovePath | 0.02
| testRemovePathArrayElement | 0.00
| testCollectionOfMaps | 0.00
| testMapOfMaps | 0.02
#### JDOMModelTest
| testGetNode | 0.47
| testID | 0.03
| testDocumentOrder | 0.03
| testSetValue | 0.06
| testCreatePath | 0.03
| testCreatePathAndSetValue | 0.03
| testRemovePath | 0.02
| testAxisChild | 0.03
| testAxisChildIndexPredicate | 0.02
| testAxisDescendant | 0.02
| testAxisParent | 0.06
| testAxisFollowingSibling | 0.02
| testAxisPrecedingSibling | 0.02
| testAxisAttribute | 0.03
| testAxisNamespace | 0.05
| testAxisAncestor | 0.02
| testAxisAncestorOrSelf | 0.02
| testAxisFollowing | 0.03
| testAxisSelf | 0.03
| testNodeTypeComment | 0.02
| testNodeTypeText | 0.02
| testNodeTypeProcessingInstruction | 0.03
| testLang | 0.03
| testDocument | 0.05
| testContainer | 0.14
| testElementInVariable | 0.02
| testTypeConversions | 0.05
| testBooleanFunction | 0.02
| testFunctionsLastAndPosition | 0.02
| testNamespaceMapping | 0.02
#### MixedModelTest
| testVar | 0.39
| testVarPrimitive | 0.02
| testVarBean | 0.08
| testVarMap | 0.02
| testVarList | 0.03
| testVarDocument | 0.03
| testVarElement | 0.03
| testVarContainer | 0.02
| testBeanPrimitive | 0.02
| testBeanBean | 0.02
| testBeanMap | 0.02
| testBeanList | 0.02
| testBeanDocument | 0.00
| testBeanElement | 0.05
| testBeanContainer | 0.02
| testMapPrimitive | 0.02
| testMapBean | 0.00
| testMapMap | 0.02
| testMapList | 0.00
| testMapDocument | 0.02
| testMapElement | 0.02
| testMapContainer | 0.00
| testListPrimitive | 0.02
| testListBean | 0.00
| testListMap | 0.02
| testListList | 0.02
| testListDocument | 0.05
| testListElement | 0.02
| testListContainer | 0.00
| testNull | 0.06
| testRootAsCollection | 0.00
| testCreatePath | 0.02
| testIterateArray | 0.02
| testIteratePointersArray | 0.00
| testIteratePointersArrayElementWithVariable | 0.02
| testIterateVector | 0.02
| testErrorProperty | 0.03
| testMatrix | 0.02
| testCreatePathAndSetValueWithMatrix | 0.02
#### StressTest
| testThreads | 6.92
#### BasicTypeConverterTest
| testPrimitiveToString | 0.00
| testArrayToList | 0.00
| testArrayToArray | 0.00
| testListToArray | 0.00
| testInvalidConversion | 0.06
| testSingletonCollectionToString | 0.00
| testSingletonArrayToString | 0.00
| testPointerToString | 0.00
| testNodeSetToString | 0.00
| testNodeSetToInteger | 0.00
| testBeanUtilsConverter | 0.00