Author: apodhrad
Date: 2012-05-18 10:16:35 -0400 (Fri, 18 May 2012)
New Revision: 41156
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/org.jboss.tools.bpel.ui.bot.test.properties
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/pom.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/requirements.properties
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ActivityModelingTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssignActivityTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssociateRuntimeTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/FaultModelingTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/SimpleModelingTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/WizardTest.java
Log:
BPEL bot tests: tests are running on JBoss AS 5.1.0 with RiftSaw 2.3.0
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/org.jboss.tools.bpel.ui.bot.test.properties
===================================================================
---
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/org.jboss.tools.bpel.ui.bot.test.properties 2012-05-18
14:05:06 UTC (rev 41155)
+++
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/org.jboss.tools.bpel.ui.bot.test.properties 2012-05-18
14:16:35 UTC (rev 41156)
@@ -1,13 +1,7 @@
# SWTBotTest properties
# all properties are optional, all defined paths should exist
# <java version>,<jre/jdk home>
-#JAVA=1.6,/opt/java/jdk1.6.0_30
+#JAVA=
#EAP|JBOSS_AS|EPP|SOA,<server version>,<jre version to run
with>|default,<server home>
# note : when server is type of SOA, version is version of SOA (not the bundled EAP)
-#SERVER=JBOSS_AS,5.0,1.6,/home/psrna/data/jboss/jboss/jboss-as
-SERVER=SOA,5.2,default,../../../requirements/target/jboss-soa-p-5/jboss-as
-#SERVER=AS,5.1,1.6,/home/apodhrad/Software/jboss-5.1.0.GA
-#<seam version>,<seam runtime home>
-#SEAM=2.2,/home/psrna/data/jboss/soa-5.1.0.ER6-eds/seam
-#<esb versoin>,<esb runtime home>
-#ESB=4.7,/home/psrna/data/jboss/jbossesb-4.7
+SERVER=AS,5.1,default,../../../requirements/target/jboss-5.1.0.GA-riftsaw-2.3.0.Final
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/pom.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/pom.xml 2012-05-18 14:05:06 UTC (rev
41155)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/pom.xml 2012-05-18 14:16:35 UTC (rev
41156)
@@ -35,6 +35,11 @@
<artifactId>org.jboss.tools.bpel.feature.feature.group</artifactId>
<version>0.0.0</version>
</dependency>
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.jboss.ide.eclipse.as.feature.feature.group</artifactId>
+ <version>0.0.0</version>
+ </dependency>
</dependencies>
</configuration>
</plugin>
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/requirements.properties
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/requirements.properties 2012-05-18
14:05:06 UTC (rev 41155)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/requirements.properties 2012-05-18
14:16:35 UTC (rev 41156)
@@ -1 +1 @@
-requirements=soap
\ No newline at end of file
+requirements=jbossas-5.1.0.GA-riftsaw-2.3.0.Final
\ No newline at end of file
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ActivityModelingTest.java
===================================================================
---
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ActivityModelingTest.java 2012-05-18
14:05:06 UTC (rev 41155)
+++
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ActivityModelingTest.java 2012-05-18
14:16:35 UTC (rev 41156)
@@ -21,7 +21,7 @@
import org.junit.Before;
import org.junit.Test;
-@Require(clearProjects = true, /*server = @Server(type = ServerType.SOA, state =
ServerState.Present),*/ perspective="BPEL")
+@Require(clearProjects = true, perspective="BPEL")
public class ActivityModelingTest extends BPELTest {
static final String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssignActivityTest.java
===================================================================
---
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssignActivityTest.java 2012-05-18
14:05:06 UTC (rev 41155)
+++
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssignActivityTest.java 2012-05-18
14:16:35 UTC (rev 41156)
@@ -31,7 +31,7 @@
import org.junit.Before;
import org.junit.Test;
-@Require(clearProjects = true, server = @Server(type = ServerType.SOA, state =
ServerState.Running, version = "5.2"), perspective="BPEL")
+@Require(clearProjects = true, server = @Server(type = ServerType.JbossAS, state =
ServerState.Running, version = "5.1"), perspective="BPEL")
public class AssignActivityTest extends BPELTest {
static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssociateRuntimeTest.java
===================================================================
---
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssociateRuntimeTest.java 2012-05-18
14:05:06 UTC (rev 41155)
+++
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssociateRuntimeTest.java 2012-05-18
14:16:35 UTC (rev 41156)
@@ -17,7 +17,7 @@
import org.junit.Test;
-@Require(server = @Server(type = ServerType.SOA, state = ServerState.Present, version =
"5.2"), perspective="BPEL")
+@Require(server = @Server(type = ServerType.JbossAS, state = ServerState.Present, version
= "5.1"), perspective="BPEL")
public class AssociateRuntimeTest extends BPELTest {
@Test
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/FaultModelingTest.java
===================================================================
---
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/FaultModelingTest.java 2012-05-18
14:05:06 UTC (rev 41155)
+++
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/FaultModelingTest.java 2012-05-18
14:16:35 UTC (rev 41156)
@@ -25,7 +25,7 @@
*
* @author mbaluch
*/
-@Require(clearProjects = true, server = @Server(type = ServerType.SOA, state =
ServerState.Disabled), perspective = "BPEL")
+@Require(clearProjects = true, server = @Server(type = ServerType.JbossAS, state =
ServerState.Disabled), perspective = "BPEL")
public class FaultModelingTest extends BPELTest {
static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java
===================================================================
---
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java 2012-05-18
14:05:06 UTC (rev 41155)
+++
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java 2012-05-18
14:16:35 UTC (rev 41156)
@@ -23,7 +23,7 @@
* @author psrna, apodhrad
*
*/
-@Require(server = @Server(type = ServerType.SOA, state = ServerState.Running, version =
"5.2"), perspective="BPEL")
+@Require(server = @Server(type = ServerType.JbossAS, state = ServerState.Running, version
= "5.1"), perspective="BPEL")
public class OdeDeployTest extends BPELTest {
final static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
@@ -114,7 +114,6 @@
@Test
public void requestResponseTest() throws Exception {
-
// Test the process
String response = SendSoapMessage.sendMessage(ENDPOINT, MESSAGE, "simple");
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/SimpleModelingTest.java
===================================================================
---
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/SimpleModelingTest.java 2012-05-18
14:05:06 UTC (rev 41155)
+++
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/SimpleModelingTest.java 2012-05-18
14:16:35 UTC (rev 41156)
@@ -21,7 +21,7 @@
import org.junit.Before;
import org.junit.Test;
-@Require(clearProjects = true, server = @Server(type = ServerType.SOA, state =
ServerState.Present, version = "5.2"))
+@Require(clearProjects = true, server = @Server(type = ServerType.JbossAS, state =
ServerState.Present, version = "5.1"))
public class SimpleModelingTest extends BPELTest {
static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java
===================================================================
---
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java 2012-05-18
14:05:06 UTC (rev 41155)
+++
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java 2012-05-18
14:16:35 UTC (rev 41156)
@@ -37,7 +37,7 @@
* @author psrna
*
*/
-@Require(server = @Server(type = ServerType.SOA, state = ServerState.Running, version =
"5.2"), perspective="BPEL")
+@Require(server = @Server(type = ServerType.JbossAS, state = ServerState.Running, version
= "5.1"), perspective="BPEL")
public class ToolingCompatibilityTest extends BPELTest{
final static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/WizardTest.java
===================================================================
---
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/WizardTest.java 2012-05-18
14:05:06 UTC (rev 41155)
+++
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/WizardTest.java 2012-05-18
14:16:35 UTC (rev 41156)
@@ -1,26 +1,19 @@
package org.jboss.tools.bpel.ui.bot.test;
-import java.io.IOException;
-import java.io.InputStream;
-
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
-
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
-
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
-
import org.jboss.tools.bpel.ui.bot.test.suite.BPELTest;
import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
-
import org.junit.Assert;
import org.junit.Test;
-@Require(clearProjects = true, server = @Server(type = ServerType.SOA, state =
ServerState.Present), perspective="BPEL")
+@Require(clearProjects = true, server = @Server(type = ServerType.JbossAS, state =
ServerState.Present), perspective="BPEL")
public class WizardTest extends BPELTest {