Spring Web Services Framework

org.springframework.ws.soap
Class AbstractSoapMessageTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.custommonkey.xmlunit.XMLTestCase
              extended by org.springframework.ws.AbstractWebServiceMessageTestCase
                  extended by org.springframework.ws.mime.AbstractMimeMessageTestCase
                      extended by org.springframework.ws.soap.AbstractSoapMessageTestCase
All Implemented Interfaces:
junit.framework.Test, org.custommonkey.xmlunit.XMLConstants, org.custommonkey.xmlunit.XSLTConstants
Direct Known Subclasses:
AbstractSoap11MessageTestCase, AbstractSoap12MessageTestCase

public abstract class AbstractSoapMessageTestCase
extends AbstractMimeMessageTestCase


Field Summary
protected  org.springframework.ws.soap.SoapMessage soapMessage
           
 
Fields inherited from class org.springframework.ws.mime.AbstractMimeMessageTestCase
mimeMessage
 
Fields inherited from class org.springframework.ws.AbstractWebServiceMessageTestCase
transformer, webServiceMessage
 
Fields inherited from interface org.custommonkey.xmlunit.XSLTConstants
XSLT_END, XSLT_IDENTITY_TEMPLATE, XSLT_START, XSLT_START_NO_VERSION, XSLT_STRIP_COMMENTS_TEMPLATE, 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, W3C_XML_SCHEMA_INSTANCE_NO_NAMESPACE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_INSTANCE_NS_URI, W3C_XML_SCHEMA_INSTANCE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_NS_URI, 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
AbstractSoapMessageTestCase()
           
 
Method Summary
protected  org.springframework.ws.mime.MimeMessage createMimeMessage()
           
protected abstract  org.springframework.ws.soap.SoapMessage createSoapMessage()
           
protected abstract  Resource[] getSoapSchemas()
           
abstract  void testGetVersion()
           
 void testSoapAction()
           
 void testValidate()
           
abstract  void testWriteToTransportOutputStream()
           
abstract  void testWriteToTransportResponseAttachment()
           
 
Methods inherited from class org.springframework.ws.mime.AbstractMimeMessageTestCase
createWebServiceMessage, testAddAttachment, testEmptyMessage, testGetAttachment, testGetAttachments
 
Methods inherited from class org.springframework.ws.AbstractWebServiceMessageTestCase
setUp, testDomPayload, testEventReaderPayload, testReaderPayload, testSaxPayload, testStreamPayload, testStreamReaderPayload
 
Methods inherited from class org.custommonkey.xmlunit.XMLTestCase
assertNodeTestPasses, assertNodeTestPasses, assertNodeTestPasses, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLIdentical, assertXMLIdentical, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathExists, assertXpathExists, assertXpathExists, assertXpathNotExists, assertXpathNotExists, assertXpathNotExists, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, compareXML, compareXML, compareXML, compareXML, compareXML, compareXML
 
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

soapMessage

protected org.springframework.ws.soap.SoapMessage soapMessage
Constructor Detail

AbstractSoapMessageTestCase

public AbstractSoapMessageTestCase()
Method Detail

createMimeMessage

protected org.springframework.ws.mime.MimeMessage createMimeMessage()
                                                             throws Exception
Specified by:
createMimeMessage in class AbstractMimeMessageTestCase
Throws:
Exception

createSoapMessage

protected abstract org.springframework.ws.soap.SoapMessage createSoapMessage()
                                                                      throws Exception
Throws:
Exception

testValidate

public void testValidate()
                  throws Exception
Throws:
Exception

testSoapAction

public void testSoapAction()
                    throws Exception
Throws:
Exception

getSoapSchemas

protected abstract Resource[] getSoapSchemas()

testGetVersion

public abstract void testGetVersion()
                             throws Exception
Throws:
Exception

testWriteToTransportOutputStream

public abstract void testWriteToTransportOutputStream()
                                               throws Exception
Throws:
Exception

testWriteToTransportResponseAttachment

public abstract void testWriteToTransportResponseAttachment()
                                                     throws Exception
Throws:
Exception

Spring Web Services Framework

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