[jboss-svn-commits] JBL Code SVN: r11883 - 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
Wed May 16 07:36:08 EDT 2007
Author: mshaw
Date: 2007-05-16 07:36:08 -0400 (Wed, 16 May 2007)
New Revision: 11883
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-16 11:27:58 UTC (rev 11882)
+++ labs/jbossrules/trunk/experimental/drools-testing/src/org/drools/testing/core/engine/TestRunner.java 2007-05-16 11:36:08 UTC (rev 11883)
@@ -16,6 +16,10 @@
* This class relies on the underlying testing model and will return
* results reflected in the model by the test scenarios.
*
+ * Eventually there will be multiple run methods depending on services this API will
+ * be used in. for now the run method accepts a drools Package object, implying that the
+ * calling application has it's own method of generating a package.
+ *
* (c) Matt Shaw
*/
public class TestRunner {
@@ -42,6 +46,8 @@
+pkg.getName());
}
+ parseTestSuite();
+ RuleBaseWrapper.getInstance().getRuleBase().removePackage(pkg.getName());
return true;
}
More information about the jboss-svn-commits
mailing list