Spring Web Services Framework

org.springframework.xml.xpath
Class AbstractXPathExpressionFactoryTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.xml.xpath.AbstractXPathExpressionFactoryTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
JaxenXPathExpressionFactoryTest, Jaxp13XPathExpressionFactoryTest

public abstract class AbstractXPathExpressionFactoryTestCase
extends junit.framework.TestCase


Constructor Summary
AbstractXPathExpressionFactoryTestCase()
           
 
Method Summary
protected abstract  org.springframework.xml.xpath.XPathExpression createXPathExpression(String expression)
           
protected abstract  org.springframework.xml.xpath.XPathExpression createXPathExpression(String expression, Map namespaces)
           
protected  void setUp()
           
 void testEvaluate()
           
 void testEvaluateAsBooleanInvalidNamespaces()
           
 void testEvaluateAsBooleanInvalidNoNamespaces()
           
 void testEvaluateAsBooleanNamespaces()
           
 void testEvaluateAsBooleanNoNamespaces()
           
 void testEvaluateAsDoubleInvalidNamespaces()
           
 void testEvaluateAsDoubleInvalidNoNamespaces()
           
 void testEvaluateAsDoubleNamespaces()
           
 void testEvaluateAsDoubleNoNamespaces()
           
 void testEvaluateAsNodeInvalidNamespaces()
           
 void testEvaluateAsNodeInvalidNoNamespaces()
           
 void testEvaluateAsNodeListNamespaces()
           
 void testEvaluateAsNodeListNoNamespaces()
           
 void testEvaluateAsNodeNamespaces()
           
 void testEvaluateAsNodeNoNamespaces()
           
 void testEvaluateAsObject()
           
 void testEvaluateAsStringInvalidNamespaces()
           
 void testEvaluateAsStringInvalidNoNamespaces()
           
 void testEvaluateAsStringNamespaces()
           
 void testEvaluateAsStringNoNamespaces()
           
 void testInvalidExpression()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractXPathExpressionFactoryTestCase

public AbstractXPathExpressionFactoryTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testEvaluateAsBooleanInvalidNamespaces

public void testEvaluateAsBooleanInvalidNamespaces()
                                            throws IOException,
                                                   SAXException
Throws:
IOException
SAXException

testEvaluateAsBooleanInvalidNoNamespaces

public void testEvaluateAsBooleanInvalidNoNamespaces()
                                              throws IOException,
                                                     SAXException
Throws:
IOException
SAXException

testEvaluateAsBooleanNamespaces

public void testEvaluateAsBooleanNamespaces()
                                     throws IOException,
                                            SAXException
Throws:
IOException
SAXException

testEvaluateAsBooleanNoNamespaces

public void testEvaluateAsBooleanNoNamespaces()
                                       throws IOException,
                                              SAXException
Throws:
IOException
SAXException

testEvaluateAsDoubleInvalidNamespaces

public void testEvaluateAsDoubleInvalidNamespaces()
                                           throws IOException,
                                                  SAXException
Throws:
IOException
SAXException

testEvaluateAsDoubleInvalidNoNamespaces

public void testEvaluateAsDoubleInvalidNoNamespaces()
                                             throws IOException,
                                                    SAXException
Throws:
IOException
SAXException

testEvaluateAsDoubleNamespaces

public void testEvaluateAsDoubleNamespaces()
                                    throws IOException,
                                           SAXException
Throws:
IOException
SAXException

testEvaluateAsDoubleNoNamespaces

public void testEvaluateAsDoubleNoNamespaces()
                                      throws IOException,
                                             SAXException
Throws:
IOException
SAXException

testEvaluateAsNodeInvalidNamespaces

public void testEvaluateAsNodeInvalidNamespaces()
                                         throws IOException,
                                                SAXException
Throws:
IOException
SAXException

testEvaluateAsNodeInvalidNoNamespaces

public void testEvaluateAsNodeInvalidNoNamespaces()
                                           throws IOException,
                                                  SAXException
Throws:
IOException
SAXException

testEvaluateAsNodeNamespaces

public void testEvaluateAsNodeNamespaces()
                                  throws IOException,
                                         SAXException
Throws:
IOException
SAXException

testEvaluateAsNodeNoNamespaces

public void testEvaluateAsNodeNoNamespaces()
                                    throws IOException,
                                           SAXException
Throws:
IOException
SAXException

testEvaluateAsNodeListNamespaces

public void testEvaluateAsNodeListNamespaces()
                                      throws IOException,
                                             SAXException
Throws:
IOException
SAXException

testEvaluateAsNodeListNoNamespaces

public void testEvaluateAsNodeListNoNamespaces()
                                        throws IOException,
                                               SAXException
Throws:
IOException
SAXException

testEvaluateAsStringInvalidNamespaces

public void testEvaluateAsStringInvalidNamespaces()
                                           throws IOException,
                                                  SAXException
Throws:
IOException
SAXException

testEvaluateAsStringInvalidNoNamespaces

public void testEvaluateAsStringInvalidNoNamespaces()
                                             throws IOException,
                                                    SAXException
Throws:
IOException
SAXException

testEvaluateAsStringNamespaces

public void testEvaluateAsStringNamespaces()
                                    throws IOException,
                                           SAXException
Throws:
IOException
SAXException

testEvaluateAsStringNoNamespaces

public void testEvaluateAsStringNoNamespaces()
                                      throws IOException,
                                             SAXException
Throws:
IOException
SAXException

testEvaluateAsObject

public void testEvaluateAsObject()
                          throws Exception
Throws:
Exception

testEvaluate

public void testEvaluate()
                  throws Exception
Throws:
Exception

testInvalidExpression

public void testInvalidExpression()

createXPathExpression

protected abstract org.springframework.xml.xpath.XPathExpression createXPathExpression(String expression)

createXPathExpression

protected abstract org.springframework.xml.xpath.XPathExpression createXPathExpression(String expression,
                                                                                       Map namespaces)

Spring Web Services Framework

Copyright © 2005-2008 The Spring Web Services Framework. All Rights Reserved.