[jboss-svn-commits] JBL Code SVN: r12206 - labs/jbossrules/trunk/experimental/drools-testing/src/org/drools/testing/core/engine.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue May 29 05:02:01 EDT 2007


Author: mshaw
Date: 2007-05-29 05:02:01 -0400 (Tue, 29 May 2007)
New Revision: 12206

Modified:
   labs/jbossrules/trunk/experimental/drools-testing/src/org/drools/testing/core/engine/TestRunner.java
Log:


Modified: labs/jbossrules/trunk/experimental/drools-testing/src/org/drools/testing/core/engine/TestRunner.java
===================================================================
--- labs/jbossrules/trunk/experimental/drools-testing/src/org/drools/testing/core/engine/TestRunner.java	2007-05-29 08:54:05 UTC (rev 12205)
+++ labs/jbossrules/trunk/experimental/drools-testing/src/org/drools/testing/core/engine/TestRunner.java	2007-05-29 09:02:01 UTC (rev 12206)
@@ -3,6 +3,7 @@
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Iterator;
+import java.util.List;
 
 import org.apache.commons.beanutils.ConvertUtils;
 import org.apache.commons.beanutils.PropertyUtils;
@@ -153,4 +154,20 @@
 		}
 		return items;
 	}
+	
+	/**
+	 * Grab the list of fact handles from working memory
+	 * Match the field values against the expected assertion field values
+	 * 
+	 * Set the outcome state to PASS if all assertions passed
+	 * Set the outcome state to FAIL if all assertions failed
+	 * Set the outcome state to PARTIAL PASS at least 1 assertion failed
+	 * 
+	 * @param scenario
+	 * @param wm
+	 * @throws RuleTestLanguageException
+	 */
+	private void setOutcomes (Scenario scenario, WorkingMemory wm) throws RuleTestLanguageException {
+		
+	}
 }




More information about the jboss-svn-commits mailing list