[jbpm-commits] JBoss JBPM SVN: r1958 - in jbossbpm/spec/trunk: modules/api and 29 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Aug 21 09:28:11 EDT 2008
Author: thomas.diesler at jboss.com
Date: 2008-08-21 09:28:11 -0400 (Thu, 21 Aug 2008)
New Revision: 1958
Added:
jbossbpm/spec/trunk/modules/api/src/main/java/org/jboss/bpm/runtime/BasicExecutionContext.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/executioncontext/
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/executioncontext/ExecutionContextTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/task/TaskExecutionHandlerDescriptorTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/exclusivechoice/ExclusiveChoiceDescriptorTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/multichoice/MultiChoiceDescriptorTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitDescriptorTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceDescriptorTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/simplemerge/SimpleMergeDescriptorTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/synchronization/SynchronizationDescriptorTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/casedata/CaseDataDescriptorTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/taskdata/TaskDataDescriptorTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/resources/cts/task/
jbossbpm/spec/trunk/modules/testsuite/src/test/resources/cts/task/task-executionhandler-api10.xml
jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/casedata/pattern-data-casedata-api10.xml
jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/taskdata/pattern-data-taskdata-api10.xml
Removed:
jbossbpm/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/runtime/BasicExecutionContext.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/event/
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/exclusivechoice/ExclusiveChoiceAPITest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/multichoice/MultiChoiceAPITest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitAPITest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceAPITest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/simplemerge/SimpleMergeAPITest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/synchronization/SynchronizationAPITest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/casedata/CaseDataAPITest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/taskdata/TaskDataAPITest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/casedata/pattern-data-case-data-api10.xml
jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/taskdata/pattern-data-task-data-api10.xml
Modified:
jbossbpm/spec/trunk/modules/api/pom.xml
jbossbpm/spec/trunk/modules/dialects/api10/pom.xml
jbossbpm/spec/trunk/modules/dialects/jpdl32/pom.xml
jbossbpm/spec/trunk/modules/dialects/pom.xml
jbossbpm/spec/trunk/modules/dialects/stp/pom.xml
jbossbpm/spec/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
jbossbpm/spec/trunk/modules/dialects/xpdl21/pom.xml
jbossbpm/spec/trunk/modules/ri/pom.xml
jbossbpm/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/runtime/TokenImpl.java
jbossbpm/spec/trunk/modules/samples/airticket/client/pom.xml
jbossbpm/spec/trunk/modules/samples/airticket/pom.xml
jbossbpm/spec/trunk/modules/samples/airticket/server/pom.xml
jbossbpm/spec/trunk/modules/testsuite/pom.xml
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/task/TaskExecutionHandlerTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitSTPTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceSTPTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceTest.java
jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/control/synchronization/pattern-control-synchronization-api10.xml
jbossbpm/spec/trunk/pom.xml
Log:
Use dynamic descriptor extension
Modified: jbossbpm/spec/trunk/modules/api/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/api/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/api/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-spec</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Copied: jbossbpm/spec/trunk/modules/api/src/main/java/org/jboss/bpm/runtime/BasicExecutionContext.java (from rev 1947, jbossbpm/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/runtime/BasicExecutionContext.java)
===================================================================
--- jbossbpm/spec/trunk/modules/api/src/main/java/org/jboss/bpm/runtime/BasicExecutionContext.java (rev 0)
+++ jbossbpm/spec/trunk/modules/api/src/main/java/org/jboss/bpm/runtime/BasicExecutionContext.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.runtime;
+
+//$Id$
+
+
+/**
+ * A basic ExecutionContext.
+ *
+ * @author Thomas.Diesler at jboss.com
+ * @since 15-Aug-2008
+ */
+public class BasicExecutionContext extends BasicAttachments implements ExecutionContext
+{
+ public BasicExecutionContext()
+ {
+ }
+
+ public BasicExecutionContext(Attachments att)
+ {
+ super(att);
+ }
+}
\ No newline at end of file
Modified: jbossbpm/spec/trunk/modules/dialects/api10/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/api10/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/dialects/api10/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -22,6 +22,6 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-dialects</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
</parent>
</project>
\ No newline at end of file
Modified: jbossbpm/spec/trunk/modules/dialects/jpdl32/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/jpdl32/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/dialects/jpdl32/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-dialects</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
</parent>
</project>
\ No newline at end of file
Modified: jbossbpm/spec/trunk/modules/dialects/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/dialects/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-spec</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -55,4 +55,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
Modified: jbossbpm/spec/trunk/modules/dialects/stp/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/stp/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/dialects/stp/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-dialects</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
</parent>
</project>
\ No newline at end of file
Modified: jbossbpm/spec/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -42,10 +42,10 @@
*/
public void testBasicSequence() throws Exception
{
- URL jpdlURL = getResourceURL("sequence/basic-sequence.bpmn");
+ URL procURL = getResourceURL("sequence/basic-sequence.bpmn");
ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
+ Process proc = pm.createProcess(procURL);
assertNotNull(proc);
}
Modified: jbossbpm/spec/trunk/modules/dialects/xpdl21/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/xpdl21/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/dialects/xpdl21/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -22,6 +22,6 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-dialects</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
</parent>
</project>
\ No newline at end of file
Modified: jbossbpm/spec/trunk/modules/ri/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/ri/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/ri/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -23,7 +23,7 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-spec</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Deleted: jbossbpm/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/runtime/BasicExecutionContext.java
===================================================================
--- jbossbpm/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/runtime/BasicExecutionContext.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/runtime/BasicExecutionContext.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,42 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.ri.runtime;
-
-//$Id$
-
-import org.jboss.bpm.runtime.Attachments;
-import org.jboss.bpm.runtime.BasicAttachments;
-import org.jboss.bpm.runtime.ExecutionContext;
-
-/**
- * A basic ExecutionContext.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 15-Aug-2008
- */
-public class BasicExecutionContext extends BasicAttachments implements ExecutionContext
-{
- public BasicExecutionContext(Attachments att)
- {
- super(att);
- }
-}
\ No newline at end of file
Modified: jbossbpm/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/runtime/TokenImpl.java
===================================================================
--- jbossbpm/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/runtime/TokenImpl.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/runtime/TokenImpl.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -27,6 +27,7 @@
import org.jboss.bpm.model.OutputSet;
import org.jboss.bpm.model.SequenceFlow;
import org.jboss.bpm.runtime.Attachments;
+import org.jboss.bpm.runtime.BasicExecutionContext;
import org.jboss.bpm.runtime.ExecutionContext;
import org.jboss.bpm.runtime.Token;
import org.jboss.bpm.runtime.Attachments.Key;
Modified: jbossbpm/spec/trunk/modules/samples/airticket/client/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/client/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/samples/airticket/client/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -23,7 +23,7 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-sample-airticket</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
</parent>
<!-- Dependencies -->
Modified: jbossbpm/spec/trunk/modules/samples/airticket/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/samples/airticket/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-spec</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
Modified: jbossbpm/spec/trunk/modules/samples/airticket/server/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/server/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/samples/airticket/server/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-sample-airticket</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
</parent>
<!-- Dependencies -->
Modified: jbossbpm/spec/trunk/modules/testsuite/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-spec</artifactId>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/executioncontext (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/event)
Added: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/executioncontext/ExecutionContextTest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/executioncontext/ExecutionContextTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/executioncontext/ExecutionContextTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.cts.executioncontext;
+
+// $Id$
+
+import org.jboss.bpm.runtime.BasicExecutionContext;
+import org.jboss.bpm.runtime.ExecutionContext;
+import org.jboss.bpm.test.DefaultEngineTestCase;
+
+/**
+ * Test the execution context
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 03-Jul-2008
+ */
+public class ExecutionContextTest extends DefaultEngineTestCase
+{
+ public void testStringKey() throws Exception
+ {
+ ExecutionContext exContext = new BasicExecutionContext();
+
+ exContext.addAttachment("foo", "bar");
+ assertEquals("bar", exContext.getAttachment("foo"));
+ assertNull(exContext.getAttachment(String.class, "foo"));
+
+ exContext.removeAttachment("foo");
+ assertNull(exContext.getAttachment("foo"));
+ }
+
+ public void testClassKey() throws Exception
+ {
+ ExecutionContext exContext = new BasicExecutionContext();
+
+ exContext.addAttachment(String.class, "bar");
+ assertEquals("bar", exContext.getAttachment(String.class));
+
+ exContext.removeAttachment(String.class);
+ assertNull(exContext.getAttachment(String.class));
+ }
+
+ public void testStringClassKey() throws Exception
+ {
+ ExecutionContext exContext = new BasicExecutionContext();
+
+ exContext.addAttachment(String.class, "foo", "bar");
+ assertEquals("bar", exContext.getAttachment(String.class, "foo"));
+ assertNull(exContext.getAttachment("foo"));
+
+ exContext.removeAttachment(String.class, "foo");
+ assertNull(exContext.getAttachment(String.class, "foo"));
+ }
+}
Property changes on: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/executioncontext/ExecutionContextTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/task/TaskExecutionHandlerDescriptorTest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/task/TaskExecutionHandlerDescriptorTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/task/TaskExecutionHandlerDescriptorTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.cts.task;
+
+// $Id$
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.Process;
+
+/**
+ * Test ExecutionHandler attached to Task
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 03-Jul-2008
+ */
+public class TaskExecutionHandlerDescriptorTest extends TaskExecutionHandlerTest
+{
+ protected Process getProcess() throws IOException
+ {
+ URL procURL = getResourceURL("cts/task/task-executionhandler-" + getDialect() + ".xml");
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(procURL);
+ return proc;
+ }
+}
Property changes on: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/task/TaskExecutionHandlerDescriptorTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/task/TaskExecutionHandlerTest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/task/TaskExecutionHandlerTest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/cts/task/TaskExecutionHandlerTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -50,10 +50,10 @@
proc.startProcess();
proc.waitForEnd();
- assertEquals(TaskExecutionHandler.procProp, "kermit");
- assertEquals(TaskExecutionHandler.taskProp, "piggy");
- assertEquals(TaskExecutionHandler.procAssign, Boolean.TRUE);
- assertEquals(TaskExecutionHandler.taskAssign, Boolean.TRUE);
+ assertEquals("kermit", TaskExecutionHandler.procProp);
+ assertEquals("piggy", TaskExecutionHandler.taskProp);
+ assertEquals(Boolean.TRUE, TaskExecutionHandler.procAssign);
+ assertEquals(Boolean.TRUE, TaskExecutionHandler.taskAssign);
}
protected Process getProcess() throws IOException
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/exclusivechoice/ExclusiveChoiceAPITest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/exclusivechoice/ExclusiveChoiceAPITest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/exclusivechoice/ExclusiveChoiceAPITest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.pattern.control.exclusivechoice;
-
-// $Id$
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.model.Process;
-
-/**
- * ExclusiveChoiceTest using the API Descriptor
- *
- * @author thomas.diesler at jboss.com
- * @since 06-Aug-2008
- */
-public class ExclusiveChoiceAPITest extends ExclusiveChoiceTest
-{
- @Override
- public Process getProcess() throws IOException
- {
- URL jpdlURL = getResourceURL("pattern/control/exclusivechoice/pattern-control-exclusive-choice-api10.xml");
- ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
- return proc;
- }
-}
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/exclusivechoice/ExclusiveChoiceDescriptorTest.java (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/exclusivechoice/ExclusiveChoiceAPITest.java)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/exclusivechoice/ExclusiveChoiceDescriptorTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/exclusivechoice/ExclusiveChoiceDescriptorTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.pattern.control.exclusivechoice;
+
+// $Id$
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.Process;
+
+/**
+ * ExclusiveChoiceTest using the API Descriptor
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 06-Aug-2008
+ */
+public class ExclusiveChoiceDescriptorTest extends ExclusiveChoiceTest
+{
+ @Override
+ public Process getProcess() throws IOException
+ {
+ URL procURL = getResourceURL("pattern/control/exclusivechoice/pattern-control-exclusive-choice-" + getDialect() + ".xml");
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(procURL);
+ return proc;
+ }
+}
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/multichoice/MultiChoiceAPITest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/multichoice/MultiChoiceAPITest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/multichoice/MultiChoiceAPITest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.pattern.control.multichoice;
-
-// $Id$
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.model.Process;
-
-/**
- * MultiChoiceTest using the API Descriptor
- *
- * @author thomas.diesler at jboss.com
- * @since 06-Aug-2008
- */
-public class MultiChoiceAPITest extends MultiChoiceTest
-{
- @Override
- public Process getProcess() throws IOException
- {
- URL jpdlURL = getResourceURL("pattern/control/multichoice/pattern-control-multi-choice-api10.xml");
- ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
- return proc;
- }
-}
\ No newline at end of file
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/multichoice/MultiChoiceDescriptorTest.java (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/multichoice/MultiChoiceAPITest.java)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/multichoice/MultiChoiceDescriptorTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/multichoice/MultiChoiceDescriptorTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.pattern.control.multichoice;
+
+// $Id$
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.Process;
+
+/**
+ * MultiChoiceTest using the API Descriptor
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 06-Aug-2008
+ */
+public class MultiChoiceDescriptorTest extends MultiChoiceTest
+{
+ @Override
+ public Process getProcess() throws IOException
+ {
+ URL procURL = getResourceURL("pattern/control/multichoice/pattern-control-multi-choice-" + getDialect() + ".xml");
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(procURL);
+ return proc;
+ }
+}
\ No newline at end of file
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitAPITest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitAPITest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitAPITest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.pattern.control.parallelsplit;
-
-// $Id$
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.model.Process;
-
-/**
- * ParallelSplitTest using the API Descriptor
- *
- * @author thomas.diesler at jboss.com
- * @since 06-Aug-2008
- */
-public class ParallelSplitAPITest extends ParallelSplitTest
-{
- @Override
- public Process getProcess() throws IOException
- {
- URL jpdlURL = getResourceURL("pattern/control/parallelsplit/pattern-control-parallel-split-api10.xml");
- ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
- return proc;
- }
-}
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitDescriptorTest.java (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitAPITest.java)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitDescriptorTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitDescriptorTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.pattern.control.parallelsplit;
+
+// $Id$
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.Process;
+
+/**
+ * ParallelSplitTest using the API Descriptor
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 06-Aug-2008
+ */
+public class ParallelSplitDescriptorTest extends ParallelSplitTest
+{
+ @Override
+ public Process getProcess() throws IOException
+ {
+ URL procURL = getResourceURL("pattern/control/parallelsplit/pattern-control-parallel-split-" + getDialect() + ".xml");
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(procURL);
+ return proc;
+ }
+}
Modified: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitSTPTest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitSTPTest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/parallelsplit/ParallelSplitSTPTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -40,9 +40,9 @@
@Override
public Process getProcess() throws IOException
{
- URL jpdlURL = getResourceURL("pattern/control/parallelsplit/pattern-control-parallel-split.bpmn");
+ URL procURL = getResourceURL("pattern/control/parallelsplit/pattern-control-parallel-split.bpmn");
ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
+ Process proc = pm.createProcess(procURL);
return proc;
}
}
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceAPITest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceAPITest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceAPITest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,47 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.pattern.control.sequence;
-
-// $Id$
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.model.Process;
-
-/**
- * Test the basic execution sequence
- *
- * @author thomas.diesler at jboss.com
- * @since 03-Jul-2008
- */
-public class SequenceAPITest extends SequenceTest
-{
- public Process getProcess() throws IOException
- {
- URL jpdlURL = getResourceURL("pattern/control/sequence/pattern-control-sequence-api10.xml");
- ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
- return proc;
- }
-}
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceDescriptorTest.java (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceAPITest.java)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceDescriptorTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceDescriptorTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.pattern.control.sequence;
+
+// $Id$
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.Process;
+
+/**
+ * Test the basic execution sequence
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 03-Jul-2008
+ */
+public class SequenceDescriptorTest extends SequenceTest
+{
+ public Process getProcess() throws IOException
+ {
+ URL procURL = getResourceURL("pattern/control/sequence/pattern-control-sequence-" + getDialect() + ".xml");
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(procURL);
+ return proc;
+ }
+}
Modified: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceSTPTest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceSTPTest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceSTPTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -39,9 +39,9 @@
{
public Process getProcess() throws IOException
{
- URL jpdlURL = getResourceURL("pattern/control/sequence/pattern-control-sequence.bpmn");
+ URL procURL = getResourceURL("pattern/control/sequence/pattern-control-sequence.bpmn");
ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
+ Process proc = pm.createProcess(procURL);
return proc;
}
}
Modified: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceTest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceTest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/sequence/SequenceTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -63,7 +63,7 @@
public Process getProcess() throws IOException
{
ProcessBuilder procBuilder = ProcessBuilderFactory.newInstance().newProcessBuilder();
- procBuilder.addProcess(getName()).addStartEvent("Start").addSequenceFlow("TaskA");
+ procBuilder.addProcess("Sequence").addStartEvent("Start").addSequenceFlow("TaskA");
procBuilder.addTask("TaskA").addSequenceFlow("End").addEndEvent("End");
Process proc = procBuilder.getProcess();
return proc;
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/simplemerge/SimpleMergeAPITest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/simplemerge/SimpleMergeAPITest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/simplemerge/SimpleMergeAPITest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.pattern.control.simplemerge;
-
-// $Id$
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.model.Process;
-
-/**
- * InclusiveMergeTest using the API Descriptor
- *
- * @author thomas.diesler at jboss.com
- * @since 06-Aug-2008
- */
-public class SimpleMergeAPITest extends SimpleMergeTest
-{
- @Override
- public Process getProcess() throws IOException
- {
- URL jpdlURL = getResourceURL("pattern/control/simplemerge/pattern-control-simple-merge-api10.xml");
- ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
- return proc;
- }
-}
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/simplemerge/SimpleMergeDescriptorTest.java (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/simplemerge/SimpleMergeAPITest.java)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/simplemerge/SimpleMergeDescriptorTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/simplemerge/SimpleMergeDescriptorTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.pattern.control.simplemerge;
+
+// $Id$
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.Process;
+
+/**
+ * InclusiveMergeTest using the API Descriptor
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 06-Aug-2008
+ */
+public class SimpleMergeDescriptorTest extends SimpleMergeTest
+{
+ @Override
+ public Process getProcess() throws IOException
+ {
+ URL procURL = getResourceURL("pattern/control/simplemerge/pattern-control-simple-merge-" + getDialect() + ".xml");
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(procURL);
+ return proc;
+ }
+}
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/synchronization/SynchronizationAPITest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/synchronization/SynchronizationAPITest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/synchronization/SynchronizationAPITest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,49 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.pattern.control.synchronization;
-
-//$Id$
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.model.Process;
-
-
-/**
- * ParallelMergeTest using the API Descriptor
- *
- * @author thomas.diesler at jboss.com
- * @since 06-Aug-2008
- */
-public class SynchronizationAPITest extends SynchronizationTest
-{
- @Override
- public Process getProcess() throws IOException
- {
- URL jpdlURL = getResourceURL("pattern/control/synchronization/pattern-control-synchronization-api10.xml");
- ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
- return proc;
- }
-}
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/synchronization/SynchronizationDescriptorTest.java (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/synchronization/SynchronizationAPITest.java)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/synchronization/SynchronizationDescriptorTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/control/synchronization/SynchronizationDescriptorTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.pattern.control.synchronization;
+
+//$Id$
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.Process;
+
+
+/**
+ * ParallelMergeTest using the API Descriptor
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 06-Aug-2008
+ */
+public class SynchronizationDescriptorTest extends SynchronizationTest
+{
+ @Override
+ public Process getProcess() throws IOException
+ {
+ URL procURL = getResourceURL("pattern/control/synchronization/pattern-control-synchronization-" + getDialect() + ".xml");
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(procURL);
+ return proc;
+ }
+}
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/casedata/CaseDataAPITest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/casedata/CaseDataAPITest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/casedata/CaseDataAPITest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,50 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.pattern.data.casedata;
-
-// $Id$
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.model.Process;
-
-/**
- * Data elements are supported which are specific to a process instance or case. They can be accessed by all components
- * of the process during the execution of the case.
- *
- * https://jira.jboss.org/jira/browse/JBPM-1519
- *
- * @author thomas.diesler at jboss.com
- * @since 15-Aug-2008
- */
-public class CaseDataAPITest extends CaseDataTest
-{
- protected Process getProcess() throws IOException
- {
- URL jpdlURL = getResourceURL("pattern/data/casedata/pattern-data-case-data-api10.xml");
- ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
- return proc;
- }
-}
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/casedata/CaseDataDescriptorTest.java (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/casedata/CaseDataAPITest.java)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/casedata/CaseDataDescriptorTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/casedata/CaseDataDescriptorTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.pattern.data.casedata;
+
+// $Id$
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.Process;
+
+/**
+ * Data elements are supported which are specific to a process instance or case. They can be accessed by all components
+ * of the process during the execution of the case.
+ *
+ * https://jira.jboss.org/jira/browse/JBPM-1519
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 15-Aug-2008
+ */
+public class CaseDataDescriptorTest extends CaseDataTest
+{
+ protected Process getProcess() throws IOException
+ {
+ URL procURL = getResourceURL("pattern/data/casedata/pattern-data-casedata-" + getDialect() + ".xml");
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(procURL);
+ return proc;
+ }
+}
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/taskdata/TaskDataAPITest.java
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/taskdata/TaskDataAPITest.java 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/taskdata/TaskDataAPITest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,50 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.pattern.data.taskdata;
-
-// $Id$
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.model.Process;
-
-/**
- * Data elements can be defined by tasks which are accessible only within the context of individual execution instances
- * of that task.
- *
- * https://jira.jboss.org/jira/browse/JBPM-1515
- *
- * @author thomas.diesler at jboss.com
- * @since 15-Aug-2008
- */
-public class TaskDataAPITest extends TaskDataTest
-{
- protected Process getProcess() throws IOException
- {
- URL jpdlURL = getResourceURL("pattern/data/taskdata/pattern-data-task-data-api10.xml");
- ProcessManager pm = ProcessManager.locateProcessManager();
- Process proc = pm.createProcess(jpdlURL);
- return proc;
- }
-}
\ No newline at end of file
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/taskdata/TaskDataDescriptorTest.java (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/taskdata/TaskDataAPITest.java)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/taskdata/TaskDataDescriptorTest.java (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/java/org/jboss/bpm/pattern/data/taskdata/TaskDataDescriptorTest.java 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.pattern.data.taskdata;
+
+// $Id$
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.model.Process;
+
+/**
+ * Data elements can be defined by tasks which are accessible only within the context of individual execution instances
+ * of that task.
+ *
+ * https://jira.jboss.org/jira/browse/JBPM-1515
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 15-Aug-2008
+ */
+public class TaskDataDescriptorTest extends TaskDataTest
+{
+ protected Process getProcess() throws IOException
+ {
+ URL procURL = getResourceURL("pattern/data/taskdata/pattern-data-taskdata-" + getDialect() + ".xml");
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(procURL);
+ return proc;
+ }
+}
\ No newline at end of file
Added: jbossbpm/spec/trunk/modules/testsuite/src/test/resources/cts/task/task-executionhandler-api10.xml
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/resources/cts/task/task-executionhandler-api10.xml (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/resources/cts/task/task-executionhandler-api10.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,26 @@
+<ns2:process name="TaskExecutionHandlerTest" xmlns:ns2="urn:bpm.jboss:pdl-0.1">
+ <start name="Start">
+ <seqflow to="TaskA" />
+ </start>
+ <task taskType="None" name="TaskA">
+ <assignment time="Start">
+ <from lang="MVEL">TaskExecutionHandlerTest_TaskA_taskProp == 'piggy'</from>
+ <to>taskAssign</to>
+ </assignment>
+ <property>
+ <name>taskProp</name>
+ <value>piggy</value>
+ </property>
+ <seqflow to="End" />
+ <execution-handler class="org.jboss.bpm.cts.task.TaskExecutionHandlerTest$TaskExecutionHandler" />
+ </task>
+ <end name="End" />
+ <assignment time="Start">
+ <from lang="MVEL">TaskExecutionHandlerTest_procProp == 'kermit'</from>
+ <to>procAssign</to>
+ </assignment>
+ <property>
+ <name>procProp</name>
+ <value>kermit</value>
+ </property>
+</ns2:process>
\ No newline at end of file
Property changes on: jbossbpm/spec/trunk/modules/testsuite/src/test/resources/cts/task/task-executionhandler-api10.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/control/synchronization/pattern-control-synchronization-api10.xml
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/control/synchronization/pattern-control-synchronization-api10.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/control/synchronization/pattern-control-synchronization-api10.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -38,7 +38,7 @@
</message-result>
</end>
<message name="EndMessage">
- <to>jboss.bpm:msgListener=SynchronizationAPITest</to>
+ <to>jboss.bpm:msgListener=SynchronizationDescriptorTest</to>
<property correlation="true">
<name>taskValueA</name>
</property>
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/casedata/pattern-data-case-data-api10.xml
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/casedata/pattern-data-case-data-api10.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/casedata/pattern-data-case-data-api10.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,27 +0,0 @@
-<ns2:process name="CaseData" xmlns:ns2="urn:bpm.jboss:pdl-0.1">
- <start name="Start">
- <assignment time="Start">
- <from lang="MVEL">CaseData_foo</from>
- <to>foo</to>
- </assignment>
- <seqflow to="TaskA" />
- </start>
- <task taskType="None" name="TaskA">
- <seqflow to="End" />
- </task>
- <end name="End">
- <message-result>
- <messageRef nameRef="EndMessage" />
- </message-result>
- </end>
- <message name="EndMessage">
- <to>jboss.bpm:msgListener=CaseDataAPITest</to>
- <property correlation="true">
- <name>foo</name>
- </property>
- </message>
- <property>
- <name>foo</name>
- <value>bar</value>
- </property>
-</ns2:process>
\ No newline at end of file
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/casedata/pattern-data-casedata-api10.xml (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/casedata/pattern-data-case-data-api10.xml)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/casedata/pattern-data-casedata-api10.xml (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/casedata/pattern-data-casedata-api10.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,27 @@
+<ns2:process name="CaseData" xmlns:ns2="urn:bpm.jboss:pdl-0.1">
+ <start name="Start">
+ <assignment time="Start">
+ <from lang="MVEL">CaseData_foo</from>
+ <to>foo</to>
+ </assignment>
+ <seqflow to="TaskA" />
+ </start>
+ <task taskType="None" name="TaskA">
+ <seqflow to="End" />
+ </task>
+ <end name="End">
+ <message-result>
+ <messageRef nameRef="EndMessage" />
+ </message-result>
+ </end>
+ <message name="EndMessage">
+ <to>jboss.bpm:msgListener=CaseDataDescriptorTest</to>
+ <property correlation="true">
+ <name>foo</name>
+ </property>
+ </message>
+ <property>
+ <name>foo</name>
+ <value>bar</value>
+ </property>
+</ns2:process>
\ No newline at end of file
Deleted: jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/taskdata/pattern-data-task-data-api10.xml
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/taskdata/pattern-data-task-data-api10.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/taskdata/pattern-data-task-data-api10.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -1,27 +0,0 @@
-<ns2:process name="TaskData" xmlns:ns2="urn:bpm.jboss:pdl-0.1">
- <start name="Start">
- <seqflow to="TaskA" />
- </start>
- <task taskType="None" name="TaskA">
- <assignment time="Start">
- <from lang="MVEL">TaskData_TaskA_foo</from>
- <to>foo</to>
- </assignment>
- <property>
- <name>foo</name>
- <value>bar</value>
- </property>
- <seqflow to="End" />
- </task>
- <end name="End">
- <message-result>
- <messageRef nameRef="EndMessage" />
- </message-result>
- </end>
- <message name="EndMessage">
- <to>jboss.bpm:msgListener=TaskDataAPITest</to>
- <property correlation="true">
- <name>foo</name>
- </property>
- </message>
-</ns2:process>
\ No newline at end of file
Copied: jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/taskdata/pattern-data-taskdata-api10.xml (from rev 1947, jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/taskdata/pattern-data-task-data-api10.xml)
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/taskdata/pattern-data-taskdata-api10.xml (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/src/test/resources/pattern/data/taskdata/pattern-data-taskdata-api10.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -0,0 +1,27 @@
+<ns2:process name="TaskData" xmlns:ns2="urn:bpm.jboss:pdl-0.1">
+ <start name="Start">
+ <seqflow to="TaskA" />
+ </start>
+ <task taskType="None" name="TaskA">
+ <assignment time="Start">
+ <from lang="MVEL">TaskData_TaskA_foo</from>
+ <to>foo</to>
+ </assignment>
+ <property>
+ <name>foo</name>
+ <value>bar</value>
+ </property>
+ <seqflow to="End" />
+ </task>
+ <end name="End">
+ <message-result>
+ <messageRef nameRef="EndMessage" />
+ </message-result>
+ </end>
+ <message name="EndMessage">
+ <to>jboss.bpm:msgListener=TaskDataDescriptorTest</to>
+ <property correlation="true">
+ <name>foo</name>
+ </property>
+ </message>
+</ns2:process>
\ No newline at end of file
Modified: jbossbpm/spec/trunk/pom.xml
===================================================================
--- jbossbpm/spec/trunk/pom.xml 2008-08-21 12:13:18 UTC (rev 1957)
+++ jbossbpm/spec/trunk/pom.xml 2008-08-21 13:28:11 UTC (rev 1958)
@@ -17,7 +17,7 @@
<groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-spec</artifactId>
<packaging>pom</packaging>
- <version>1.0.0.Alpha2</version>
+ <version>1.0.0.Alpha1</version>
<!-- Parent -->
<parent>
@@ -202,4 +202,4 @@
</build>
</profile>
</profiles>
-</project>
\ No newline at end of file
+</project>
More information about the jbpm-commits
mailing list