org.mule.module.scripting.expression
Class GroovyExpressionEvaluatorTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.module.scripting.expression.GroovyExpressionEvaluatorTestCase

public class GroovyExpressionEvaluatorTestCase
extends AbstractMuleContextTestCase


Field Summary
 
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
GroovyExpressionEvaluatorTestCase()
           
 
Method Summary
 void assignValueToFlowVariable()
           
 void assignValueToNewFlowVariable()
           
 void assignValueToNewSessionVariable()
           
 void assignValueToNewVariable()
           
 void assignValueToSessionVariable()
           
 void assignValueToVariable()
           
 void exception()
           
 void flowVariable()
           
 void longNumberTypeConversion()
           
 void message()
           
 void muleContext()
           
 void payload()
           
 void primitiveLongNumberTypeConversion()
           
 void sessionVariable()
           
 void src()
           
 void stringToPrimitiveIntTypeConversion()
           
 void testComplexExpressionLowLevelParsing()
           
 void testRegistrySyntax()
           
 void testThrowsExceptionOnScriptError()
           
 void testUseContextClassLoaderToResolveClasses()
          See: MULE-4797 GroovyExpressionEvaluator script is unable to load user classes when used with hot deployment See:
 void testWithExpressions()
           
 void variableFromFlowScope()
           
 void variableFromSessionScope()
           
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, 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

GroovyExpressionEvaluatorTestCase

public GroovyExpressionEvaluatorTestCase()
Method Detail

testWithExpressions

public void testWithExpressions()

stringToPrimitiveIntTypeConversion

public void stringToPrimitiveIntTypeConversion()

longNumberTypeConversion

public void longNumberTypeConversion()

primitiveLongNumberTypeConversion

public void primitiveLongNumberTypeConversion()

testThrowsExceptionOnScriptError

public void testThrowsExceptionOnScriptError()
                                      throws Exception
Throws:
Exception

testRegistrySyntax

public void testRegistrySyntax()
                        throws Exception
Throws:
Exception

muleContext

public void muleContext()
                 throws Exception
Throws:
Exception

message

public void message()
             throws Exception
Throws:
Exception

payload

public void payload()
             throws Exception
Throws:
Exception

src

public void src()
         throws Exception
Throws:
Exception

variableFromFlowScope

public void variableFromFlowScope()
                           throws Exception
Throws:
Exception

variableFromSessionScope

public void variableFromSessionScope()
                              throws Exception
Throws:
Exception

assignValueToVariable

public void assignValueToVariable()
                           throws Exception
Throws:
Exception

assignValueToNewVariable

public void assignValueToNewVariable()
                              throws Exception
Throws:
Exception

flowVariable

public void flowVariable()
                  throws Exception
Throws:
Exception

assignValueToFlowVariable

public void assignValueToFlowVariable()
                               throws Exception
Throws:
Exception

assignValueToNewFlowVariable

public void assignValueToNewFlowVariable()
                                  throws Exception
Throws:
Exception

sessionVariable

public void sessionVariable()
                     throws Exception
Throws:
Exception

assignValueToSessionVariable

public void assignValueToSessionVariable()
                                  throws Exception
Throws:
Exception

assignValueToNewSessionVariable

public void assignValueToNewSessionVariable()
                                     throws Exception
Throws:
Exception

exception

public void exception()
               throws Exception
Throws:
Exception

testComplexExpressionLowLevelParsing

public void testComplexExpressionLowLevelParsing()
                                          throws Exception
Throws:
Exception

testUseContextClassLoaderToResolveClasses

public void testUseContextClassLoaderToResolveClasses()
                                               throws ClassNotFoundException
See: MULE-4797 GroovyExpressionEvaluator script is unable to load user classes when used with hot deployment See:

Throws:
ClassNotFoundException


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