[jboss-svn-commits] JBL Code SVN: r24508 - labs/jbossrules/branches/mfossati/drools-osworkflow/src/test/java/org/drools/osworkflow/test/persistence.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Dec 30 09:14:38 EST 2008
Author: mfossati
Date: 2008-12-30 09:14:37 -0500 (Tue, 30 Dec 2008)
New Revision: 24508
Modified:
labs/jbossrules/branches/mfossati/drools-osworkflow/src/test/java/org/drools/osworkflow/test/persistence/AbstractJPAPersistenceTestCase.java
labs/jbossrules/branches/mfossati/drools-osworkflow/src/test/java/org/drools/osworkflow/test/persistence/ComplexProcessPersistenceTestCase.java
Log:
minnor fixes
Modified: labs/jbossrules/branches/mfossati/drools-osworkflow/src/test/java/org/drools/osworkflow/test/persistence/AbstractJPAPersistenceTestCase.java
===================================================================
--- labs/jbossrules/branches/mfossati/drools-osworkflow/src/test/java/org/drools/osworkflow/test/persistence/AbstractJPAPersistenceTestCase.java 2008-12-30 12:46:32 UTC (rev 24507)
+++ labs/jbossrules/branches/mfossati/drools-osworkflow/src/test/java/org/drools/osworkflow/test/persistence/AbstractJPAPersistenceTestCase.java 2008-12-30 14:14:37 UTC (rev 24508)
@@ -7,6 +7,8 @@
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
+import junit.framework.TestCase;
+
import org.drools.RuleBase;
import org.drools.RuleBaseConfiguration;
import org.drools.RuleBaseFactory;
@@ -16,8 +18,6 @@
import org.drools.osworkflow.persistence.marshaller.OSWorkflowMarshaller;
import org.drools.rule.Package;
-import junit.framework.TestCase;
-
public abstract class AbstractJPAPersistenceTestCase extends TestCase {
private EntityManagerFactory emf;
Modified: labs/jbossrules/branches/mfossati/drools-osworkflow/src/test/java/org/drools/osworkflow/test/persistence/ComplexProcessPersistenceTestCase.java
===================================================================
--- labs/jbossrules/branches/mfossati/drools-osworkflow/src/test/java/org/drools/osworkflow/test/persistence/ComplexProcessPersistenceTestCase.java 2008-12-30 12:46:32 UTC (rev 24507)
+++ labs/jbossrules/branches/mfossati/drools-osworkflow/src/test/java/org/drools/osworkflow/test/persistence/ComplexProcessPersistenceTestCase.java 2008-12-30 14:14:37 UTC (rev 24508)
@@ -34,7 +34,7 @@
service = new SingleSessionCommandService(ruleBase);
DoActionCommand doActionCmd = new DoActionCommand();
doActionCmd.setProcessInstanceId(processInstance.getId());
- doActionCmd.setActionId(3); //Action to be executed at current step
+ doActionCmd.setActionId(2); //Action to be executed at current step
service.execute(doActionCmd);
More information about the jboss-svn-commits
mailing list