activated DefaultConversionService in EL, linking convert and EL

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@974 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald
2009-04-10 20:47:04 +00:00
parent 3292582c76
commit 8df73198f6
7 changed files with 102 additions and 76 deletions
@@ -82,7 +82,7 @@ public class LiteralTests extends ExpressionTestCase {
// ask for the result to be made into an Integer
evaluateAndAskForReturnType("0x20 * 2L", 64, Integer.class);
// ask for the result to be made into an Integer knowing that it will not fit
evaluateAndCheckError("0x1220 * 0xffffffffL", Integer.class, SpelMessages.PROBLEM_DURING_TYPE_CONVERSION, -1);
evaluateAndCheckError("0x1220 * 0xffffffffL", Integer.class, SpelMessages.TYPE_CONVERSION_ERROR, -1);
}
public void testSignedIntLiterals() {