JBoss Tools SVN: r42105 - in trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test: integration and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-06-20 09:46:27 -0400 (Wed, 20 Jun 2012)
New Revision: 42105
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/integration/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/integration/JAXRSToolingIntegrationTest.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/integration/SOAPWSToolingIntegrationTest.java
Log:
new tooling integration test for SOAP ws tested in WSTester
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/integration/JAXRSToolingIntegrationTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/integration/JAXRSToolingIntegrationTest.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/integration/JAXRSToolingIntegrationTest.java 2012-06-20 13:46:27 UTC (rev 42105)
@@ -0,0 +1,156 @@
+/*******************************************************************************
+ * Copyright (c) 2010-2012 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.ws.ui.bot.test.integration;
+
+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.ws.ui.bot.test.rest.RESTfulTestBase;
+import org.jboss.tools.ws.ui.bot.test.uiutils.RESTFullExplorer;
+import org.jboss.tools.ws.ui.bot.test.widgets.WsTesterView;
+import org.jboss.tools.ws.ui.bot.test.widgets.WsTesterView.Request_Type;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+/**
+ *
+ * @author jjankovi
+ *
+ */
+@Require(server = @Server(state = ServerState.Running), perspective = "Java EE")
+public class JAXRSToolingIntegrationTest extends RESTfulTestBase {
+
+ private static String projectName = "integration1";
+ private String localhostUrl = "http://localhost:8080/";
+ private String serviceUrl = localhostUrl + projectName + "/rest/";
+
+ @BeforeClass
+ public static void prepareWS() {
+ importRestWSProject(projectName);
+ }
+
+ @Test
+ public void testGetMethod() {
+ /* get JAX-RS REST Web Services */
+ restfulWizard = new RESTFullExplorer(projectName);
+
+ /* run on server - web service tester should be shown */
+ runRestServiceOnConfiguredServer("GET");
+ assertWebServiceTesterIsActive();
+
+ /* test generated url and response after invoking */
+ WsTesterView wsTesterView = showWSTester();
+ assertEquals(serviceUrl + "get", wsTesterView.getServiceURL());
+
+ invokeMethodInWSTester(wsTesterView, Request_Type.GET);
+ assertEquals("GET method", wsTesterView.getResponseBody());
+ assertEquals("[HTTP/1.1 200 OK]", wsTesterView.getResponseHeaders()[0]);
+
+ /* minimize web service tester */
+ wsTesterView.minimize();
+ }
+
+ @Test
+ public void testPostMethod() {
+ /* get JAX-RS REST Web Services */
+ restfulWizard = new RESTFullExplorer(projectName);
+
+ /* run on server - web service tester should be shown */
+ runRestServiceOnConfiguredServer("POST");
+ assertWebServiceTesterIsActive();
+
+ /* test generated url and response after invoking */
+ WsTesterView wsTesterView = showWSTester();
+ assertEquals(serviceUrl + "post", wsTesterView.getServiceURL());
+
+ invokeMethodInWSTester(wsTesterView, Request_Type.POST);
+ assertEquals("POST method", wsTesterView.getResponseBody());
+ assertEquals("[HTTP/1.1 200 OK]", wsTesterView.getResponseHeaders()[0]);
+
+ /* minimize web service tester */
+ wsTesterView.minimize();
+ }
+
+ @Test
+ public void testPutMethod() {
+ /* get JAX-RS REST Web Services */
+ restfulWizard = new RESTFullExplorer(projectName);
+
+ /* run on server - web service tester should be shown */
+ runRestServiceOnConfiguredServer("PUT");
+ assertWebServiceTesterIsActive();
+
+ /* test generated url and response after invoking */
+ WsTesterView wsTesterView = showWSTester();
+ assertEquals(serviceUrl + "put", wsTesterView.getServiceURL());
+
+ invokeMethodInWSTester(wsTesterView, Request_Type.PUT);
+ assertEquals("PUT method", wsTesterView.getResponseBody());
+ assertEquals("[HTTP/1.1 200 OK]", wsTesterView.getResponseHeaders()[0]);
+
+ /* minimize web service tester */
+ wsTesterView.minimize();
+ }
+
+ @Test
+ public void testDeleteMethod() {
+ /* get JAX-RS REST Web Services */
+ restfulWizard = new RESTFullExplorer(projectName);
+
+ /* run on server - web service tester should be shown */
+ runRestServiceOnConfiguredServer("DELETE");
+ assertWebServiceTesterIsActive();
+
+ /* test generated url and response after invoking */
+ WsTesterView wsTesterView = showWSTester();
+ assertEquals(serviceUrl + "get", wsTesterView.getServiceURL());
+
+ invokeMethodInWSTester(wsTesterView, Request_Type.DELETE);
+ assertEquals("DELETE method", wsTesterView.getResponseBody());
+ assertEquals("[HTTP/1.1 200 OK]", wsTesterView.getResponseHeaders()[0]);
+
+ /* minimize web service tester */
+ wsTesterView.minimize();
+ }
+
+ @Test
+ public void testUnavailableServiceMethod() {
+ /* get JAX-RS REST Web Services */
+ restfulWizard = new RESTFullExplorer(projectName);
+
+ /* run on server - web service tester should be shown */
+ runRestServiceOnConfiguredServer("GET");
+ assertWebServiceTesterIsActive();
+
+ /* test generated url and response after invoking */
+ WsTesterView wsTesterView = showWSTester();
+ assertEquals(serviceUrl + "get", wsTesterView.getServiceURL());
+
+ invokeMethodInWSTester(wsTesterView, Request_Type.POST);
+ assertFalse(wsTesterView.getResponseBody().equals("GET method"));
+ assertEquals("[HTTP/1.1 405 Method Not Allowed]", wsTesterView.getResponseHeaders()[0]);
+
+ /* minimize web service tester */
+ wsTesterView.minimize();
+ }
+
+ private WsTesterView showWSTester() {
+ WsTesterView wsTesterView = new WsTesterView();
+ wsTesterView.show();
+ return wsTesterView;
+ }
+
+ private void invokeMethodInWSTester(WsTesterView wsTesterView, Request_Type type) {
+ wsTesterView.setRequestType(type);
+ wsTesterView.invoke();
+ }
+
+}
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/integration/SOAPWSToolingIntegrationTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/integration/SOAPWSToolingIntegrationTest.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/integration/SOAPWSToolingIntegrationTest.java 2012-06-20 13:46:27 UTC (rev 42105)
@@ -0,0 +1,102 @@
+/*******************************************************************************
+ * Copyright (c) 2010-2012 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.ws.ui.bot.test.integration;
+
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
+import org.jboss.tools.ws.ui.bot.test.WSTestBase;
+import org.jboss.tools.ws.ui.bot.test.widgets.WsTesterView;
+import org.jboss.tools.ws.ui.bot.test.widgets.WsTesterView.Request_Type;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+/**
+ *
+ * @author jjankovi
+ *
+ */
+public class SOAPWSToolingIntegrationTest extends WSTestBase {
+
+ private final static String projectName = "integration2";
+ private final String[] pathToRestExplorer = {projectName, "wsdl"};
+ private final String request =
+ "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?> " + LINE_SEPARATOR +
+ "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" " +
+ "xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" " +
+ "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"> " + LINE_SEPARATOR +
+ "<soap:Header> " + LINE_SEPARATOR +
+ "</soap:Header>" + LINE_SEPARATOR +
+ "<soap:Body> " + LINE_SEPARATOR +
+ "<webs:sayHello xmlns:webs=\"http://webservices.samples.jboss.org/\">" + LINE_SEPARATOR +
+ "<arg0>User</arg0>" + LINE_SEPARATOR +
+ "</webs:sayHello>" + LINE_SEPARATOR +
+ "</soap:Body>" + LINE_SEPARATOR +
+ "</soap:Envelope>";
+
+ @BeforeClass
+ public static void prepareWS() {
+ importWSTestProject(projectName);
+ deploymentHelper.runProject(projectName);
+ }
+
+ @Override
+ public void setup() {
+
+ }
+
+ @Override
+ public void cleanup() {
+
+ }
+
+ @Test
+ public void testSimpleIntegration() {
+
+ WsTesterView wsTesterView = openWSDLFileInWSTester();
+ testWSDLInWSTester(wsTesterView);
+
+ }
+
+ private SWTBotTreeItem getWSDLTreeItem() {
+ return projectExplorer.selectTreeItem("HelloWorldService.wsdl",
+ pathToRestExplorer).expand();
+ }
+
+ private SWTBotTree getProjectExplorerTree() {
+ return projectExplorer.bot().tree();
+ }
+
+ private WsTesterView openWSDLFileInWSTester() {
+ SWTBotTree tree = getProjectExplorerTree();
+ ContextMenuHelper.prepareTreeItemForContextMenu(
+ tree, getWSDLTreeItem());
+ SWTBotMenu menu = new SWTBotMenu(ContextMenuHelper.
+ getContextMenu(tree, "Web Services", false));
+ menu.menu("Test in JBoss Web Service Tester").click();
+ WsTesterView tester = new WsTesterView();
+ tester.show();
+ return tester;
+ }
+
+ private void testWSDLInWSTester(WsTesterView wsTesterView) {
+ wsTesterView.setRequestType(Request_Type.JAX_WS);
+ wsTesterView.getFromWSDL().ok();
+ wsTesterView.setRequestBody(request);
+ wsTesterView.invoke();
+ bot.sleep(5000);
+ String rsp = wsTesterView.getResponseBody();
+ assertTrue(rsp.trim().length() > 0);
+ assertTrue(rsp, rsp.contains("Hello User!"));
+ }
+
+}
13 years, 9 months
JBoss Tools SVN: r42104 - in trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test: rest and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-06-20 09:44:46 -0400 (Wed, 20 Jun 2012)
New Revision: 42104
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSTestBase.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java
Log:
change methods for importing project to static to be used in BeforeClass methods in ws bot tests
Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSTestBase.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSTestBase.java 2012-06-20 13:43:51 UTC (rev 42103)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSTestBase.java 2012-06-20 13:44:46 UTC (rev 42104)
@@ -19,6 +19,7 @@
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.helper.ImportHelper;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ws.ui.bot.test.uiutils.wizards.WsWizardBase.Slider_Level;
import org.jboss.tools.ws.ui.bot.test.utils.DeploymentHelper;
import org.jboss.tools.ws.ui.bot.test.utils.ProjectHelper;
@@ -115,17 +116,22 @@
protected String getWsName() {
return null;
}
+
+ protected void assertWebServiceTesterIsActive() {
+ assertTrue("Web Service Tester view should be active",
+ bot.viewByTitle(IDELabel.View.WEB_SERVICE_TESTER).isActive());
+ }
public static String getSoapRequest(String body) {
return MessageFormat.format(SOAP_REQUEST_TEMPLATE, body);
}
- protected void importWSTestProject(String projectName) {
+ protected static void importWSTestProject(String projectName) {
String location = "/resources/projects/" + projectName;
importWSTestProject(location, projectName);
}
- protected void importWSTestProject(String projectLocation, String dir) {
+ protected static void importWSTestProject(String projectLocation, String dir) {
ImportHelper.importProject(projectLocation, dir, Activator.PLUGIN_ID);
eclipse.addConfiguredRuntimeIntoProject(dir, configuredState.getServer().name);
Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java 2012-06-20 13:43:51 UTC (rev 42103)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java 2012-06-20 13:44:46 UTC (rev 42104)
@@ -18,7 +18,8 @@
import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
import org.jboss.tools.ws.ui.bot.test.WSTestBase;
-import org.jboss.tools.ws.ui.bot.test.ti.wizard.RESTFullExplorerWizard;
+import org.jboss.tools.ws.ui.bot.test.uiutils.RESTFullExplorer;
+import org.jboss.tools.ws.ui.bot.test.uiutils.RunOnServerDialog;
/**
* Test base for bot tests using RESTFul support
@@ -29,9 +30,9 @@
@Require(server = @Server(state = ServerState.NotRunning), perspective = "Java EE")
public class RESTfulTestBase extends WSTestBase {
- protected final RESTfulHelper restfulHelper = new RESTfulHelper();
+ protected final static RESTfulHelper restfulHelper = new RESTfulHelper();
- protected RESTFullExplorerWizard restfulWizard = null;
+ protected RESTFullExplorer restfulWizard = null;
protected final String SIMPLE_REST_WS_RESOURCE = "SimpleRestWS.java.ws";
@@ -53,7 +54,7 @@
}
- protected void importRestWSProject(String projectName) {
+ protected static void importRestWSProject(String projectName) {
// importing project without targeted runtime set
importWSTestProject(projectName);
@@ -155,8 +156,13 @@
foundCount == expectedCount);
}
+ protected void runRestServiceOnConfiguredServer(String webService) {
+ RunOnServerDialog dialog = restfulWizard.runOnServer(restfulWizard.restService(webService));
+ dialog.chooseExistingServer().selectServer(configuredState.getServer().name).finish();
+ }
+
protected SWTBotTreeItem[] restfulServicesForProject(String projectName) {
- restfulWizard = new RESTFullExplorerWizard(projectName);
+ restfulWizard = new RESTFullExplorer(projectName);
return restfulWizard.getAllRestServices();
}
13 years, 9 months
JBoss Tools SVN: r42103 - in trunk: maven/tests/org.jboss.tools.maven.ui.bot.test and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-06-20 09:43:51 -0400 (Wed, 20 Jun 2012)
New Revision: 42103
Removed:
trunk/as/tests/org.jboss.ide.eclipse.as.test/requirements.properties
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/requirements.properties
trunk/portlet/tests/org.jboss.tools.portlet.core.test/requirements.properties
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/requirements.properties
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/pom.xml
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml
Log:
JBIDE-11714:
* Maven tests using maven-download-plugin
* AS tests using mixed maven-download-plugin and maven-dependency-plugin
* Portlet tests using maven-download-plugin
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/pom.xml
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/pom.xml 2012-06-20 13:42:50 UTC (rev 42102)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/pom.xml 2012-06-20 13:43:51 UTC (rev 42103)
@@ -11,15 +11,115 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <jbosstools.test.jboss.home.3.2>${requirement.build.root}/jboss-3.2.8.SP1</jbosstools.test.jboss.home.3.2>
- <jbosstools.test.jboss.home.4.0>${requirement.build.root}/jboss-4.0.5.GA</jbosstools.test.jboss.home.4.0>
- <jbosstools.test.jboss.home.4.2>${requirement.build.root}/jboss-4.2.3.GA</jbosstools.test.jboss.home.4.2>
- <jbosstools.test.jboss.home.5.0>${requirement.build.root}/jboss-5.0.1.GA</jbosstools.test.jboss.home.5.0>
- <jbosstools.test.jboss.home.5.1>${requirement.build.root}/jboss-5.1.0.GA</jbosstools.test.jboss.home.5.1>
- <jbosstools.test.jboss.home.6.0>${requirement.build.root}/jboss-6.0.0.Final</jbosstools.test.jboss.home.6.0>
- <jbosstools.test.jboss.home.7.0>${requirement.build.root}/jboss-7.0.0.Beta3</jbosstools.test.jboss.home.7.0>
+ <jbosstools.test.jboss.home.3.2>${project.build.directory}/jboss-3.2.8.SP1</jbosstools.test.jboss.home.3.2>
+ <jbosstools.test.jboss.home.4.0>${project.build.directory}/jboss-4.0.5.GA</jbosstools.test.jboss.home.4.0>
+ <jbosstools.test.jboss.home.4.2>${project.build.directory}/jboss-4.2.3.GA</jbosstools.test.jboss.home.4.2>
+ <jbosstools.test.jboss.home.5.0>${project.build.directory}/jboss-5.0.1.GA</jbosstools.test.jboss.home.5.0>
+ <jbosstools.test.jboss.home.5.1>${project.build.directory}/jboss-5.1.0.GA</jbosstools.test.jboss.home.5.1>
+ <jbosstools.test.jboss.home.6.0>${project.build.directory}/jboss-6.0.0.Final</jbosstools.test.jboss.home.6.0>
+ <jbosstools.test.jboss.home.7.0>${project.build.directory}/jboss-as-7.0.0.Final</jbosstools.test.jboss.home.7.0>
<systemProperties>-Djbosstools.test.jboss.home.3.2=${jbosstools.test.jboss.home.3.2} -Djbosstools.test.jboss.home.4.0=${jbosstools.test.jboss.home.4.0} -Djbosstools.test.jboss.home.4.2=${jbosstools.test.jboss.home.4.2} -Djbosstools.test.jboss.home.5.0=${jbosstools.test.jboss.home.5.0} -Djbosstools.test.jboss.home.5.1=${jbosstools.test.jboss.home.5.1} -Djbosstools.test.jboss.home.6.0=${jbosstools.test.jboss.home.6.0} -Djbosstools.test.jboss.home.7.0=${jbosstools.test.jboss.home.7.0} </systemProperties>
<coverage.filter>org.jboss.ide.eclipse.as.core*</coverage.filter>
<emma.instrument.bundles>org.jboss.ide.eclipse.as.core</emma.instrument.bundles>
</properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-as</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-dist</artifactId>
+ <version>4.2.3.GA</version>
+ <type>zip</type>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-distribution</artifactId>
+ <version>6.0.0.Final</version>
+ <type>zip</type>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-dist</artifactId>
+ <version>7.0.0.Final</version>
+ <type>zip</type>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <version>0.2-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>install-as-3.2.8</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-3.2.8.SP1.zip</url>
+ <md5>97147374ee5b048e4462c7ebaf3cccb5</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-as-4.0.5</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-4.0.5.GA.zip</url>
+ <md5>a39e85981958fea2411e9346e218aa39</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-as-5.0.1</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-5.0.1.GA.zip</url>
+ <md5>dd308175c43796db824692cb0cdea82d</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-as-5.1.0</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-5.1.0.GA.zip</url>
+ <md5>78322c75ca0c13002a04418b4a8bc920</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
Deleted: trunk/as/tests/org.jboss.ide.eclipse.as.test/requirements.properties
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/requirements.properties 2012-06-20 13:42:50 UTC (rev 42102)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/requirements.properties 2012-06-20 13:43:51 UTC (rev 42103)
@@ -1 +0,0 @@
-requirements=jbossas
\ No newline at end of file
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml 2012-06-20 13:42:50 UTC (rev 42102)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml 2012-06-20 13:43:51 UTC (rev 42103)
@@ -13,11 +13,71 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <systemProperties>-Djbosstools.test.jboss.home.6.0=${requirement.build.root}/jboss-6.0.0.Final -Djbosstools.test.jboss.home.5.1=${requirement.build.root}/jboss-5.1.0.GA -Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/jboss-seam-2.2.0.GA</systemProperties>
+ <systemProperties>-Djbosstools.test.jboss.home.6.0=${project.build.directory}/jboss-6.0.0.Final -Djbosstools.test.jboss.home.5.1=${project.build.directory}/jboss-5.1.0.GA -Djbosstools.test.seam.2.0.1.GA.home=${project.build.directory}/jboss-seam-2.2.0.GA</systemProperties>
</properties>
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-as-6.0.0</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-distribution</artifactId>
+ <version>6.0.0.Final</version>
+ <type>zip</type>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <skip>${swtbot.test.skip}</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <version>0.2-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>install-seam</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <skip>${swtbot.test.skip}</skip>
+ <url>http://repository.jboss.org/sourceforge/jboss-seam-2.2.0.GA.zip</url>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <md5>febaf032f989240fe3828a8f0f7fe98a</md5>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-as-5.1.0</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <skip>${swtbot.test.skip}</skip>
+ <url>http://repository.jboss.org/sourceforge/jboss-5.1.0.GA.zip</url>
+ <md5>78322c75ca0c13002a04418b4a8bc920</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
Deleted: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/requirements.properties
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/requirements.properties 2012-06-20 13:42:50 UTC (rev 42102)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/requirements.properties 2012-06-20 13:43:51 UTC (rev 42103)
@@ -1 +0,0 @@
-requirements=jbossas-5.1.0.GA,seam-2.2.0.GA,jbossas-6.0.0.Final
\ No newline at end of file
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.core.test/requirements.properties
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.core.test/requirements.properties 2012-06-20 13:42:50 UTC (rev 42102)
+++ trunk/portlet/tests/org.jboss.tools.portlet.core.test/requirements.properties 2012-06-20 13:43:51 UTC (rev 42103)
@@ -1 +0,0 @@
-requirements=jbossesb
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml 2012-06-20 13:42:50 UTC (rev 42102)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml 2012-06-20 13:43:51 UTC (rev 42103)
@@ -13,11 +13,11 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <jbosstools.test.jboss-gatein.home>${requirement.build.root}/GateIn-3.1.0-GA</jbosstools.test.jboss-gatein.home>
- <jbosstools.test.jboss-seam-2.2.home>${requirement.build.root}/jboss-seam-2.2.1.Final</jbosstools.test.jboss-seam-2.2.home>
- <jbosstools.test.jboss-portal.home>${requirement.build.root}/jboss-portal-2.7.2</jbosstools.test.jboss-portal.home>
- <jbosstools.test.jboss-seam-2.0.home>${requirement.build.root}/jboss-seam-2.0.1.GA</jbosstools.test.jboss-seam-2.0.home>
- <jbosstools.test.jboss-portlet-bridge.home>${requirement.build.root}</jbosstools.test.jboss-portlet-bridge.home>
+ <jbosstools.test.jboss-gatein.home>${project.build.directory}/GateIn-3.1.0-GA</jbosstools.test.jboss-gatein.home>
+ <jbosstools.test.jboss-seam-2.2.home>${project.build.directory}/jboss-seam-2.2.1.Final</jbosstools.test.jboss-seam-2.2.home>
+ <jbosstools.test.jboss-portal.home>${project.build.directory}/jboss-portal-2.7.2</jbosstools.test.jboss-portal.home>
+ <jbosstools.test.jboss-seam-2.0.home>${project.build.directory}/jboss-seam-2.0.1.GA</jbosstools.test.jboss-seam-2.0.home>
+ <jbosstools.test.jboss-portlet-bridge.home>${project.build.directory}</jbosstools.test.jboss-portlet-bridge.home>
<configurations.dir>resources/project_config_files</configurations.dir>
<additionalSystemProperties></additionalSystemProperties>
<systemProperties>${additionalSystemProperties} -Djbosstools.test.jboss-gatein.home=${jbosstools.test.jboss-gatein.home} -Djbosstools.test.jboss-seam-2.2.home=${jbosstools.test.jboss-seam-2.2.home} -Djbosstools.test.jboss-portal.home=${jbosstools.test.jboss-portal.home} -Djbosstools.test.jboss-seam-2.0.home=${jbosstools.test.jboss-seam-2.0.home} -Djbosstools.test.jboss-portlet-bridge.home=${jbosstools.test.jboss-portlet-bridge.home} -Dtest.configurations.dir=${configurations.dir} -Dorg.eclipse.swtbot.screenshots.dir=${project.build.directory}/screenshots</systemProperties>
@@ -36,6 +36,84 @@
<build>
<plugins>
<plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <version>0.2-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>install-gatein</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://downloads.sourceforge.net/project/jboss/GateIn/Portal/3.1.0-FINAL/...</url>
+ <md5>e8c35a21f8f1e33181adc80a0b32d7f2</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <skip>${swtbot.test.skip}</skip>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-2.0.1</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-seam-2.0.1.GA.zip</url>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <md5>0a1accf94fd37e40ab1091ee593b8b75</md5>
+ <skip>${swtbot.test.skip}</skip>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-2.2.1</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://downloads.sourceforge.net/project/jboss/JBoss%20Seam/2.2.1.Final/j...</url>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <md5>b490d794e805aef78cb9fee510073850</md5>
+ <skip>${swtbot.test.skip}</skip>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-jboss-portal</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://sourceforge.net/projects/jboss/files/JBoss%20Portal/JBoss-Portal-2...</url>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <md5>83aa628f5451f47ebce4845d8799144e</md5>
+ <skip>${swtbot.test.skip}</skip>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-jboss-portlet-bridge</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://sourceforge.net/projects/jboss/files/JBoss%20Portal/JBossPortletBr...</url>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <md5>44a7b67d0b6e0995bec97e8c81bacab3</md5>
+ <skip>${swtbot.test.skip}</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/requirements.properties
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/requirements.properties 2012-06-20 13:42:50 UTC (rev 42102)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/requirements.properties 2012-06-20 13:43:51 UTC (rev 42103)
@@ -1 +0,0 @@
-requirements=gatein-3.1.0.Final,seam-2.2.1.Final,JBoss-Portal-2.7.2.GA,seam-2.0.1.GA,JBossPortletBridge-2.1.0.FINAL
\ No newline at end of file
13 years, 9 months
JBoss Tools SVN: r42102 - trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-06-20 09:42:50 -0400 (Wed, 20 Jun 2012)
New Revision: 42102
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/WsTesterView.java
Log:
WsTester view not supports view minimalizing as well
Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/WsTesterView.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/WsTesterView.java 2012-06-20 13:38:57 UTC (rev 42101)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/WsTesterView.java 2012-06-20 13:42:50 UTC (rev 42102)
@@ -107,7 +107,15 @@
}
return b;
}
-
+
+ public void minimize() {
+ if (max) {
+ bot.menu(IDEWorkbenchMessages.Workbench_window)
+ .menu(WorkbenchMessages.MinimizePartAction_text).click();
+ max = false;
+ }
+ }
+
public void setRequestType(Request_Type m) {
getRequestTypeCombo().setSelection(m.toString());
}
13 years, 9 months
JBoss Tools SVN: r42101 - in trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects: integration1 and 18 other directories.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-06-20 09:38:57 -0400 (Wed, 20 Jun 2012)
New Revision: 42101
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.classpath
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.project
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/.jsdtscope
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.jdt.core.prefs
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.common.component
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/WebContent/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/WebContent/META-INF/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/WebContent/META-INF/MANIFEST.MF
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/WebContent/WEB-INF/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/WebContent/WEB-INF/lib/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/build/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/test/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/test/MyApplication.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/test/RestService.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.classpath
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.project
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/.jsdtscope
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.jdt.core.prefs
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.common.component
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/META-INF/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/META-INF/MANIFEST.MF
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/WEB-INF/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/WEB-INF/lib/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/WEB-INF/web.xml
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/build/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/HelloWorld.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/jaxws/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/jaxws/SayHello.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/jaxws/SayHelloResponse.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/wsdl/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/wsdl/HelloWorldService.wsdl
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/wsdl/HelloWorldService_schema1.xsd
Log:
new resource projects for ws bot tests
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.classpath
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.classpath (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.classpath 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 7.1.1 Runtime ">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.web"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.project
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.project (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.project 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>integration1</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.ws.jaxrs.metamodelBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ <nature>org.jboss.tools.ws.jaxrs.nature</nature>
+ </natures>
+</projectDescription>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/.jsdtscope
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/.jsdtscope (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/.jsdtscope 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.jdt.core.prefs 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.common.component 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="integration1">
+ <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+ <property name="context-root" value="integration1"/>
+ <property name="java-output-path" value="/integration1/build/classes"/>
+ </wb-module>
+</project-modules>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.common.project.facet.core.xml 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 7.1.1 Runtime "/>
+ <fixed facet="wst.jsdt.web"/>
+ <fixed facet="java"/>
+ <fixed facet="jst.web"/>
+ <installed facet="java" version="1.6"/>
+ <installed facet="jst.web" version="3.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/WebContent/META-INF/MANIFEST.MF 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/test/MyApplication.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/test/MyApplication.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/test/MyApplication.java 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,8 @@
+package test;
+
+import javax.ws.rs.ApplicationPath;
+
+@ApplicationPath("/rest")
+public class MyApplication extends javax.ws.rs.core.Application {
+
+}
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/test/RestService.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/test/RestService.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration1/src/test/RestService.java 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,36 @@
+package test;
+
+import javax.ws.rs.DELETE;
+import javax.ws.rs.GET;
+import javax.ws.rs.POST;
+import javax.ws.rs.PUT;
+import javax.ws.rs.Path;
+
+@Path("/")
+public class RestService {
+
+ @GET
+ @Path("/get")
+ public String getMethod() {
+ return "GET method";
+ }
+
+ @POST
+ @Path("/post")
+ public String postMethod() {
+ return "POST method";
+ }
+
+ @PUT
+ @Path("/put")
+ public String putMethod() {
+ return "PUT method";
+ }
+
+ @DELETE
+ @Path("/delete")
+ public String deleteMethod() {
+ return "DELETE method";
+ }
+
+}
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.classpath
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.classpath (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.classpath 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 7.1.1 Runtime ">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.web"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.project
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.project (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.project 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>integration2</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/.jsdtscope
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/.jsdtscope (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/.jsdtscope 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.jdt.core.prefs 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.common.component 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="integration2">
+ <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+ <property name="context-root" value="integration2"/>
+ <property name="java-output-path" value="/integration2/build/classes"/>
+ </wb-module>
+</project-modules>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.common.project.facet.core.xml 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 7.1.1 Runtime "/>
+ <fixed facet="wst.jsdt.web"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="java"/>
+ <installed facet="java" version="1.6"/>
+ <installed facet="jst.web" version="3.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/META-INF/MANIFEST.MF 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/WebContent/WEB-INF/web.xml 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
+ <display-name>integration2</display-name>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ <welcome-file>index.htm</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>default.html</welcome-file>
+ <welcome-file>default.htm</welcome-file>
+ <welcome-file>default.jsp</welcome-file>
+ </welcome-file-list>
+ <servlet>
+ <display-name>HelloWorld</display-name>
+ <servlet-name>HelloWorld</servlet-name>
+ <servlet-class>org.jboss.samples.webservices.HelloWorld</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>HelloWorld</servlet-name>
+ <url-pattern>/HelloWorld</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/HelloWorld.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/HelloWorld.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/HelloWorld.java 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,14 @@
+package org.jboss.samples.webservices;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+@WebService()
+public class HelloWorld {
+
+ @WebMethod()
+ public String sayHello(String name) {
+ System.out.println("Hello: " + name);
+ return "Hello " + name + "!";
+ }
+}
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/jaxws/SayHello.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/jaxws/SayHello.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/jaxws/SayHello.java 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,34 @@
+
+package org.jboss.samples.webservices.jaxws;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * This class was generated by Apache CXF 2.4.6
+ * Wed Jun 20 14:26:27 CEST 2012
+ * Generated source version: 2.4.6
+ */
+
+@XmlRootElement(name = "sayHello", namespace = "http://webservices.samples.jboss.org/")
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "sayHello", namespace = "http://webservices.samples.jboss.org/")
+
+public class SayHello {
+
+ @XmlElement(name = "arg0")
+ private java.lang.String arg0;
+
+ public java.lang.String getArg0() {
+ return this.arg0;
+ }
+
+ public void setArg0(java.lang.String newArg0) {
+ this.arg0 = newArg0;
+ }
+
+}
+
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/jaxws/SayHelloResponse.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/jaxws/SayHelloResponse.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/src/org/jboss/samples/webservices/jaxws/SayHelloResponse.java 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,34 @@
+
+package org.jboss.samples.webservices.jaxws;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * This class was generated by Apache CXF 2.4.6
+ * Wed Jun 20 14:26:27 CEST 2012
+ * Generated source version: 2.4.6
+ */
+
+@XmlRootElement(name = "sayHelloResponse", namespace = "http://webservices.samples.jboss.org/")
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "sayHelloResponse", namespace = "http://webservices.samples.jboss.org/")
+
+public class SayHelloResponse {
+
+ @XmlElement(name = "return")
+ private java.lang.String _return;
+
+ public java.lang.String getReturn() {
+ return this._return;
+ }
+
+ public void setReturn(java.lang.String new_return) {
+ this._return = new_return;
+ }
+
+}
+
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/wsdl/HelloWorldService.wsdl
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/wsdl/HelloWorldService.wsdl (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/wsdl/HelloWorldService.wsdl 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="HelloWorldService" targetNamespace="http://webservices.samples.jboss.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://webservices.samples.jboss.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <wsdl:types>
+<schema xmlns="http://www.w3.org/2001/XMLSchema">
+ <import namespace="http://webservices.samples.jboss.org/" schemaLocation="HelloWorldService_schema1.xsd"/>
+</schema>
+ </wsdl:types>
+ <wsdl:message name="sayHelloResponse">
+ <wsdl:part name="parameters" element="tns:sayHelloResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="sayHello">
+ <wsdl:part name="parameters" element="tns:sayHello">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="HelloWorld">
+ <wsdl:operation name="sayHello">
+ <wsdl:input name="sayHello" message="tns:sayHello">
+ </wsdl:input>
+ <wsdl:output name="sayHelloResponse" message="tns:sayHelloResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="HelloWorldServiceSoapBinding" type="tns:HelloWorld">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="sayHello">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="sayHello">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="sayHelloResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="HelloWorldService">
+ <wsdl:port name="HelloWorldPort" binding="tns:HelloWorldServiceSoapBinding">
+ <soap:address location="http://localhost:8080/integration2/HelloWorld"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/wsdl/HelloWorldService_schema1.xsd
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/wsdl/HelloWorldService_schema1.xsd (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/integration2/wsdl/HelloWorldService_schema1.xsd 2012-06-20 13:38:57 UTC (rev 42101)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?><xs:schema xmlns:tns="http://webservices.samples.jboss.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" targetNamespace="http://webservices.samples.jboss.org/" version="1.0">
+<xs:element name="sayHello" type="tns:sayHello"/>
+<xs:element name="sayHelloResponse" type="tns:sayHelloResponse"/>
+<xs:complexType name="sayHello">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="arg0" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+<xs:complexType name="sayHelloResponse">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
13 years, 9 months
JBoss Tools SVN: r42100 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-06-20 09:18:43 -0400 (Wed, 20 Jun 2012)
New Revision: 42100
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressBehaviour.java
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
Log:
JBIDE-12071 to trunk
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressBehaviour.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressBehaviour.java 2012-06-19 22:44:00 UTC (rev 42099)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressBehaviour.java 2012-06-20 13:18:43 UTC (rev 42100)
@@ -17,13 +17,18 @@
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
+import org.eclipse.swt.widgets.Shell;
import org.eclipse.wst.server.core.IModule;
import org.jboss.ide.eclipse.as.core.server.internal.DelegatingServerBehavior;
public class ExpressBehaviour extends DelegatingServerBehavior {
private IAdaptable publishAdaptableInfo;
public IStatus publish(int kind, IProgressMonitor monitor) {
- if( publishAdaptableInfo != null && "user".equals(publishAdaptableInfo.getAdapter(String.class)))
+ boolean shouldPublish = false;
+ if( publishAdaptableInfo != null ) {
+ shouldPublish = "user".equals(publishAdaptableInfo.getAdapter(String.class)) || publishAdaptableInfo.getAdapter(Shell.class) != null;
+ }
+ if( shouldPublish )
return super.publish(kind, monitor);
return Status.OK_STATUS;
}
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-19 22:44:00 UTC (rev 42099)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-20 13:18:43 UTC (rev 42100)
@@ -99,15 +99,7 @@
public int publishModule(DeployableServerBehavior behaviour, int kind,
int deltaKind, IModule[] module, IProgressMonitor monitor)
throws CoreException {
-
- // If this action is not user-initiated, bail!
- IAdaptable a = ((ExpressBehaviour)behaviour).getPublishAdaptableInfo();
- if( a == null )
- return -1;
- String s = (String)a.getAdapter(String.class);
- if( s == null || !s.equals("user"))
- return -1;
-
+
if( module.length > 1 )
return IServer.PUBLISH_STATE_UNKNOWN;
@@ -347,6 +339,12 @@
IDeployableServer s = ServerConverter.getDeployableServer(server);
return s.getDeployFolder();
}
+
+ public String getPublishDefaultRootTempFolder(IServer server) {
+ IDeployableServer s = ServerConverter.getDeployableServer(server);
+ return s.getTempDeployFolder();
+ }
+
protected void refreshProject(final IProject project,IProgressMonitor monitor) throws CoreException {
// Already inside a workspace scheduling rule
project.refreshLocal(IResource.DEPTH_INFINITE, monitor);
13 years, 9 months
JBoss Tools SVN: r42099 - tags/soatools-3.3.0.CR1/bpel/site.
by jbosstools-commits@lists.jboss.org
Author: dpalmer
Date: 2012-06-19 18:44:00 -0400 (Tue, 19 Jun 2012)
New Revision: 42099
Modified:
tags/soatools-3.3.0.CR1/bpel/site/category.xml
Log:
Removed riftsaw feature
Modified: tags/soatools-3.3.0.CR1/bpel/site/category.xml
===================================================================
--- tags/soatools-3.3.0.CR1/bpel/site/category.xml 2012-06-19 22:20:05 UTC (rev 42098)
+++ tags/soatools-3.3.0.CR1/bpel/site/category.xml 2012-06-19 22:44:00 UTC (rev 42099)
@@ -17,9 +17,6 @@
<feature url="features/org.eclipse.bpel.common.feature_0.0.0.jar" id="org.eclipse.bpel.common.feature" version="0.0.0">
<category name="JBoss Tools bpel Nightly Build Update Site"/>
</feature>
- <feature url="features/org.eclipse.bpel.jboss.riftsaw.runtime.feature_0.0.0.jar" id="org.eclipse.bpel.jboss.riftsaw.runtime.feature" version="0.0.0">
- <category name="JBoss Tools bpel Nightly Build Update Site"/>
- </feature>
<feature url="features/org.eclipse.bpel.apache.ode.runtime.feature_0.0.0.jar" id="org.eclipse.bpel.apache.ode.runtime.feature" version="0.0.0">
<category name="JBoss Tools bpel Nightly Build Update Site"/>
13 years, 9 months
JBoss Tools SVN: r42098 - branches/jbosstools-3.3.x/bpel/site.
by jbosstools-commits@lists.jboss.org
Author: dpalmer
Date: 2012-06-19 18:20:05 -0400 (Tue, 19 Jun 2012)
New Revision: 42098
Modified:
branches/jbosstools-3.3.x/bpel/site/category.xml
Log:
Removed riftsaw feature
Modified: branches/jbosstools-3.3.x/bpel/site/category.xml
===================================================================
--- branches/jbosstools-3.3.x/bpel/site/category.xml 2012-06-19 21:42:29 UTC (rev 42097)
+++ branches/jbosstools-3.3.x/bpel/site/category.xml 2012-06-19 22:20:05 UTC (rev 42098)
@@ -17,9 +17,6 @@
<feature url="features/org.eclipse.bpel.common.feature_0.0.0.jar" id="org.eclipse.bpel.common.feature" version="0.0.0">
<category name="JBoss Tools bpel Nightly Build Update Site"/>
</feature>
- <feature url="features/org.eclipse.bpel.jboss.riftsaw.runtime.feature_0.0.0.jar" id="org.eclipse.bpel.jboss.riftsaw.runtime.feature" version="0.0.0">
- <category name="JBoss Tools bpel Nightly Build Update Site"/>
- </feature>
<feature url="features/org.eclipse.bpel.apache.ode.runtime.feature_0.0.0.jar" id="org.eclipse.bpel.apache.ode.runtime.feature" version="0.0.0">
<category name="JBoss Tools bpel Nightly Build Update Site"/>
13 years, 9 months