[jbpm-commits] JBoss JBPM SVN: r3347 - in jbpm4/trunk/modules/examples/src/test: resources/org/jbpm/examples/states and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Dec 11 12:02:04 EST 2008
Author: tom.baeyens at jboss.com
Date: 2008-12-11 12:02:03 -0500 (Thu, 11 Dec 2008)
New Revision: 3347
Removed:
jbpm4/trunk/modules/examples/src/test/java/org/jbpm/examples/states/StatesTest.java
jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/states/states.jpdl.xml
Log:
more examples
Deleted: jbpm4/trunk/modules/examples/src/test/java/org/jbpm/examples/states/StatesTest.java
===================================================================
--- jbpm4/trunk/modules/examples/src/test/java/org/jbpm/examples/states/StatesTest.java 2008-12-11 16:58:56 UTC (rev 3346)
+++ jbpm4/trunk/modules/examples/src/test/java/org/jbpm/examples/states/StatesTest.java 2008-12-11 17:02:03 UTC (rev 3347)
@@ -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.jbpm.examples.states;
-
-import org.jbpm.Execution;
-import org.jbpm.test.DbTestCase;
-
-
-/**
- * @author Tom Baeyens
- */
-public class StatesTest extends DbTestCase {
-
- public void testWaitStatesSequence() {
- deployJpdlResource("org/jbpm/examples/states/states.jpdl.xml");
-
- Execution execution = executionService.startExecutionByKey("states");
- assertEquals("a", execution.getNodeName());
-
- String executionId = execution.getId();
- execution = executionService.signalExecutionById(executionId);
- assertEquals("b", execution.getNodeName());
-
- execution = executionService.signalExecutionById(executionId);
- assertEquals("c", execution.getNodeName());
- }
-
-}
Deleted: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/states/states.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/states/states.jpdl.xml 2008-12-11 16:58:56 UTC (rev 3346)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/states/states.jpdl.xml 2008-12-11 17:02:03 UTC (rev 3347)
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<process name="states" xmlns="http://jbpm.org/4/jpdl">
-
- <start>
- <flow to="a" />
- </start>
-
- <state name="a">
- <flow to="b" />
- </state>
-
- <state name="b">
- <flow to="c" />
- </state>
-
- <state name="c" />
-
-</process>
More information about the jbpm-commits
mailing list