org.mule.el.mvel
Class MVELExpressionLanguageTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.el.mvel.MVELExpressionLanguageTestCase
public class MVELExpressionLanguageTestCase
- extends AbstractMuleContextTestCase
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 |
variant
protected MVELExpressionLanguageTestCase.Variant variant
mvel
protected MVELExpressionLanguage mvel
MVELExpressionLanguageTestCase
public MVELExpressionLanguageTestCase(MVELExpressionLanguageTestCase.Variant variant)
setupMVEL
public void setupMVEL()
throws InitialisationException
- Throws:
InitialisationException
testEvaluateString
public void testEvaluateString()
testEvaluateStringMapOfStringObject
public void testEvaluateStringMapOfStringObject()
testEvaluateStringMuleEvent
public void testEvaluateStringMuleEvent()
testEvaluateStringMuleEventMapOfStringObject
public void testEvaluateStringMuleEventMapOfStringObject()
testEvaluateStringMuleMessage
public void testEvaluateStringMuleMessage()
testEvaluateStringMuleMessageMapOfStringObject
public void testEvaluateStringMuleMessageMapOfStringObject()
testIsValid
public void testIsValid()
testIsValidInvalid
public void testIsValidInvalid()
testValidate
public void testValidate()
testValidateInvalid
public void testValidateInvalid()
regexFunction
public void regexFunction()
appTakesPrecedenceOverEverything
public void appTakesPrecedenceOverEverything()
throws RegistrationException,
InitialisationException
- Throws:
RegistrationException
InitialisationException
messageTakesPrecedenceOverEverything
public void messageTakesPrecedenceOverEverything()
throws RegistrationException,
InitialisationException
- Throws:
RegistrationException
InitialisationException
extensionTakesPrecedenceOverAutoResolved
public void extensionTakesPrecedenceOverAutoResolved()
throws RegistrationException,
InitialisationException
- Throws:
RegistrationException
InitialisationException
aliasTakesPrecedenceOverAutoResolved
public void aliasTakesPrecedenceOverAutoResolved()
throws RegistrationException,
InitialisationException
- Throws:
RegistrationException
InitialisationException
aliasTakesPrecedenceOverExtension
public void aliasTakesPrecedenceOverExtension()
throws RegistrationException,
InitialisationException
- Throws:
RegistrationException
InitialisationException
addImport
public void addImport()
throws InitialisationException
- Throws:
InitialisationException
addAlias
public void addAlias()
throws InitialisationException
- Throws:
InitialisationException
addGlobalFunction
public void addGlobalFunction()
throws InitialisationException
- Throws:
InitialisationException
evaluate
protected Object evaluate(String expression)
evaluate
protected Object evaluate(String expression,
Map<String,Object> vars)
evaluate
protected Object evaluate(String expression,
MuleMessage message)
evaluate
protected Object evaluate(String expression,
MuleEvent event)
validate
protected void validate(String expression)
createMockEvent
protected MuleEvent createMockEvent()
createMockMessage
protected MuleMessage createMockMessage()
parameters
public static List<Object[]> parameters()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.