Commit Graph

152 Commits

Author SHA1 Message Date
Mark Pollack
74326a93d2 Fix SPEL tests when using maven. With the maven test runner expression.spel.SetValueTests is run before expression.spel.EvaluationTests. The order is reversed in eclipse/spring-build. Static variables are modifed in SetValueTests that cause EvaluationTests to fail if it is run first. Make a simple fix so SetValueTests uses a local evaluation context variable instead of a static variable. 2009-03-27 16:05:38 +00:00
Keith Donald
8d63a34652 set value tests 2009-03-24 19:55:39 +00:00
Keith Donald
be61846331 pruned bean references support as it was not used 2009-03-23 21:33:15 +00:00
Juergen Hoeller
08dd18df58 revised expression parser API design 2009-02-12 23:03:58 +00:00
Andy Clement
5ff4008423 Refactored package structure and made some getValue() methods generic 2008-12-12 23:07:08 +00:00
Juergen Hoeller
b0790bf5e7 Java 5 code style 2008-11-27 00:27:52 +00:00
Juergen Hoeller
29657105da Java 5 code style 2008-11-25 01:29:54 +00:00
Juergen Hoeller
347f34c68a EL container integration; support for contextual objects; removal of deprecated Spring 2.0 functionality; Java 5 code style 2008-11-20 02:10:53 +00:00
Andy Clement
470e086183 map access tests added 2008-09-17 16:20:40 +00:00
Andy Clement
769e706be7 removing: initializers/processors/in operator 2008-09-17 15:23:15 +00:00
Andy Clement
afdf54eff8 renamed operator IS to INSTANCEOF, may yet delete.. 2008-09-16 17:20:03 +00:00
Andy Clement
39c966f419 bean references removed, no more @(context:beanname) 2008-09-16 17:13:31 +00:00
Andy Clement
95892dc993 removed lambda functions, local function and local variable references 2008-09-16 17:00:16 +00:00
Andy Clement
efee3b3434 date literal removed 2008-09-16 16:50:00 +00:00
Andy Clement
17c88107d3 Removing functionality. Removed expression list support, cannot say (foo();bar()) any more 2008-09-15 21:55:11 +00:00
Andy Clement
4d43768889 Removing functionality. Removed soundslike/distanceto/like operators 2008-09-15 21:43:38 +00:00
Andy Clement
59a4427525 Final commit before the great 'stripdown'. Used clover to determine coverage and added tests as necessary. 2008-09-15 20:14:36 +00:00
Andy Clement
23db8b58da added test and behaviour for calling a java method with incorrect number of arguments 2008-08-18 22:43:17 +00:00
Andy Clement
2f05d70067 new function invocation tests for normal and error behaviour 2008-08-18 22:36:00 +00:00
Andy Clement
48055c6e20 added support for Integer > Float conversion.
Moved some tests from EvaluationTests into OperatorTests.
Fleshed out OperatorTests to verify type promotions for mixed type operands.
2008-08-18 17:54:01 +00:00
Andy Clement
776553cfbb more tests relating to reals 2008-08-18 17:06:24 +00:00
Andy Clement
7fa4d9e928 moved TODOs to readme 2008-08-18 00:22:09 +00:00
Andy Clement
7d677b23d3 moved test into ParserErrorMessageTests 2008-08-18 00:21:45 +00:00
Andy Clement
bea94c2371 modified Date tests 2008-08-18 00:21:21 +00:00
Andy Clement
077fc1613d starting to sort out like/matches. Matches is the java regex related one. Like is the SQL related one. But the spring .net 'like' doesn't seem to be the same as the SQL doc I found for like... 2008-08-17 01:42:06 +00:00
Andy Clement
c6db7c41a4 improved javadoc, error handling and testing of matches 2008-08-17 01:28:26 +00:00
Andy Clement
29fe8da1ad fixing error handling in 'is' operator 2008-08-17 01:27:45 +00:00
Andy Clement
5c0d80ece7 fixing TODOs 2008-08-17 01:27:18 +00:00
Andy Clement
80075f18ce fixing TODOs 2008-08-17 01:26:11 +00:00
Andy Clement
1917a50f6f remove java.awt as a default import in the StandardTypeLocator 2008-08-16 18:21:03 +00:00
Andy Clement
3ebf290534 fixing TODOs 2008-08-16 01:56:29 +00:00
Andy Clement
e9ddd7151e added support for long[] in stringValueOf() - plus an error reported if the type passed in is not supported 2008-08-16 01:56:16 +00:00
Andy Clement
5bb6f9c75d correcting TODO 2008-08-16 01:44:12 +00:00
Andy Clement
d2ab889b00 fixed some tests that will now break because int/long can be treated as boolean. May need to change again if real numbers get the same treatment. 2008-08-16 01:43:51 +00:00
Andy Clement
8d8a82b278 new tests for ternary - checking conversion of numbers to boolean and correct error when condition result not convertable to boolean 2008-08-16 01:43:15 +00:00
Andy Clement
8730cde270 removed redundant test - there is no non-optimal reflection accessor to test now 2008-08-16 01:42:39 +00:00
Andy Clement
1a31d25973 Parser error message improvements: enhanced harness and used it in new parser error message tests 2008-08-15 00:26:38 +00:00
Andy Clement
a06b5aaa8d reorganizing tests - extracting EvaluationTests out into other test classes. Started work on parser error message tests. 2008-08-14 20:24:31 +00:00
Andy Clement
e20cbef134 Avoid calling deprecated Date ctor 2008-08-12 22:18:05 +00:00
Andy Clement
1707667489 changed to not use deprecated toURL() 2008-08-12 22:14:10 +00:00
Andy Clement
fe11c664d2 Changed test so expected results match actual on both windows and Mac 2008-08-12 21:21:35 +00:00
Andy Clement
ef59904f00 Fixed generics warnings 2008-08-12 18:31:51 +00:00
Andy Clement
40eb38917e Fixed generics warning 2008-08-12 18:31:41 +00:00
Andy Clement
c15760bcd1 Fixed generics warnings 2008-08-12 18:31:31 +00:00
Andy Clement
106131ab8f Marked unused values appropriately 2008-08-12 18:28:18 +00:00
Andy Clement
cfdb8e01eb Fixed unnecessary casts 2008-08-12 18:23:39 +00:00
Andy Clement
49bef5a39f Fixed unnecessary casts 2008-08-12 18:23:29 +00:00
Andy Clement
c2f7b65751 First drop of SPEL 2008-08-12 16:36:40 +00:00
Andy Clement
6a52183414 First drop of SPEL 2008-08-12 16:27:53 +00:00
Andy Clement
65049ac8b4 First drop of SPEL 2008-08-12 16:27:20 +00:00