org.mule.transport.ajax
Class AjaxMuleMessageFactoryTestCase

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.ajax.AjaxMuleMessageFactoryTestCase

public class AjaxMuleMessageFactoryTestCase
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
AjaxMuleMessageFactoryTestCase()
           
 
Method Summary
protected  MuleMessageFactory doCreateMuleMessageFactory()
           
protected  Object getValidTransportMessage()
           
 void testJsonStringPayloadWithoutData()
           
 void testJsonStringWithData()
           
 void testMapPayloadWithoutData()
           
 void testNonMapNonJsonPayload()
           
 void testValidPayload()
           
 
Methods inherited from class org.mule.transport.AbstractMuleMessageFactoryTestCase
createMuleMessageFactory, doSetUp, getUnsupportedTransportMessage, 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

AjaxMuleMessageFactoryTestCase

public AjaxMuleMessageFactoryTestCase()
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

testValidPayload

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

testMapPayloadWithoutData

public void testMapPayloadWithoutData()
                               throws Exception
Throws:
Exception

testJsonStringPayloadWithoutData

public void testJsonStringPayloadWithoutData()
                                      throws Exception
Throws:
Exception

testJsonStringWithData

public void testJsonStringWithData()
                            throws Exception
Throws:
Exception

testNonMapNonJsonPayload

public void testNonMapNonJsonPayload()
                              throws Exception
Throws:
Exception


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