[jboss-svn-commits] JBL Code SVN: r13578 - labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Jul 17 12:15:13 EDT 2007
Author: tirelli
Date: 2007-07-17 12:15:13 -0400 (Tue, 17 Jul 2007)
New Revision: 13578
Added:
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_dslWithIndividualConstraints.dsl
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_dslWithIndividualConstraints.dslr
Log:
JBRULES-1012: fixing bug with space sensitive expressions
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_dslWithIndividualConstraints.dsl
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_dslWithIndividualConstraints.dsl (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_dslWithIndividualConstraints.dsl 2007-07-17 16:15:13 UTC (rev 13578)
@@ -0,0 +1,2 @@
+[when] There is a {type} named {name} = {name} : {type}()
+[when] - {prop} is {val} = {prop} == {val}
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_dslWithIndividualConstraints.dslr
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_dslWithIndividualConstraints.dslr (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_dslWithIndividualConstraints.dslr 2007-07-17 16:15:13 UTC (rev 13578)
@@ -0,0 +1,13 @@
+package org.drools
+
+global java.util.List results
+
+expander test_dslWithIndividualConstraints.dsl
+
+rule "Bug with dot reduction"
+when
+ There is a Cheese named cs
+ - type is Cheese.STILTON
+then
+ >results.add( cs );
+end
\ No newline at end of file
More information about the jboss-svn-commits
mailing list