public class MVELExpressionExecutorTestCase extends AbstractELTestCase
AbstractELTestCase.Variant
Modifier and Type | Field and Description |
---|---|
protected MVELExpressionLanguageContext |
context |
protected MVELExpressionExecutor |
mvel |
static String |
SIMPLE_EXPRESSION |
expressionLanguage, variant
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE, TEST_PAYLOAD, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectory
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
MVELExpressionExecutorTestCase(AbstractELTestCase.Variant variant,
String mvelOptimizer) |
Modifier and Type | Method and Description |
---|---|
void |
cachesCompiledExpressions() |
void |
doesNotCachesCompiledExpressions() |
void |
evaluateInvalidExpression() |
void |
evaluateReturnInt() |
void |
evaluateReturnString() |
void |
invalidExpression() |
void |
invalidMethodCallFails() |
void |
nestedMapAccessFailsCorrectly() |
void |
safeBeanPropertyAccessIsEnabled() |
void |
safeMapNestedPropertyAccessIsEnabled() |
void |
safeMapPropertyAccessIsEnabled() |
void |
safeNestedBeanPropertyAccessIsEnabled() |
void |
safeNestedBeanPropertyAccessMaintainsNullSafeBehavior() |
void |
safeNestedMapPropertyAccessMaintainsNullSafeBehavior() |
void |
safePropertyDoesntMessNullSafeMode() |
void |
setupMVEL() |
void |
useContextClassLoader() |
void |
validExpression() |
assertFinalProperty, assertFinalProperty, assertFinalProperty, assertImmutableVariable, assertImmutableVariable, assertImmutableVariable, assertUnsupportedOperation, assertUnsupportedOperation, evaluate, evaluate, evaluate, getExpressionLanguage, parameters, setupExprssionEvaluator
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, getBuilder, getConfigurationResources, getFileInsideWorkingDirectory, getNonBlockingResponse, getNonBlockingTestEventUsingFlow, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, getTestMuleMessage, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public static final String SIMPLE_EXPRESSION
protected MVELExpressionExecutor mvel
protected MVELExpressionLanguageContext context
public MVELExpressionExecutorTestCase(AbstractELTestCase.Variant variant, String mvelOptimizer)
public void setupMVEL() throws InitialisationException
InitialisationException
public void evaluateReturnInt()
public void evaluateReturnString()
public void evaluateInvalidExpression()
public void invalidExpression()
public void validExpression()
public void useContextClassLoader() throws ClassNotFoundException
ClassNotFoundException
public void safeMapPropertyAccessIsEnabled()
public void safeMapNestedPropertyAccessIsEnabled()
public void safeBeanPropertyAccessIsEnabled()
public void safeNestedBeanPropertyAccessIsEnabled()
public void nestedMapAccessFailsCorrectly()
public void safeNestedBeanPropertyAccessMaintainsNullSafeBehavior()
public void safeNestedMapPropertyAccessMaintainsNullSafeBehavior()
public void safePropertyDoesntMessNullSafeMode()
public void invalidMethodCallFails()
public void cachesCompiledExpressions() throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.