Author: ljelinko
Date: 2012-05-18 07:42:57 -0400 (Fri, 18 May 2012)
New Revision: 41148
Added:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam22/
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam22/DetectSeam22.java
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam23/
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam23/DetectSeam23.java
Modified:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/launchers/prepare_workspace/RT_prepare_workspace.launch
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/resources/template/runtimes.properties
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/AllTestsSuite.java
Log:
Added Seam 2.2 and 2.3 detection test
Modified:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/launchers/prepare_workspace/RT_prepare_workspace.launch
===================================================================
---
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/launchers/prepare_workspace/RT_prepare_workspace.launch 2012-05-18
11:30:59 UTC (rev 41147)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/launchers/prepare_workspace/RT_prepare_workspace.launch 2012-05-18
11:42:57 UTC (rev 41148)
@@ -15,6 +15,8 @@
<listEntry value="jboss-ewp-5=${folder_prompt:EWP 5 installation
folder}"/>
<listEntry value="jboss-soa-p-5=${folder_prompt:SOA-P 5 installation
folder}"/>
<listEntry value="jboss-soa-p-standalone-5=${folder_prompt:SOA-P-STANDALONE 5
installation folder}"/>
+<listEntry value="jboss-seam-2.2=${folder_prompt:Seam 2.2 installation
folder}"/>
+<listEntry value="jboss-seam-2.3=${folder_prompt:Seam 2.3 installation
folder}"/>
</listAttribute>
<stringAttribute key="M2_RUNTIME"
value="/home/ljelinko/programs/apache-maven-3.0.3"/>
<booleanAttribute key="M2_SKIP_TESTS" value="false"/>
Modified:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/resources/template/runtimes.properties
===================================================================
---
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/resources/template/runtimes.properties 2012-05-18
11:30:59 UTC (rev 41147)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/resources/template/runtimes.properties 2012-05-18
11:42:57 UTC (rev 41148)
@@ -6,4 +6,6 @@
jboss-epp-4.3=${jboss-epp-4}
jboss-ewp-5.1=${jboss-ewp-5}
jboss-soa-p-5=${jboss-soa-p-5}
-jboss-soa-p-standalone-5=${jboss-soa-p-standalone-5}
\ No newline at end of file
+jboss-soa-p-standalone-5=${jboss-soa-p-standalone-5}
+jboss-seam-2.2.2.Final=${jboss-seam-2.2}
+jboss-seam-2.3.0.Beta1=${jboss-seam-2.3}
\ No newline at end of file
Modified:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/AllTestsSuite.java
===================================================================
---
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/AllTestsSuite.java 2012-05-18
11:30:59 UTC (rev 41147)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/AllTestsSuite.java 2012-05-18
11:42:57 UTC (rev 41148)
@@ -1,5 +1,7 @@
package org.jboss.tools.runtime.as.ui.bot.test;
+import org.jboss.tools.runtime.as.ui.bot.test.seam.seam22.DetectSeam22;
+import org.jboss.tools.runtime.as.ui.bot.test.seam.seam23.DetectSeam23;
import org.jboss.tools.runtime.as.ui.bot.test.server.eap4.DetectEAP4;
import org.jboss.tools.runtime.as.ui.bot.test.server.eap4.OperateEAP4;
import org.jboss.tools.runtime.as.ui.bot.test.server.eap5.DetectEAP5;
@@ -41,7 +43,9 @@
DetectSOAP5.class,
OperateSOAP5.class,
DetectSOAPStandalone5.class,
- OperateSOAPStandalone5.class
+ OperateSOAPStandalone5.class,
+ DetectSeam22.class,
+ DetectSeam23.class
})
public class AllTestsSuite {
Added:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam22/DetectSeam22.java
===================================================================
---
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam22/DetectSeam22.java
(rev 0)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam22/DetectSeam22.java 2012-05-18
11:42:57 UTC (rev 41148)
@@ -0,0 +1,25 @@
+package org.jboss.tools.runtime.as.ui.bot.test.seam.seam22;
+
+import org.jboss.tools.runtime.as.ui.bot.test.RuntimeProperties;
+import org.jboss.tools.runtime.as.ui.bot.test.entity.Runtime;
+import org.jboss.tools.runtime.as.ui.bot.test.template.DetectRuntimeTemplate;
+
+public class DetectSeam22 extends DetectRuntimeTemplate {
+
+ public static final String SEAM_ID = "jboss-seam-2.2.2.Final";
+
+ @Override
+ protected String getRuntimeID() {
+ return SEAM_ID;
+ }
+
+ @Override
+ protected Runtime getExpectedRuntime() {
+ Runtime server = new Runtime();
+ server.setName(getRuntimeID());
+ server.setType("SEAM");
+ server.setVersion("2.2.2.Final");
+ server.setLocation(RuntimeProperties.getInstance().getRuntimePath(getRuntimeID()));
+ return server;
+ }
+}
Added:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam23/DetectSeam23.java
===================================================================
---
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam23/DetectSeam23.java
(rev 0)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam23/DetectSeam23.java 2012-05-18
11:42:57 UTC (rev 41148)
@@ -0,0 +1,25 @@
+package org.jboss.tools.runtime.as.ui.bot.test.seam.seam23;
+
+import org.jboss.tools.runtime.as.ui.bot.test.RuntimeProperties;
+import org.jboss.tools.runtime.as.ui.bot.test.entity.Runtime;
+import org.jboss.tools.runtime.as.ui.bot.test.template.DetectRuntimeTemplate;
+
+public class DetectSeam23 extends DetectRuntimeTemplate {
+
+ public static final String SEAM_ID = "jboss-seam-2.3.0.Beta1";
+
+ @Override
+ protected String getRuntimeID() {
+ return SEAM_ID;
+ }
+
+ @Override
+ protected Runtime getExpectedRuntime() {
+ Runtime server = new Runtime();
+ server.setName(getRuntimeID());
+ server.setType("SEAM");
+ server.setVersion("2.3.0.Beta1");
+ server.setLocation(RuntimeProperties.getInstance().getRuntimePath(getRuntimeID()));
+ return server;
+ }
+}
Show replies by date