org.apache.axiom.test.jaxen
Class JaxenXPathTestBase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jaxen.test.XPathTestBase
              extended by org.apache.axiom.test.jaxen.JaxenXPathTestBase
All Implemented Interfaces:
junit.framework.Test

public abstract class JaxenXPathTestBase
extends XPathTestBase


Field Summary
 
Fields inherited from class org.jaxen.test.XPathTestBase
debug, TESTS_XML, VAR_URI, verbose
 
Constructor Summary
JaxenXPathTestBase(java.lang.String name)
           
 
Method Summary
protected abstract  org.jaxen.Navigator createNavigator()
           
protected  java.lang.Object getDocument(java.lang.String url)
           
protected  org.jaxen.Navigator getNavigator()
           
protected abstract  java.lang.Object loadDocument(java.io.InputStream in)
           
protected abstract  void releaseDocument(java.lang.Object document)
           
protected  void tearDown()
           
 
Methods inherited from class org.jaxen.test.XPathTestBase
log, setUp, testAbsoluteLocationPaths, testAttributeAsContext, testAttributeParent, testAxisNodeOrdering, testCDATASectionsAreIncludedInTextNodes, testCorrectPredicateApplication, testCountFunction, testCountFunctionMore, testDocumentFunction1, testDocumentFunctionActual, testDocumentFunctionContextExample, testFloatingPointArithmetic, testForParserErrors, testGetNodeType, testid53992, testid54032, testid54082, testid54145, testid54156, testid54168, testid54180, testid54197, testid54219, testid54249, testid54266, testid54278, testid54298, testid54467, testid54522, testid54534, testid54570, testid54614, testid54853, testid54932, testIntegerArithmetic, testJaxen24, testJaxen3, testJaxen3dupe, testJaxen58, testLangFunction, testNamespaceNodeAsContext, testNamespaceNodeCounts, testNamespaceNodeCounts1, testNamespaceNodesHaveParent, testNamespaceResolution, testNamespaces, testNamespacesAgain, testNodesetEqualsNumber, testNodesetEqualsString, testNodeTypes, testNoNamespace, testNormalizeSpaceFunction, testPositioning, testPrecedingSiblingAxis, testPrefixDoesntMatter, testStringExtensionFunctions, testStringFunction1, testStringFunction2, testStringFunction3, testSubstringFunction, testTextNodes, testTranslateFunction, testUnderscoresInNames, testVariableLookup
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaxenXPathTestBase

public JaxenXPathTestBase(java.lang.String name)
Method Detail

loadDocument

protected abstract java.lang.Object loadDocument(java.io.InputStream in)
                                          throws java.lang.Exception
Throws:
java.lang.Exception

releaseDocument

protected abstract void releaseDocument(java.lang.Object document)

createNavigator

protected abstract org.jaxen.Navigator createNavigator()

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

getDocument

protected final java.lang.Object getDocument(java.lang.String url)
                                      throws java.lang.Exception
Specified by:
getDocument in class XPathTestBase
Throws:
java.lang.Exception

getNavigator

protected final org.jaxen.Navigator getNavigator()
Specified by:
getNavigator in class XPathTestBase


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.