org.mule.issues
Class ResponseTransformerMule2165TestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.tck.junit4.FunctionalTestCase
              extended by org.mule.tck.AbstractServiceAndFlowTestCase
                  extended by org.mule.issues.ResponseTransformerMule2165TestCase

public class ResponseTransformerMule2165TestCase
extends AbstractServiceAndFlowTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractServiceAndFlowTestCase
AbstractServiceAndFlowTestCase.ConfigVariant
 
Field Summary
static String GLOBAL_RESPONSE
           
static String LOCAL_RESPONSE
           
static String MESSAGE
           
static long TIMEOUT
           
 
Fields inherited from class org.mule.tck.AbstractServiceAndFlowTestCase
configResources, variant
 
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
ResponseTransformerMule2165TestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant, String configResources)
           
 
Method Summary
protected  MuleClient dispatch(String endpoint)
           
static Collection<Object[]> parameters()
           
protected  String request(MuleClient client, String endpoint)
           
protected  MuleClient send(String endpoint)
           
 void testGlobalNameGlobalTransformer()
           
 void testGlobalNameGlobalTransformerAsync()
           
 void testGlobalNameLocalTransformer()
           
 void testGlobalNameLocalTransformerAsync()
           
 void testGlobalNameUrlTransformer()
           
 void testGlobalNameUrlTransformerAsync()
           
 void testLocalNameLocalTransformer()
           
 void testLocalNameLocalTransformerAsync()
           
 void testLocalNameUrlTransformer()
           
 void testLocalNameUrlTransformerAsync()
           
protected  void testTransformered(String endpoint, String response)
           
protected  void testTransformeredAsync(String endpoint, String response)
           
 
Methods inherited from class org.mule.tck.AbstractServiceAndFlowTestCase
doSetUp, doSetUpForFlow, doSetUpForService, getConfigResources, getTestHeader
 
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase
clearFlowAssertions, getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, stopFlowConstruct, testFlow, testFlow
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doTearDown, 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, 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
 

Field Detail

TIMEOUT

public static final long TIMEOUT
See Also:
Constant Field Values

MESSAGE

public static final String MESSAGE
See Also:
Constant Field Values

LOCAL_RESPONSE

public static final String LOCAL_RESPONSE
See Also:
Constant Field Values

GLOBAL_RESPONSE

public static final String GLOBAL_RESPONSE
See Also:
Constant Field Values
Constructor Detail

ResponseTransformerMule2165TestCase

public ResponseTransformerMule2165TestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
                                           String configResources)
Method Detail

parameters

public static Collection<Object[]> parameters()

send

protected MuleClient send(String endpoint)
                   throws MuleException
Throws:
MuleException

dispatch

protected MuleClient dispatch(String endpoint)
                       throws MuleException
Throws:
MuleException

request

protected String request(MuleClient client,
                         String endpoint)
                  throws Exception
Throws:
Exception

testTransformered

protected void testTransformered(String endpoint,
                                 String response)
                          throws Exception
Throws:
Exception

testTransformeredAsync

protected void testTransformeredAsync(String endpoint,
                                      String response)
                               throws Exception
Throws:
Exception

testGlobalNameGlobalTransformer

public void testGlobalNameGlobalTransformer()
                                     throws Exception
Throws:
Exception

testGlobalNameUrlTransformer

public void testGlobalNameUrlTransformer()
                                  throws Exception
Throws:
Exception

testGlobalNameLocalTransformer

public void testGlobalNameLocalTransformer()
                                    throws Exception
Throws:
Exception

testLocalNameLocalTransformer

public void testLocalNameLocalTransformer()
                                   throws Exception
Throws:
Exception

testLocalNameUrlTransformer

public void testLocalNameUrlTransformer()
                                 throws Exception
Throws:
Exception

testGlobalNameGlobalTransformerAsync

public void testGlobalNameGlobalTransformerAsync()
                                          throws Exception
Throws:
Exception

testGlobalNameUrlTransformerAsync

public void testGlobalNameUrlTransformerAsync()
                                       throws Exception
Throws:
Exception

testGlobalNameLocalTransformerAsync

public void testGlobalNameLocalTransformerAsync()
                                         throws Exception
Throws:
Exception

testLocalNameLocalTransformerAsync

public void testLocalNameLocalTransformerAsync()
                                        throws Exception
Throws:
Exception

testLocalNameUrlTransformerAsync

public void testLocalNameUrlTransformerAsync()
                                      throws Exception
Throws:
Exception


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