[jbpm-commits] JBoss JBPM SVN: r4393 - in jbpm4/trunk/modules: test-db/src/test/java/org/jbpm/test/process and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Apr 2 13:54:53 EDT 2009
Author: heiko.braun at jboss.com
Date: 2009-04-02 13:54:53 -0400 (Thu, 02 Apr 2009)
New Revision: 4393
Modified:
jbpm4/trunk/modules/examples/src/test/java/org/jbpm/examples/services/ServicesTest.java
jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/process/DeploymentResourcesTest.java
Log:
More excludes from integration test suite
Modified: jbpm4/trunk/modules/examples/src/test/java/org/jbpm/examples/services/ServicesTest.java
===================================================================
--- jbpm4/trunk/modules/examples/src/test/java/org/jbpm/examples/services/ServicesTest.java 2009-04-02 14:51:06 UTC (rev 4392)
+++ jbpm4/trunk/modules/examples/src/test/java/org/jbpm/examples/services/ServicesTest.java 2009-04-02 17:54:53 UTC (rev 4393)
@@ -9,6 +9,7 @@
import org.jbpm.ProcessEngine;
import org.jbpm.RepositoryService;
import org.jbpm.TaskService;
+import org.jbpm.test.JbpmTestCase;
/** shows explicitely the part of the API that is
* provided by JbpmTestCase as a convenience.
@@ -18,7 +19,13 @@
public class ServicesTest extends TestCase {
public void testObtainServicesAndDeployProcess() {
-
+
+ if(JbpmTestCase.isIntegrationTest())
+ {
+ // Not part of the integration test suite
+ return;
+ }
+
// create a configuration
Configuration configuration = new Configuration();
// build a process engine from a configuration
Modified: jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/process/DeploymentResourcesTest.java
===================================================================
--- jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/process/DeploymentResourcesTest.java 2009-04-02 14:51:06 UTC (rev 4392)
+++ jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/process/DeploymentResourcesTest.java 2009-04-02 17:54:53 UTC (rev 4393)
@@ -39,6 +39,13 @@
public class DeploymentResourcesTest extends JbpmTestCase {
public void testProcessWithNameOnly() {
+
+ if(isIntegrationTest())
+ {
+ // Not part of the integration test suite
+ return;
+ }
+
byte[] lotOfBytes = generateString("a lot of bytes ", 5000).getBytes();
byte[] otherBytes = generateString("other bytes ", 5000).getBytes();
More information about the jbpm-commits
mailing list