Author: ljelinko
Date: 2012-05-18 03:44:16 -0400 (Fri, 18 May 2012)
New Revision: 41141
Added:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/DetectSOAP5.java
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/OperateSOAP5.java
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/standalone/
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/standalone/DetectSOAPStandalone5.java
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/standalone/OperateSOAPStandalone5.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 SOA-P runtimes.
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
07:43:31 UTC (rev 41140)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/launchers/prepare_workspace/RT_prepare_workspace.launch 2012-05-18
07:44:16 UTC (rev 41141)
@@ -13,6 +13,8 @@
<listEntry value="jboss-epp-5=${folder_prompt:EPP 5 installation
folder}"/>
<listEntry value="jboss-epp-4=${folder_prompt:EPP 4 installation
folder}"/>
<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}"/>
</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
07:43:31 UTC (rev 41140)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/resources/template/runtimes.properties 2012-05-18
07:44:16 UTC (rev 41141)
@@ -4,4 +4,6 @@
jboss-eap-4.3=${jboss-eap-4}
jboss-epp-5.2=${jboss-epp-5}
jboss-epp-4.3=${jboss-epp-4}
-jboss-ewp-5.1=${jboss-ewp-5}
\ No newline at end of file
+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
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
07:43:31 UTC (rev 41140)
+++
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
07:44:16 UTC (rev 41141)
@@ -14,6 +14,10 @@
import org.jboss.tools.runtime.as.ui.bot.test.ewp5.OperateEWP5;
import org.jboss.tools.runtime.as.ui.bot.test.jboss7.DetectJBoss7;
import org.jboss.tools.runtime.as.ui.bot.test.jboss7.OperateJBoss7;
+import org.jboss.tools.runtime.as.ui.bot.test.soap5.DetectSOAP5;
+import org.jboss.tools.runtime.as.ui.bot.test.soap5.OperateSOAP5;
+import org.jboss.tools.runtime.as.ui.bot.test.soap5.standalone.DetectSOAPStandalone5;
+import org.jboss.tools.runtime.as.ui.bot.test.soap5.standalone.OperateSOAPStandalone5;
import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -33,7 +37,11 @@
DetectEPP5.class,
OperateEPP5.class,
DetectEWP5.class,
- OperateEWP5.class
+ OperateEWP5.class,
+ DetectSOAP5.class,
+ OperateSOAP5.class,
+ DetectSOAPStandalone5.class,
+ OperateSOAPStandalone5.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/soap5/DetectSOAP5.java
===================================================================
---
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/DetectSOAP5.java
(rev 0)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/DetectSOAP5.java 2012-05-18
07:44:16 UTC (rev 41141)
@@ -0,0 +1,25 @@
+package org.jboss.tools.runtime.as.ui.bot.test.soap5;
+
+import org.jboss.tools.runtime.as.ui.bot.test.RuntimeProperties;
+import org.jboss.tools.runtime.as.ui.bot.test.entity.Server;
+import org.jboss.tools.runtime.as.ui.bot.test.template.DetectServerTemplate;
+
+public class DetectSOAP5 extends DetectServerTemplate {
+
+ public static final String SERVER_ID = "jboss-soa-p-5";
+
+ @Override
+ protected String getServerID() {
+ return SERVER_ID;
+ }
+
+ @Override
+ protected Server getExpectedServer() {
+ Server expectedServer = new Server();
+ expectedServer.setName(SERVER_ID);
+ expectedServer.setVersion("5.2");
+ expectedServer.setType("SOA-P");
+ expectedServer.setLocation(RuntimeProperties.getInstance().getRuntimePath(SERVER_ID));
+ return expectedServer;
+ }
+}
Added:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/OperateSOAP5.java
===================================================================
---
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/OperateSOAP5.java
(rev 0)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/OperateSOAP5.java 2012-05-18
07:44:16 UTC (rev 41141)
@@ -0,0 +1,11 @@
+package org.jboss.tools.runtime.as.ui.bot.test.soap5;
+
+import org.jboss.tools.runtime.as.ui.bot.test.template.OperateServerTemplate;
+
+public class OperateSOAP5 extends OperateServerTemplate {
+
+ @Override
+ protected String getServerName() {
+ return DetectSOAP5.SERVER_ID;
+ }
+}
Added:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/standalone/DetectSOAPStandalone5.java
===================================================================
---
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/standalone/DetectSOAPStandalone5.java
(rev 0)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/standalone/DetectSOAPStandalone5.java 2012-05-18
07:44:16 UTC (rev 41141)
@@ -0,0 +1,25 @@
+package org.jboss.tools.runtime.as.ui.bot.test.soap5.standalone;
+
+import org.jboss.tools.runtime.as.ui.bot.test.RuntimeProperties;
+import org.jboss.tools.runtime.as.ui.bot.test.entity.Server;
+import org.jboss.tools.runtime.as.ui.bot.test.template.DetectServerTemplate;
+
+public class DetectSOAPStandalone5 extends DetectServerTemplate {
+
+ public static final String SERVER_ID = "jboss-soa-p-standalone-5";
+
+ @Override
+ protected String getServerID() {
+ return SERVER_ID;
+ }
+
+ @Override
+ protected Server getExpectedServer() {
+ Server expectedServer = new Server();
+ expectedServer.setName(SERVER_ID);
+ expectedServer.setVersion("5.2");
+ expectedServer.setType("SOA-P-STD");
+ expectedServer.setLocation(RuntimeProperties.getInstance().getRuntimePath(SERVER_ID));
+ return expectedServer;
+ }
+}
Added:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/standalone/OperateSOAPStandalone5.java
===================================================================
---
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/standalone/OperateSOAPStandalone5.java
(rev 0)
+++
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/soap5/standalone/OperateSOAPStandalone5.java 2012-05-18
07:44:16 UTC (rev 41141)
@@ -0,0 +1,11 @@
+package org.jboss.tools.runtime.as.ui.bot.test.soap5.standalone;
+
+import org.jboss.tools.runtime.as.ui.bot.test.template.OperateServerTemplate;
+
+public class OperateSOAPStandalone5 extends OperateServerTemplate {
+
+ @Override
+ protected String getServerName() {
+ return DetectSOAPStandalone5.SERVER_ID;
+ }
+}
Show replies by date