org.mule.issues
Class ResponseTransformerMule2165TestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.tck.FunctionalTestCase
                  extended by org.mule.issues.ResponseTransformerMule2165TestCase
All Implemented Interfaces:
Test, TestCaseWatchdogTimeoutHandler

public class ResponseTransformerMule2165TestCase
extends org.mule.tck.FunctionalTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
static String GLOBAL_RESPONSE
           
static String LOCAL_RESPONSE
           
static String MESSAGE
           
static long TIMEOUT
           
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
callbackCalled, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Constructor Summary
ResponseTransformerMule2165TestCase()
           
 
Method Summary
protected  org.mule.module.client.MuleClient dispatch(String endpoint)
           
protected  String getConfigResources()
           
protected  String request(org.mule.module.client.MuleClient client, String endpoint)
           
protected  org.mule.module.client.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.FunctionalTestCase
getBuilder, getComponent, getComponent, getConfigurationResources, loadResource, loadResourceAsString
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
configureMuleContext, createMuleContext, createTestInfo, createWatchdog, disposeManager, doSetUp, doTearDown, getName, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setName, setStartContext, setUp, suitePostTearDown, suitePreSetUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runTest, 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
 

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()
Method Detail

getConfigResources

protected String getConfigResources()
Specified by:
getConfigResources in class org.mule.tck.FunctionalTestCase

send

protected org.mule.module.client.MuleClient send(String endpoint)
                                          throws org.mule.api.MuleException
Throws:
org.mule.api.MuleException

dispatch

protected org.mule.module.client.MuleClient dispatch(String endpoint)
                                              throws org.mule.api.MuleException
Throws:
org.mule.api.MuleException

request

protected String request(org.mule.module.client.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-2008 MuleSource, Inc.. All Rights Reserved.