You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dw...@apache.org on 2008/06/23 17:28:32 UTC

svn commit: r670654 - /geronimo/server/trunk/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java

Author: dwoods
Date: Mon Jun 23 08:28:32 2008
New Revision: 670654

URL: http://svn.apache.org/viewvc?rev=670654&view=rev
Log:
GERONIMO-4149 Put back the testListTargets() I deleted during a bad cut-n-paste.  Thanks Jarek for catching it.

Modified:
    geronimo/server/trunk/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java

Modified: geronimo/server/trunk/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java?rev=670654&r1=670653&r2=670654&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java (original)
+++ geronimo/server/trunk/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java Mon Jun 23 08:28:32 2008
@@ -81,6 +81,17 @@
         }
     }
     
+    @Test
+    public void testListTargets() throws Exception {
+        String[] args = new String[]{ "list-targets" };
+
+        String output = execute(args);
+
+        if (output.indexOf("j2eeType=ConfigurationStore,name=Local") < 0) {
+            Assert.fail("deploy/list-targets failed : " + output);
+        }
+    }
+
     protected String getDefaultStartedModuleName() {
         return "org.apache.geronimo.configs/activemq-broker";
     }