org.apache.axis2.transport
Class AbstractTransportTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.axis2.transport.AbstractTransportTest
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractTransportTest
extends junit.framework.TestCase


Constructor Summary
AbstractTransportTest()
           
 
Method Summary
protected  void assertEchoResponse(org.apache.axiom.om.OMElement element)
           
protected  void assertEchoResponse(java.lang.String textValue, org.apache.axiom.om.OMElement element)
           
protected  void assertSOAPEchoResponse(java.lang.String textValue, javax.xml.stream.XMLStreamReader reader)
           
protected  void assertSOAPEchoResponse(javax.xml.stream.XMLStreamReader reader)
           
protected  org.apache.axiom.om.OMElement createPayload()
           
protected  org.apache.axiom.om.OMElement createPayload(java.lang.String textValue)
          Create the payload for an echoOMElement request
protected abstract  UtilsTransportServer createServer()
           
protected  org.apache.axis2.context.ConfigurationContext getClientCfgCtx()
          Get the default axis2 configuration context for a client
protected  void setUp()
           
protected  void tearDown()
           
 
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

AbstractTransportTest

public AbstractTransportTest()
Method Detail

setUp

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

tearDown

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

createServer

protected abstract UtilsTransportServer createServer()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

createPayload

protected org.apache.axiom.om.OMElement createPayload(java.lang.String textValue)
Create the payload for an echoOMElement request

Returns:

createPayload

protected org.apache.axiom.om.OMElement createPayload()

assertEchoResponse

protected void assertEchoResponse(java.lang.String textValue,
                                  org.apache.axiom.om.OMElement element)

assertEchoResponse

protected void assertEchoResponse(org.apache.axiom.om.OMElement element)

assertSOAPEchoResponse

protected void assertSOAPEchoResponse(java.lang.String textValue,
                                      javax.xml.stream.XMLStreamReader reader)

assertSOAPEchoResponse

protected void assertSOAPEchoResponse(javax.xml.stream.XMLStreamReader reader)

getClientCfgCtx

protected org.apache.axis2.context.ConfigurationContext getClientCfgCtx()
                                                                 throws java.lang.Exception
Get the default axis2 configuration context for a client

Returns:
Throws:
java.lang.Exception


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