[jboss-svn-commits] JBL Code SVN: r5165 - labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Jul 18 20:06:49 EDT 2006
Author: mark.proctor at jboss.com
Date: 2006-07-18 20:06:46 -0400 (Tue, 18 Jul 2006)
New Revision: 5165
Removed:
labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck_res_1.xml
labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck_res_2.xml
Log:
-removed unneeded files
Deleted: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck_res_1.xml
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck_res_1.xml 2006-07-18 23:58:51 UTC (rev 5164)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck_res_1.xml 2006-07-19 00:06:46 UTC (rev 5165)
@@ -1,15 +0,0 @@
-package RuleExecutionSet1;
-
-import org.jcp.jsr94.tck.model.Customer;
-import org.jcp.jsr94.tck.model.Invoice;
-
-rule "credit limit greater than invoice"
- when
- $invoice1 : Invoice ( $amount1 : amount )
- $customer1 : Customer ( creditLimit > $amount1 )
- then
- $customer1.setCreditLimit($customer1.getCreditLimit() - $invoice1.getAmount());
- $invoice1.setStatus("paid");
- System.out.println("The credit limit of the customer is " + $customer1.getCreditLimit());
- System.out.println("The status of the invoice is " + $invoice1.getStatus());
-end
\ No newline at end of file
Deleted: labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck_res_2.xml
===================================================================
--- labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck_res_2.xml 2006-07-18 23:58:51 UTC (rev 5164)
+++ labs/jbossrules/branches/3.0.x/drools-jsr94/src/test/resources/org/drools/jsr94/tck/tck_res_2.xml 2006-07-19 00:06:46 UTC (rev 5165)
@@ -1,15 +0,0 @@
-package RuleExecutionSet1;
-
-import org.jcp.jsr94.tck.model.Customer;
-import org.jcp.jsr94.tck.model.Invoice;
-
-rule "credit limit greater than invoice"
- when
- $invoice1 : Invoice ( $amount1 : amount )
- $customer1 : Customer ( creditLimit > $amount1 )
- then
- $customer1.setCreditLimit($customer1.getCreditLimit() - $invoice1.getAmount());
- $invoice1.setStatus("paid");
- System.out.println("The credit limit of the customer is " + $customer1.getCreditLimit());
- System.out.println("The status of the invoice is " + $invoice1.getStatus());
-end
\ No newline at end of file
More information about the jboss-svn-commits
mailing list