[jboss-svn-commits] JBL Code SVN: r11838 - 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
Sat May 12 04:12:41 EDT 2007
Author: mshaw
Date: 2007-05-12 04:12:41 -0400 (Sat, 12 May 2007)
New Revision: 11838
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-12 08:04:20 UTC (rev 11837)
+++ labs/jbossrules/trunk/experimental/drools-testing/src/org/drools/testing/core/engine/TestRunner.java 2007-05-12 08:12:41 UTC (rev 11838)
@@ -1,13 +1,36 @@
package org.drools.testing.core.engine;
+import org.drools.testing.core.beans.TestSuite;
+import org.drools.testing.core.exception.RuleTestLanguageException;
+
/**
*
* @author Matt
*
* This is the core API class which takes a TestSuite object and processes
* the scenarios via the Jboss rules engine.
+ *
+ * This class relies on the underlying testing model and will return
+ * results reflected in the model by the test scenarios.
*/
public class TestRunner {
+ private TestSuite testSuite;
+ public TestRunner (TestSuite otherValue) {
+ this.testSuite = otherValue;
+ }
+
+ /**
+ * The run method is invoked by the client and returns true if test
+ * was run successfully and false otherwise.
+ *
+ * @return boolean
+ * @throws RuleTestLanguageException
+ */
+ public boolean run () throws RuleTestLanguageException {
+
+
+ return true;
+ }
}
More information about the jboss-svn-commits
mailing list