org.mule.transport.http
Class HttpMuleMessageFactoryTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.transport.AbstractMuleMessageFactoryTestCase
              extended by org.mule.transport.http.HttpMuleMessageFactoryTestCase

public class HttpMuleMessageFactoryTestCase
extends AbstractMuleMessageFactoryTestCase


Field Summary
 
Fields inherited from class org.mule.transport.AbstractMuleMessageFactoryTestCase
encoding, runUnsuppoprtedTransportMessageTest
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
HttpMuleMessageFactoryTestCase()
           
 
Method Summary
protected  MuleMessageFactory doCreateMuleMessageFactory()
           
protected  Object getUnsupportedTransportMessage()
           
protected  Object getValidTransportMessage()
           
 void testHeaderProperties()
           
 void testHttpMethodGet()
           
 void testHttpMethodPost()
           
 void testHttpRequestMultiPartPayload()
           
 void testHttpRequestPostPayload()
           
 void testInvalidPayloadOnHttpMuleMessageFactory()
           
 void testMultipleHeaderWithSameName()
           
 void testProcessEscapedQueryParams()
           
 void testProcessQueryParams()
           
 void testProcessWsdlQueryParam()
           
 void testQueryParamProperties()
           
 void testValidPayload()
           
 
Methods inherited from class org.mule.transport.AbstractMuleMessageFactoryTestCase
createMuleMessageFactory, doSetUp, testNullPayload, testUnsupportedPayloadType
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doTearDown, getBuilder, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpMuleMessageFactoryTestCase

public HttpMuleMessageFactoryTestCase()
Method Detail

doCreateMuleMessageFactory

protected MuleMessageFactory doCreateMuleMessageFactory()
Specified by:
doCreateMuleMessageFactory in class AbstractMuleMessageFactoryTestCase

getValidTransportMessage

protected Object getValidTransportMessage()
                                   throws Exception
Specified by:
getValidTransportMessage in class AbstractMuleMessageFactoryTestCase
Throws:
Exception

getUnsupportedTransportMessage

protected Object getUnsupportedTransportMessage()
Overrides:
getUnsupportedTransportMessage in class AbstractMuleMessageFactoryTestCase

testValidPayload

public void testValidPayload()
                      throws Exception
Overrides:
testValidPayload in class AbstractMuleMessageFactoryTestCase
Throws:
Exception

testInvalidPayloadOnHttpMuleMessageFactory

public void testInvalidPayloadOnHttpMuleMessageFactory()
                                                throws Exception
Throws:
Exception

testHttpRequestPostPayload

public void testHttpRequestPostPayload()
                                throws Exception
Throws:
Exception

testHttpRequestMultiPartPayload

public void testHttpRequestMultiPartPayload()
                                     throws Exception
Throws:
Exception

testHttpMethodGet

public void testHttpMethodGet()
                       throws Exception
Throws:
Exception

testHttpMethodPost

public void testHttpMethodPost()
                        throws Exception
Throws:
Exception

testQueryParamProperties

public void testQueryParamProperties()
                              throws Exception
Throws:
Exception

testHeaderProperties

public void testHeaderProperties()
                          throws Exception
Throws:
Exception

testMultipleHeaderWithSameName

public void testMultipleHeaderWithSameName()
                                    throws Exception
Throws:
Exception

testProcessQueryParams

public void testProcessQueryParams()
                            throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testProcessEscapedQueryParams

public void testProcessEscapedQueryParams()
                                   throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testProcessWsdlQueryParam

public void testProcessWsdlQueryParam()
                               throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.