public class MVELExpressionLanguageTestCase extends AbstractMuleContextTestCase
Modifier and Type | Class and Description |
---|---|
static class |
MVELExpressionLanguageTestCase.Variant |
Modifier and Type | Field and Description |
---|---|
protected MVELExpressionLanguage |
mvel |
protected MVELExpressionLanguageTestCase.Variant |
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 |
---|
MVELExpressionLanguageTestCase(MVELExpressionLanguageTestCase.Variant variant,
String mvelOptimizer) |
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
protected MVELExpressionLanguageTestCase.Variant variant
protected MVELExpressionLanguage mvel
public MVELExpressionLanguageTestCase(MVELExpressionLanguageTestCase.Variant variant, String mvelOptimizer)
public void setupMVEL() throws InitialisationException
InitialisationException
public void testEvaluateString()
public void testEvaluateStringMapOfStringObject()
public void testEvaluateStringMuleEvent()
public void testEvaluateStringMuleEventMapOfStringObject()
public void testEvaluateStringMuleMessage()
public void testEvaluateStringMuleMessageMapOfStringObject()
public void testIsValid()
public void testIsValidInvalid()
public void testValidate()
public void testValidateInvalid()
public void regexFunction()
public void appTakesPrecedenceOverEverything() throws RegistrationException, InitialisationException
public void messageTakesPrecedenceOverEverything() throws RegistrationException, InitialisationException
public void extensionTakesPrecedenceOverAutoResolved() throws RegistrationException, InitialisationException
public void aliasTakesPrecedenceOverAutoResolved() throws RegistrationException, InitialisationException
public void aliasTakesPrecedenceOverExtension() throws RegistrationException, InitialisationException
public void addImport() throws InitialisationException
InitialisationException
public void addAlias() throws InitialisationException
InitialisationException
public void addGlobalFunction() throws InitialisationException
InitialisationException
public void defaultImports() throws InitialisationException, ClassNotFoundException, IOException
public void testConcurrentCompilation() throws Exception
Exception
public void propertyAccessException() throws InitialisationException
InitialisationException
public void propertyAccessException2() throws InitialisationException
InitialisationException
protected TypedValue evaluateTyped(String expression, MuleMessage message)
protected Object evaluate(String expression, MuleMessage message)
protected void validate(String expression)
protected MuleEvent createMockEvent()
protected MuleMessage createMockMessage()
protected MuleMessage createMockMessage(Object payload, DataType dataType)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.