[jbpm-commits] JBoss JBPM SVN: r3055 - projects/spec/trunk/modules/api/src/main/java/org/jbpm/api/test.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Nov 24 09:27:07 EST 2008


Author: thomas.diesler at jboss.com
Date: 2008-11-24 09:27:07 -0500 (Mon, 24 Nov 2008)
New Revision: 3055

Modified:
   projects/spec/trunk/modules/api/src/main/java/org/jbpm/api/test/IntegrationTestCase.java
   projects/spec/trunk/modules/api/src/main/java/org/jbpm/api/test/IntegrationTestHelper.java
Log:
Expose deploy/undeploy

Modified: projects/spec/trunk/modules/api/src/main/java/org/jbpm/api/test/IntegrationTestCase.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jbpm/api/test/IntegrationTestCase.java	2008-11-24 14:14:07 UTC (rev 3054)
+++ projects/spec/trunk/modules/api/src/main/java/org/jbpm/api/test/IntegrationTestCase.java	2008-11-24 14:27:07 UTC (rev 3055)
@@ -70,6 +70,16 @@
     return delegate.isTargetJBoss422();
   }
   
+  public void deploy(String archive) throws Exception
+  {
+    delegate.deploy(archive);
+  }
+
+  public void undeploy(String archive) throws Exception
+  {
+    delegate.undeploy(archive);
+  }
+
   public MBeanServerConnection getServer()
   {
     return delegate.getServer();

Modified: projects/spec/trunk/modules/api/src/main/java/org/jbpm/api/test/IntegrationTestHelper.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jbpm/api/test/IntegrationTestHelper.java	2008-11-24 14:14:07 UTC (rev 3054)
+++ projects/spec/trunk/modules/api/src/main/java/org/jbpm/api/test/IntegrationTestHelper.java	2008-11-24 14:27:07 UTC (rev 3055)
@@ -47,18 +47,12 @@
   private static String testArchiveDir;
   private String integrationTarget;
 
-  /**
-   * Deploy the given archive
-   */
   public void deploy(String archive) throws Exception
   {
     URL url = getArchiveFile(archive).toURI().toURL();
     getDeployer().deploy(url);
   }
 
-  /**
-   * Undeploy the given archive
-   */
   public void undeploy(String archive) throws Exception
   {
     URL url = getArchiveFile(archive).toURI().toURL();
@@ -87,7 +81,6 @@
   {
     if (integrationTarget == null)
     {
-      // Read the JBoss SpecificationVersion
       String jbossVersion;
       try
       {




More information about the jbpm-commits mailing list