Spring Web Services Framework

org.springframework.ws.soap
Class AbstractSoapHeaderTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.custommonkey.xmlunit.XMLTestCase
              extended by org.springframework.ws.soap.AbstractSoapElementTestCase
                  extended by org.springframework.ws.soap.AbstractSoapHeaderTestCase
All Implemented Interfaces:
junit.framework.Test, org.custommonkey.xmlunit.XMLConstants, org.custommonkey.xmlunit.XSLTConstants
Direct Known Subclasses:
AbstractSoap11HeaderTestCase, AbstractSoap12HeaderTestCase

public abstract class AbstractSoapHeaderTestCase
extends AbstractSoapElementTestCase


Field Summary
protected static String NAMESPACE
           
protected static String PREFIX
           
protected  org.springframework.ws.soap.SoapHeader soapHeader
           
 
Fields inherited from class org.springframework.ws.soap.AbstractSoapElementTestCase
transformer
 
Fields inherited from interface org.custommonkey.xmlunit.XSLTConstants
XSLT_END, XSLT_IDENTITY_TEMPLATE, XSLT_START, XSLT_STRIP_WHITESPACE, XSLT_XML_OUTPUT_NOINDENT
 
Fields inherited from interface org.custommonkey.xmlunit.XMLConstants
CLOSE_NODE, END_CDATA, END_COMMENT, END_PROCESSING_INSTRUCTION, OPEN_END_NODE, OPEN_START_NODE, START_CDATA, START_COMMENT, START_DOCTYPE, START_PROCESSING_INSTRUCTION, XML_DECLARATION, XMLNS_PREFIX, XPATH_ATTRIBUTE_IDENTIFIER, XPATH_CHARACTER_NODE_IDENTIFIER, XPATH_COMMENT_IDENTIFIER, XPATH_NODE_INDEX_END, XPATH_NODE_INDEX_START, XPATH_PROCESSING_INSTRUCTION_IDENTIFIER, XPATH_SEPARATOR
 
Constructor Summary
AbstractSoapHeaderTestCase()
           
 
Method Summary
protected  void assertHeaderElementEqual(org.springframework.ws.soap.SoapHeaderElement headerElement, String expected)
           
protected  org.springframework.ws.soap.SoapElement createSoapElement()
           
protected abstract  org.springframework.ws.soap.SoapHeader createSoapHeader()
           
 void testAddHeaderElement()
           
 void testExamineAllHeaderElement()
           
 void testExamineMustUnderstandHeaderElements()
           
 void testGetResult()
           
 
Methods inherited from class org.springframework.ws.soap.AbstractSoapElementTestCase
setUp, testAttributes
 
Methods inherited from class org.custommonkey.xmlunit.XMLTestCase
assertNodeTestPasses, assertNodeTestPasses, assertNotXpathExists, assertNotXpathExists, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLIdentical, assertXMLIdentical, assertXMLIdentical, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathExists, assertXpathExists, assertXpathNotExists, assertXpathNotExists, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, compareXML, compareXML, compareXML, compareXML, compareXML, setControlParser, setIgnoreWhitespace, setTestParser
 
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
 

Field Detail

soapHeader

protected org.springframework.ws.soap.SoapHeader soapHeader

NAMESPACE

protected static final String NAMESPACE
See Also:
Constant Field Values

PREFIX

protected static final String PREFIX
See Also:
Constant Field Values
Constructor Detail

AbstractSoapHeaderTestCase

public AbstractSoapHeaderTestCase()
Method Detail

createSoapElement

protected final org.springframework.ws.soap.SoapElement createSoapElement()
                                                                   throws Exception
Specified by:
createSoapElement in class AbstractSoapElementTestCase
Throws:
Exception

createSoapHeader

protected abstract org.springframework.ws.soap.SoapHeader createSoapHeader()
                                                                    throws Exception
Throws:
Exception

testAddHeaderElement

public void testAddHeaderElement()
                          throws Exception
Throws:
Exception

testExamineAllHeaderElement

public void testExamineAllHeaderElement()
                                 throws Exception
Throws:
Exception

testExamineMustUnderstandHeaderElements

public void testExamineMustUnderstandHeaderElements()
                                             throws Exception
Throws:
Exception

testGetResult

public void testGetResult()
                   throws Exception
Throws:
Exception

assertHeaderElementEqual

protected void assertHeaderElementEqual(org.springframework.ws.soap.SoapHeaderElement headerElement,
                                        String expected)
                                 throws Exception
Throws:
Exception

Spring Web Services Framework

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