Package org.apache.bval.jsr
Class DefaultMessageInterpolatorTest
- java.lang.Object
-
- org.apache.bval.jsr.DefaultMessageInterpolatorTest
-
public class DefaultMessageInterpolatorTest extends Object
MessageResolverImpl Tester.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultMessageInterpolatorTest.Person
-
Constructor Summary
Constructors Constructor Description DefaultMessageInterpolatorTest(String elImpl, String elFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcleanup()static List<Object[]>generateParameters()voidsetUp()voidtearDownEL()voidtestDisallowCustomTemplateExpressionEvaluationByDefault()voidtestELEscapingRI()voidtestELEscapingTomcatJuel()voidtestEscapedELPattern()voidtestExpressionLanguageEvaluation()voidtestInterpolateFromDefaultResources()voidtestInterpolateFromValidationResources()voidtestMixedEvaluation()voidtestNoELAvailable()voidtestRecursiveInterpolation()voidtestReplacementWithSpecialChars()Checks that strings containing special characters are correctly substituted when interpolating.
-
-
-
Method Detail
-
cleanup
public static void cleanup()
-
tearDownEL
public void tearDownEL()
-
testInterpolateFromValidationResources
public void testInterpolateFromValidationResources()
-
testInterpolateFromDefaultResources
public void testInterpolateFromDefaultResources()
-
testReplacementWithSpecialChars
public void testReplacementWithSpecialChars()
Checks that strings containing special characters are correctly substituted when interpolating.
-
testRecursiveInterpolation
public void testRecursiveInterpolation()
-
testNoELAvailable
public void testNoELAvailable()
-
testDisallowCustomTemplateExpressionEvaluationByDefault
public void testDisallowCustomTemplateExpressionEvaluationByDefault()
-
testExpressionLanguageEvaluation
public void testExpressionLanguageEvaluation()
-
testMixedEvaluation
public void testMixedEvaluation()
-
testELEscapingTomcatJuel
public void testELEscapingTomcatJuel()
-
testELEscapingRI
public void testELEscapingRI()
-
testEscapedELPattern
public void testEscapedELPattern()
-
-