Class AbstractTransportTest

  • All Implemented Interfaces:
    junit.framework.Test

    public abstract class AbstractTransportTest
    extends junit.framework.TestCase
    • Constructor Detail

      • AbstractTransportTest

        public AbstractTransportTest()
    • Method Detail

      • setUp

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

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

        protected org.apache.axiom.om.OMElement createPayload​(String textValue)
        Create the payload for an echoOMElement request
        Returns:
      • createPayload

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

        protected void assertEchoResponse​(String textValue,
                                          org.apache.axiom.om.OMElement element)
      • assertEchoResponse

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

        protected void assertSOAPEchoResponse​(String textValue,
                                              XMLStreamReader reader)
      • assertSOAPEchoResponse

        protected void assertSOAPEchoResponse​(XMLStreamReader reader)
      • getClientCfgCtx

        protected org.apache.axis2.context.ConfigurationContext getClientCfgCtx()
                                                                         throws Exception
        Get the default axis2 configuration context for a client
        Returns:
        Throws:
        Exception