java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.commons.jxpath.JXPathTestCase
org.apache.commons.jxpath.ri.JXPathCompiledExpressionTest
- All Implemented Interfaces:
- junit.framework.Test
- public class JXPathCompiledExpressionTest
- extends org.apache.commons.jxpath.JXPathTestCase
Test compiler.
- Version:
- $Revision: 1.5 $ $Date: 2004/02/29 14:17:44 $
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class org.apache.commons.jxpath.JXPathTestCase |
assertDocumentOrder, assertXPathCreatePath, assertXPathCreatePathAndSetValue, assertXPathNodeType, assertXPathPointer, assertXPathPointerIterator, assertXPathPointerLenient, assertXPathSetValue, assertXPathSetValue, assertXPathValue, assertXPathValue, assertXPathValueAndPointer, assertXPathValueIterator, assertXPathValueLenient, assertXPathValueType, list, list, list, list, list, list, list, list, set, set, set, set, set |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
JXPathCompiledExpressionTest
public JXPathCompiledExpressionTest(java.lang.String name)
- Construct a new instance of this test case.
testConstant
public void testConstant()
testCoreFunction
public void testCoreFunction()
testCoreOperationAnd
public void testCoreOperationAnd()
testCoreOperationOr
public void testCoreOperationOr()
testCoreOperationEqual
public void testCoreOperationEqual()
testCoreOperationNameAttributeTest
public void testCoreOperationNameAttributeTest()
testCoreOperationNotEqual
public void testCoreOperationNotEqual()
testCoreOperationLessThan
public void testCoreOperationLessThan()
testCoreOperationLessThanOrEqual
public void testCoreOperationLessThanOrEqual()
testCoreOperationGreaterThan
public void testCoreOperationGreaterThan()
testCoreOperationGreaterThanOrEqual
public void testCoreOperationGreaterThanOrEqual()
testCoreOperationDivide
public void testCoreOperationDivide()
testCoreOperationMod
public void testCoreOperationMod()
testCoreOperationMultiply
public void testCoreOperationMultiply()
testCoreOperationMinus
public void testCoreOperationMinus()
testCoreOperationSum
public void testCoreOperationSum()
testCoreOperationUnaryMinus
public void testCoreOperationUnaryMinus()
testCoreOperationUnion
public void testCoreOperationUnion()
testExpressionPath
public void testExpressionPath()
testExtensionFunction
public void testExtensionFunction()
testLocationPathAxisSelf
public void testLocationPathAxisSelf()
testLocationPathAxisChild
public void testLocationPathAxisChild()
testLocationPathAxisParent
public void testLocationPathAxisParent()
testLocationPathAxisAttribute
public void testLocationPathAxisAttribute()
testLocationPathAxisDescendant
public void testLocationPathAxisDescendant()
testLocationPathAxisDescendantOrSelf
public void testLocationPathAxisDescendantOrSelf()
testLocationPathAxisOther
public void testLocationPathAxisOther()
testLocationPathNodeTest
public void testLocationPathNodeTest()
testVariableReference
public void testVariableReference()
assertXPathExpression
private void assertXPathExpression(java.lang.String xpath,
java.lang.Class expectedClass,
java.lang.String expected)
- Compiles the xpath into an Expression, checks the expression
class, converts the expression to string and checks that the string
matches the expected one.
assertXPathExpression
private void assertXPathExpression(java.lang.String xpath,
java.lang.Class expectedClass)