Author: thomas.diesler(a)jboss.com
Date: 2008-11-28 12:06:35 -0500 (Fri, 28 Nov 2008)
New Revision: 3157
Added:
jbpm3/trunk/modules/integration/jboss42/src/test/java/org/jbpm/test/integration/jboss42/
jbpm3/trunk/modules/integration/jboss42/src/test/java/org/jbpm/test/integration/jboss42/deployment/
jbpm3/trunk/modules/integration/jboss42/src/test/java/org/jbpm/test/integration/jboss42/deployment/SimpleDeploymentTest.java
Removed:
jbpm3/trunk/modules/integration/jboss42/src/test/java/org/jbpm/test/integration/deployment/
Log:
Move JBoss42 SimpleDeploymentTest
Copied:
jbpm3/trunk/modules/integration/jboss42/src/test/java/org/jbpm/test/integration/jboss42/deployment/SimpleDeploymentTest.java
(from rev 3156,
jbpm3/trunk/modules/integration/jboss42/src/test/java/org/jbpm/test/integration/deployment/SimpleDeploymentTest.java)
===================================================================
---
jbpm3/trunk/modules/integration/jboss42/src/test/java/org/jbpm/test/integration/jboss42/deployment/SimpleDeploymentTest.java
(rev 0)
+++
jbpm3/trunk/modules/integration/jboss42/src/test/java/org/jbpm/test/integration/jboss42/deployment/SimpleDeploymentTest.java 2008-11-28
17:06:35 UTC (rev 3157)
@@ -0,0 +1,58 @@
+/*
+ * 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.test.integration.jboss42.deployment;
+
+// $Id$
+
+import org.jboss.bpm.api.test.IntegrationTestCase;
+
+/**
+ * Test simple jPDL process deployment
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 24-Nov-2008
+ */
+public class SimpleDeploymentTest extends IntegrationTestCase
+{
+ String XML_DEPLOYMENT = "deployment/simple-process.xml";
+ String PAR_DEPLOYMENT = "fork-join-example.par";
+
+ public void testSimpleXMLDeploy() throws Exception
+ {
+ deploy(getResourceURL(XML_DEPLOYMENT));
+ }
+
+ public void testSimpleXMLUndeploy() throws Exception
+ {
+ undeploy(getResourceURL(XML_DEPLOYMENT));
+ }
+
+ public void testSimplePARDeploy() throws Exception
+ {
+ deploy(getTestArchiveURL(PAR_DEPLOYMENT));
+ }
+
+ public void testSimplePARUndeploy() throws Exception
+ {
+ undeploy(getTestArchiveURL(PAR_DEPLOYMENT));
+ }
+}