Im using this test:
public class workflowTest extends JbpmTestCase {
|
| long deploymentDbid;
|
| //Variables
| Integer A = 1;
| Integer B = 1;
| Integer C = 0;
| Integer D = 1;
| Integer E = 1;
| Integer F = 1;
|
|
| protected void setUp() throws Exception {
| super.setUp();
|
| deploymentDbid = repositoryService.createDeployment()
| .addResourceFromClasspath(
|
"org/workflow/quivir/workflowSumMul.jpdl.xml").deploy();
| }
|
| protected void tearDown() throws Exception {
| repositoryService.deleteDeploymentCascade(deploymentDbid);
|
| super.tearDown();
|
| }
|
| public void testWorkflowProcess() {
| Map<String, Integer> variables = new HashMap<String, Integer>();
| // Entradas
| variables.put("a", A);
| variables.put("b", B);
| variables.put("c", C);
| variables.put("d", D);
| variables.put("e", E);
| variables.put("f", F);
|
| ProcessInstance processInstance = executionService
| .startProcessInstanceByKey("workflowSumMul",
variables);
| }
| }
I have detected that the problem occur in the tearDown method when
super.tearDown() is called.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241666#4241666
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241666
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user