public class RegexExpressionLanguageFunctionTestCase extends AbstractMuleTestCase
Modifier and Type | Field and Description |
---|---|
protected MVELExpressionLanguageContext |
context |
protected ExpressionExecutor<MVELExpressionLanguageContext> |
expressionExecutor |
protected RegexExpressionLanguageFuntion |
regexFuntion |
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
RegexExpressionLanguageFunctionTestCase() |
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
protected ExpressionExecutor<MVELExpressionLanguageContext> expressionExecutor
protected MVELExpressionLanguageContext context
protected RegexExpressionLanguageFuntion regexFuntion
public RegexExpressionLanguageFunctionTestCase()
public void setup() throws InitialisationException
InitialisationException
public void testReturnNullWhenDoesNotMatches() throws Exception
Exception
public void testReturnNullWhenDoesNotMatchesMVEL() throws Exception
Exception
public void testReturnsPayloadWhenMatchesIfNoCaptureGroupDefined() throws Exception
Exception
public void testReturnsPayloadWhenMatchesIfNoCaptureGroupDefinedMVEL() throws Exception
Exception
public void testReturnsMatchedValueIfCaptureGroupDefined() throws Exception
Exception
public void testReturnsMatchedValueIfCaptureGroupDefinedMVEL() throws Exception
Exception
public void testReturnsMultipleValuesIfMultipleCaptureGroupDefine() throws Exception
Exception
public void testReturnsMultipleValuesIfMultipleCaptureGroupDefineMVEL() throws Exception
Exception
public void testReturnsPayloadWhenMatchesIfNoCaptureGroupDefinedTextArgument() throws Exception
Exception
public void testReturnsPayloadWhenMatchesIfNoCaptureGroupDefinedTextArgumentMVEL() throws Exception
Exception
public void testReturnsPayloadWhenMatchesIfNoCaptureGroupDefinedTextAndFlagsArgument() throws Exception
Exception
public void testReturnsPayloadWhenMatchesIfNoCaptureGroupDefinedTextAndFlagsArgumentMVEL() throws Exception
Exception
public void testInvalidNonStringRegex() throws Exception
Exception
public void testInvalidNonStringRegexMVEL() throws Exception
Exception
public void testInvalidNonStringTextMVEL() throws Exception
Exception
public void testInvalidNonIntFlagsMVEL() throws Exception
Exception
protected void addMessageToContextWithPayload(String payload) throws TransformerException
TransformerException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.