public abstract class XPathTestBase
extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
protected static boolean |
debug |
protected static String |
TESTS_XML |
protected static String |
VAR_URI |
protected static boolean |
verbose |
Modifier | Constructor and Description |
---|---|
protected |
XPathTestBase(String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
getDocument(String url) |
protected abstract Navigator |
getNavigator() |
void |
log(String text) |
protected void |
setUp() |
void |
testAbsoluteLocationPaths()
test behavior of AbsoluteLocationPath
|
void |
testAttributeAsContext()
attributes can also be used as context nodes
|
void |
testAttributeParent() |
void |
testAxisNodeOrdering()
test axis node ordering
|
void |
testCDATASectionsAreIncludedInTextNodes()
Jaxen-67, affects Jelly and Maven
|
void |
testCorrectPredicateApplication() |
void |
testCountFunction() |
void |
testCountFunctionMore() |
void |
testDocumentFunction1()
test document function
|
void |
testDocumentFunctionActual() |
void |
testDocumentFunctionContextExample()
Test to check if the context changes when an extension function is used.
|
void |
testFloatingPointArithmetic() |
void |
testForParserErrors()
parser test cases all of which should fail
|
void |
testGetNodeType() |
void |
testid53992() |
void |
testid54032()
test evaluate() extension function
|
void |
testid54082() |
void |
testid54145()
test sibling axes
|
void |
testid54156() |
void |
testid54168() |
void |
testid54180() |
void |
testid54197() |
void |
testid54219() |
void |
testid54249() |
void |
testid54266() |
void |
testid54278() |
void |
testid54298()
test name
|
void |
testid54467() |
void |
testid54522()
test predicates
|
void |
testid54534() |
void |
testid54570() |
void |
testid54614() |
void |
testid54853() |
void |
testid54932() |
void |
testIntegerArithmetic()
test basic math...
|
void |
testJaxen24()
test for jaxen-24
|
void |
testJaxen3()
test for jaxen-3
|
void |
testJaxen3dupe()
test for jaxen-3
|
void |
testJaxen58()
jaxen-58
|
void |
testLangFunction()
test cases for the lang() function
|
void |
testNamespaceNodeAsContext()
namespace nodes can also be used as context nodes
|
void |
testNamespaceNodeCounts() |
void |
testNamespaceNodeCounts1() |
void |
testNamespaceNodesHaveParent() |
void |
testNamespaceResolution() |
void |
testNamespaces() |
void |
testNamespacesAgain()
test namespace
|
void |
testNodesetEqualsNumber() |
void |
testNodesetEqualsString()
test cases for the use of = with node-sets
|
void |
testNodeTypes()
test other node types
|
void |
testNoNamespace() |
void |
testNormalizeSpaceFunction()
Some tests for the normalize-space() function
|
void |
testPositioning()
test positioning
|
void |
testPrecedingSiblingAxis()
test cases for preceding axis with different node types
|
void |
testPrefixDoesntMatter()
the prefix here and in the document have no relation; it's their
namespace-uri binding that counts
|
void |
testStringExtensionFunctions()
test cases for String extension functions
|
void |
testStringFunction1() |
void |
testStringFunction2() |
void |
testStringFunction3() |
void |
testSubstringFunction() |
void |
testTextNodes() |
void |
testTranslateFunction()
test the translate() function
|
void |
testUnderscoresInNames()
test cases for the use of underscores in names
|
void |
testVariableLookup() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
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, failNotEquals, failNotSame, failSame
protected static String VAR_URI
protected static String TESTS_XML
protected static boolean verbose
protected static boolean debug
protected XPathTestBase(String name)
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void log(String text)
protected abstract Navigator getNavigator()
public void testGetNodeType() throws FunctionCallException, UnsupportedAxisException
public void testJaxen24() throws JaxenException
JaxenException
public void testJaxen58() throws JaxenException
JaxenException
public void testJaxen3() throws JaxenException
JaxenException
public void testStringFunction1() throws JaxenException
JaxenException
public void testStringFunction2() throws JaxenException
JaxenException
public void testStringFunction3() throws JaxenException
JaxenException
public void testJaxen3dupe() throws JaxenException
JaxenException
public void testForParserErrors() throws JaxenException
JaxenException
public void testUnderscoresInNames() throws JaxenException
JaxenException
public void testNodesetEqualsString() throws JaxenException
JaxenException
public void testNodesetEqualsNumber() throws JaxenException
JaxenException
public void testIntegerArithmetic() throws JaxenException
JaxenException
public void testFloatingPointArithmetic() throws JaxenException
JaxenException
public void testPrecedingSiblingAxis() throws JaxenException
JaxenException
public void testVariableLookup() throws JaxenException
JaxenException
public void testAttributeParent() throws JaxenException
JaxenException
public void testAttributeAsContext() throws JaxenException
JaxenException
public void testid53992() throws JaxenException
JaxenException
public void testid54032() throws JaxenException
JaxenException
public void testid54082() throws JaxenException
JaxenException
public void testid54145() throws JaxenException
JaxenException
public void testid54156() throws JaxenException
JaxenException
public void testid54168() throws JaxenException
JaxenException
public void testid54180() throws JaxenException
JaxenException
public void testid54197() throws JaxenException
JaxenException
public void testid54219() throws JaxenException
JaxenException
public void testid54249() throws JaxenException
JaxenException
public void testid54266() throws JaxenException
JaxenException
public void testid54278() throws JaxenException
JaxenException
public void testid54298() throws JaxenException
JaxenException
public void testid54467() throws JaxenException
JaxenException
public void testid54522() throws JaxenException
JaxenException
public void testid54534() throws JaxenException
JaxenException
public void testid54570() throws JaxenException
JaxenException
public void testid54614() throws JaxenException
JaxenException
public void testNodeTypes() throws JaxenException
JaxenException
public void testPositioning() throws JaxenException
JaxenException
public void testid54853() throws JaxenException
JaxenException
public void testid54932() throws JaxenException
JaxenException
public void testCountFunction() throws JaxenException
JaxenException
public void testCountFunctionMore() throws JaxenException
JaxenException
public void testCorrectPredicateApplication() throws JaxenException
JaxenException
public void testAxisNodeOrdering() throws JaxenException
JaxenException
public void testDocumentFunction1() throws JaxenException
JaxenException
public void testDocumentFunctionContextExample() throws JaxenException
JaxenException
public void testDocumentFunctionActual() throws JaxenException
JaxenException
public void testAbsoluteLocationPaths() throws JaxenException
JaxenException
public void testTranslateFunction() throws JaxenException
JaxenException
public void testSubstringFunction() throws JaxenException
JaxenException
public void testNormalizeSpaceFunction() throws JaxenException
JaxenException
public void testStringExtensionFunctions() throws JaxenException
JaxenException
public void testLangFunction() throws JaxenException
JaxenException
public void testNamespacesAgain() throws JaxenException
JaxenException
public void testPrefixDoesntMatter() throws JaxenException
JaxenException
public void testCDATASectionsAreIncludedInTextNodes() throws JaxenException
JaxenException
public void testNamespaces() throws JaxenException
JaxenException
public void testNoNamespace() throws JaxenException
JaxenException
public void testNamespaceResolution() throws JaxenException
JaxenException
public void testTextNodes() throws JaxenException
JaxenException
public void testNamespaceNodeCounts1() throws JaxenException
JaxenException
public void testNamespaceNodeCounts() throws JaxenException
JaxenException
public void testNamespaceNodesHaveParent() throws JaxenException
JaxenException
public void testNamespaceNodeAsContext() throws JaxenException
JaxenException
Copyright © 2001–2019 The Jaxen Project. All rights reserved.