[jboss-svn-commits] JBL Code SVN: r31350 - labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Feb 1 19:48:25 EST 2010
Author: mark.proctor at jboss.com
Date: 2010-02-01 19:48:24 -0500 (Mon, 01 Feb 2010)
New Revision: 31350
Modified:
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessSplitTest.java
Log:
-making test work with MVEL, seems list.size is not supported, needs to be list.size()
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessSplitTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessSplitTest.java 2010-02-01 20:41:35 UTC (rev 31349)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessSplitTest.java 2010-02-02 00:48:24 UTC (rev 31350)
@@ -632,7 +632,7 @@
" <split id=\"4\" name=\"Split\" type=\"2\" >" +
" <constraints>" +
" <constraint toNodeId=\"8\" toType=\"DROOLS_DEFAULT\" priority=\"2\" type=\"code\" dialect=\"mvel\" >return true;</constraint>" +
- " <constraint toNodeId=\"6\" toType=\"DROOLS_DEFAULT\" priority=\"1\" type=\"code\" dialect=\"mvel\" >return list != null && list.size >= 0;</constraint>" +
+ " <constraint toNodeId=\"6\" toType=\"DROOLS_DEFAULT\" priority=\"1\" type=\"code\" dialect=\"mvel\" >return list != null && list.size() >= 0;</constraint>" +
" </constraints>" +
" </split>" +
" <end id=\"8\" name=\"End\" />" +
More information about the jboss-svn-commits
mailing list