Spring Web Services Framework

org.springframework.ws.soap
Class AbstractSoapBodyTestCase

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.AbstractSoapBodyTestCase
All Implemented Interfaces:
junit.framework.Test, org.custommonkey.xmlunit.XMLConstants, org.custommonkey.xmlunit.XSLTConstants
Direct Known Subclasses:
AbstractSoap11BodyTestCase, AbstractSoap12BodyTestCase

public abstract class AbstractSoapBodyTestCase
extends AbstractSoapElementTestCase


Field Summary
protected  org.springframework.ws.soap.SoapBody soapBody
           
 
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
AbstractSoapBodyTestCase()
           
 
Method Summary
protected  void assertPayloadEqual(String expectedPayload)
           
protected abstract  org.springframework.ws.soap.SoapBody createSoapBody()
           
protected  org.springframework.ws.soap.SoapElement createSoapElement()
           
 void testAddFaultWithExistingPayload()
           
 void testGetPayloadResultTwice()
           
 void testNoFault()
           
 void testPayload()
           
 
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

soapBody

protected org.springframework.ws.soap.SoapBody soapBody
Constructor Detail

AbstractSoapBodyTestCase

public AbstractSoapBodyTestCase()
Method Detail

createSoapElement

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

createSoapBody

protected abstract org.springframework.ws.soap.SoapBody createSoapBody()
                                                                throws Exception
Throws:
Exception

testPayload

public void testPayload()
                 throws Exception
Throws:
Exception

testGetPayloadResultTwice

public void testGetPayloadResultTwice()
                               throws Exception
Throws:
Exception

testNoFault

public void testNoFault()
                 throws Exception
Throws:
Exception

testAddFaultWithExistingPayload

public void testAddFaultWithExistingPayload()
                                     throws Exception
Throws:
Exception

assertPayloadEqual

protected void assertPayloadEqual(String expectedPayload)
                           throws Exception
Throws:
Exception

Spring Web Services Framework

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