geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r670649 - /geronimo/server/branches/2.1/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java
Date Mon, 23 Jun 2008 15:16:15 GMT
Author: dwoods
Date: Mon Jun 23 08:16:15 2008
New Revision: 670649

URL: http://svn.apache.org/viewvc?rev=670649&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/branches/2.1/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java

Modified: geronimo/server/branches/2.1/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java?rev=670649&r1=670648&r2=670649&view=diff
==============================================================================
--- geronimo/server/branches/2.1/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java
(original)
+++ geronimo/server/branches/2.1/testsuite/commands-testsuite/deploy/src/test/java/org/apache/geronimo/testsuite/deploy/DeployerTest.java
Mon Jun 23 08:16:15 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";
     }



Mime
View raw message