JBoss Tools SVN: r41162 - trunk/download.jboss.org/jbosstools/updates/webtools/indigo.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-05-18 14:37:36 -0400 (Fri, 18 May 2012)
New Revision: 41162
Modified:
trunk/download.jboss.org/jbosstools/updates/webtools/indigo/index.html
Log:
release 3.3.0.Beta3 to http://download.jboss.org/jbosstools/updates/webtools/indigo/
Modified: trunk/download.jboss.org/jbosstools/updates/webtools/indigo/index.html
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/webtools/indigo/index.html 2012-05-18 16:55:32 UTC (rev 41161)
+++ trunk/download.jboss.org/jbosstools/updates/webtools/indigo/index.html 2012-05-18 18:37:36 UTC (rev 41162)
@@ -1,6 +1,6 @@
<html>
<head>
-<title>JBoss Tools - Web Tools - Development Milestone Update Site: 3.3.0.v20120323-1342-H63-Beta2.webtools</title>
+<title>JBoss Tools - Web Tools - Development Milestone Update Site: 3.3.0.v20120504-1708-H74-Beta3.webtools</title>
<style>
@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
</style>
@@ -24,18 +24,19 @@
<h2 class="title">JBoss Tools - Web Tools - Development Milestone Update Site</h2>
<table width="100%">
<tr class="header">
- <td class="sub-header" width="100%"><span>Latest Build: 3.3.0.v20120323-1342-H63-Beta2.webtools</span></td>
+ <td class="sub-header" width="100%"><span>Latest Build: 3.3.0.v20120504-1708-H74-Beta3.webtools</span></td>
</tr>
<tr class="light-row" style="height: 30px">
<td class="bodyText">
<p class="bodyText">This is the <b>Development Milestone</b>
Update Site for JBoss Tools - Web Tools.
+ <p align="center"><span style="padding:4px;color:white;background-color:red;font-weight:bold">NOTE:This site was built using Indigo (Eclipse 3.7.2), but SHOULD work with Juno (Eclipse 4.2M6+) too.</span></p>
<blockquote style="border: 1px dashed #1778be; padding: 2px">
<ol>
<li>To <a class="link"
href="http://www.jboss.org/tools/download/installation/update_3_3">install</a>
- from this site, start up Eclipse 3.7, then do:
+ from this site, start up Eclipse 3.7 (or 4.2), then do:
<ul>
<code><strong>Help > Install New Software... ></strong></code>
</ul>
@@ -80,12 +81,22 @@
</th>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.ide.eclipse.as.feature_2.3.0.v20120321-1339-H91-Beta2.jar" style="font-size:x-small">org.jboss.ide.eclipse.as.feature</a></td>
- <td><span style="font-size:x-small">2.3.0.v20120321-1339-H91-Beta2</span></td>
+ <td class="rowLine"><a href="features/org.jboss.ide.eclipse.archives.feature_3.2.1.v20120504-0235-H64-Beta3.jar" style="font-size:x-small">org.jboss.ide.eclipse.archives.feature</a></td>
+ <td><span style="font-size:x-small">3.2.1.v20120504-0235-H64-Beta3</span></td>
+ <td></td>
+ </tr>
+ <tr style="background-color:
							#FFFFFF
						">
+ <td class="rowLine"><a href="features/org.jboss.ide.eclipse.as.feature_2.3.0.v20120504-2054-H105-Beta3.jar" style="font-size:x-small">org.jboss.ide.eclipse.as.feature</a></td>
+ <td><span style="font-size:x-small">2.3.0.v20120504-2054-H105-Beta3</span></td>
<td><span style="font-size:x-small">
|
org.eclipse.wst.server.core.serverAdapter</span></td>
</tr>
+ <tr style="background-color:
							#EEEEEE
						">
+ <td class="rowLine"><a href="features/org.jboss.tools.jmx.feature_1.2.0.v20120504-0232-H50-Beta3.jar" style="font-size:x-small">org.jboss.tools.jmx.feature</a></td>
+ <td><span style="font-size:x-small">1.2.0.v20120504-0232-H50-Beta3</span></td>
+ <td></td>
+ </tr>
<tr style="background-color:#DDDDDD">
<th colspan="1" style="font-size:small">Metadata</th>
<th colspan="1" style="font-size:small"></th>
12 years, 8 months
JBoss Tools SVN: r41161 - trunk/documentation/whatsnew/maven.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2012-05-18 12:55:32 -0400 (Fri, 18 May 2012)
New Revision: 41161
Modified:
trunk/documentation/whatsnew/maven/maven-news-3.3.0.Beta3.html
Log:
new_and_noteworthy
Modified: trunk/documentation/whatsnew/maven/maven-news-3.3.0.Beta3.html
===================================================================
--- trunk/documentation/whatsnew/maven/maven-news-3.3.0.Beta3.html 2012-05-18 16:40:30 UTC (rev 41160)
+++ trunk/documentation/whatsnew/maven/maven-news-3.3.0.Beta3.html 2012-05-18 16:55:32 UTC (rev 41161)
@@ -83,8 +83,8 @@
<p>or</p>
<img src="../images/gwt_modules_definition.png" />
<p>If there is no modules defined in pom.xml then Configurator adds all existing modules to configuration.</p>
- <p>GWT Project Configurator sets GWT Compiler output to the same folder which Maven Compiler uses.</p>
- <p>You can use Maven or GWT Compiler to compile your application and whatever you do after that (Deploy on Server or Running on an External Server) it does not required additional compilation.</p>
+ <p>GWT Project Configurator sets GWT Compiler output folder to the same folder which is used by Maven Compiler.</p>
+ <p>You can use Maven or GWT Compiler to compile your application and Deploy to Server or Running on an External Server, it does not require additional compilation.</p>
<p>
<small>
See:
12 years, 8 months
JBoss Tools SVN: r41160 - trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2012-05-18 12:40:30 -0400 (Fri, 18 May 2012)
New Revision: 41160
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/EditDeviceDialog.java
Log:
https://issues.jboss.org/browse/JBIDE-11909 : BrowserSim: preferences dialog isn't blocked when edit dialog is open
- applied Ilya Buziuk's patch
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/EditDeviceDialog.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/EditDeviceDialog.java 2012-05-18 16:26:04 UTC (rev 41159)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/EditDeviceDialog.java 2012-05-18 16:40:30 UTC (rev 41160)
@@ -89,7 +89,7 @@
* Create contents of the dialog.
*/
private void createContents() {
- shell = new Shell(getParent(), SWT.DIALOG_TRIM | SWT.MIN | SWT.MAX);
+ shell = new Shell(getParent(), getStyle());
shell.setSize(450, 300);
shell.setText(Messages.EditDeviceDialog_EDIT_DEVICE);
shell.setLayout(new GridLayout(2, false));
12 years, 8 months
JBoss Tools SVN: r41159 - in trunk/documentation/whatsnew/bpel: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2012-05-18 12:26:04 -0400 (Fri, 18 May 2012)
New Revision: 41159
Added:
trunk/documentation/whatsnew/bpel/bpel-news-1.1.0.beta3b.html
trunk/documentation/whatsnew/bpel/images/NewProcessWizard1.png
trunk/documentation/whatsnew/bpel/images/NewProcessWizard2.png
trunk/documentation/whatsnew/bpel/images/NewProcessWizard3.png
trunk/documentation/whatsnew/bpel/images/NewProcessWizard4.png
trunk/documentation/whatsnew/bpel/images/ProjectFacetMigration1.png
trunk/documentation/whatsnew/bpel/images/ProjectFacetMigration2.png
trunk/documentation/whatsnew/bpel/images/ProjectFacetMigration3.png
Log:
https://issues.jboss.org/browse/JBIDE-11744 - created new news
Added: trunk/documentation/whatsnew/bpel/bpel-news-1.1.0.beta3b.html
===================================================================
--- trunk/documentation/whatsnew/bpel/bpel-news-1.1.0.beta3b.html (rev 0)
+++ trunk/documentation/whatsnew/bpel/bpel-news-1.1.0.beta3b.html 2012-05-18 16:26:04 UTC (rev 41159)
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>BPEL Tools 1.0.0.CR1 What's New</title>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-17645367-5']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script></head>
+<body>
+<h1>JBoss Eclipse BPEL Editor 1.1.0.beta3b What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../esb/esb-news-1.4.0.M2.html">ESB Tools ></a></p>
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>General</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>BPEL
+ Editor</b></td>
+ <td valign="top">The following issues were fixed.
+ <ol style="">
+ <a href="https://issues.jboss.org/browse/JBIDE-10010">JBIDE-10010</a> Null Pointer Exception in BPEL Preferences page for WSIL Browser
+ <br></br>
+ <a href="https://issues.jboss.org/browse/JBIDE-10495">JBIDE-10495</a> Document the migration procedure of BPEL projects from earlier releases of JBoss Developer Studio and SOA-P (see below)
+ <br></br>
+ <a href="https://issues.jboss.org/browse/JBIDE-11536">JBIDE-11536</a> Unable to create new server runtime in "New BPEL Project" wizard
+ <br></br>
+ <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379547">Bugzilla-379547</a> Null Pointer Exception in Namespaces tab
+ <br></br>
+ <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379613">Bugzilla-379613</a> Automatic redeployment after a file is changed, does not work
+ <br></br>
+ <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=377556">Bugzilla-377556</a> Add support for <b><documentation></b> element
+ <br></br>
+ </ol>
+ <p>
+ The BPEL Designer project at eclipse.org has graduated from the <a href="http://wiki.eclipse.org/Development_Resources/Process_Guidelines/What_is_...">incubation phase</a> and is now at version 1.0!
+ <br></br>
+ See the <a href="http://eclipse.org/bpel/">project home page</a> for more information.
+ </p>
+ <p>
+ User Manual and Reference Guide for the BPEL Designer, as well as "Cheat Sheets" are now available from the Eclipse Help menu.
+ </p>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>User Interface Changes</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>
+ New BPEL Process Wizard
+ </b></td>
+ <td valign="top">The "New BPEL Process" wizard has been enhanced to allow "top-down" creation of a process from a WSDL file.
+ <p>The first page of the wizard still allows creation of BPEL Process files from existing templates, as before:</p>
+ <img src="images/NewProcessWizard1.png"/>
+ <p>Or you can create a BPEL Process from a service description WSDL file, as shown here:</p>
+ <img src="images/NewProcessWizard2.png"/>
+ <p>WSDL files can be imported from the workspace or a file system share. The wizard will load the WSDL and display the service contract (port types).</p>
+ <img src="images/NewProcessWizard3.png"/>
+ <p>The generated BPEL Process will now contain a skeleton for all of the Port Types and Operations:</p>
+ <img src="images/NewProcessWizard4.png" style=" width : 800px;"/>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Project Facet Migration</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>
+
+ </b></td>
+ <td valign="top">BPEL Projects that were created prior to this release, used a different Project Facet ID than the open source (Eclipse) version of the BPEL Designer.
+ Because the BPEL Designer has now been completely migrated to the open source community, we decided to align the JBoss tools Facet IDs with the Eclipse versions.
+ Migration of your existing projects to the latest version is very simple.
+ <p>First, verify if your project is using the old JBoss Tools Facet ID.
+ From the Project Properties page, select "Project Facets".
+ If the current Facet is labeled "JBoss BPEL 2.0 Facet (SOA-P v5.1 and earlier)" you need to change it to the newer Facet if you intend to deploy this process to the latest version of Riftsaw.
+ Right-click on the "JBoss BPEL 2.0 Facet" and click "Unlock" as shown here:</p>
+ <img src="images/ProjectFacetMigration1.png"/>
+ <p>Un-check the JBoss BPEL 2.0 Facet and check the BPEL 2.0 Facet as shown here::</p>
+ <img src="images/ProjectFacetMigration2.png"/>
+ <p>Finally, you may want to configure and select your new target runtime for the project. Click "OK" to save these changes. The project is now configured for deployment to the Riftsaw engine hosted on JBoss AS 6.x and later versions.</p>
+ <img src="images/ProjectFacetMigration3.png"/>
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
Added: trunk/documentation/whatsnew/bpel/images/NewProcessWizard1.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/bpel/images/NewProcessWizard1.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/bpel/images/NewProcessWizard2.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/bpel/images/NewProcessWizard2.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/bpel/images/NewProcessWizard3.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/bpel/images/NewProcessWizard3.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/bpel/images/NewProcessWizard4.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/bpel/images/NewProcessWizard4.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/bpel/images/ProjectFacetMigration1.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/bpel/images/ProjectFacetMigration1.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/bpel/images/ProjectFacetMigration2.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/bpel/images/ProjectFacetMigration2.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/bpel/images/ProjectFacetMigration3.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/bpel/images/ProjectFacetMigration3.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
12 years, 8 months
JBoss Tools SVN: r41158 - branches/soatools-3.3.0.Beta2/esb/tests/org.jboss.tools.esb.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: ldimaggio
Date: 2012-05-18 11:26:36 -0400 (Fri, 18 May 2012)
New Revision: 41158
Modified:
branches/soatools-3.3.0.Beta2/esb/tests/org.jboss.tools.esb.ui.bot.test/requirements.properties
Log:
Added reference to ESB 4.11 to requirements.properties
Modified: branches/soatools-3.3.0.Beta2/esb/tests/org.jboss.tools.esb.ui.bot.test/requirements.properties
===================================================================
--- branches/soatools-3.3.0.Beta2/esb/tests/org.jboss.tools.esb.ui.bot.test/requirements.properties 2012-05-18 15:04:46 UTC (rev 41157)
+++ branches/soatools-3.3.0.Beta2/esb/tests/org.jboss.tools.esb.ui.bot.test/requirements.properties 2012-05-18 15:26:36 UTC (rev 41158)
@@ -1 +1 @@
-requirements=jbossesb,soap
+requirements=jbossesb-4.11,soap
12 years, 8 months
JBoss Tools SVN: r41157 - in trunk/esb/tests/org.jboss.tools.esb.ui.bot.test: src/org/jboss/tools/esb/ui/bot/tests and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: ldimaggio
Date: 2012-05-18 11:04:46 -0400 (Fri, 18 May 2012)
New Revision: 41157
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/requirements.properties
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/ESBAllBotTests.java
Log:
Updated org.jboss.tools.esb.ui.bot.test/requirements.properties - to refer to jbossesb 4.11
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/requirements.properties
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/requirements.properties 2012-05-18 14:16:35 UTC (rev 41156)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/requirements.properties 2012-05-18 15:04:46 UTC (rev 41157)
@@ -1 +1 @@
-requirements=jbossesb,soap
+requirements=jbossesb-4.11,soap
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/ESBAllBotTests.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/ESBAllBotTests.java 2012-05-18 14:16:35 UTC (rev 41156)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/ESBAllBotTests.java 2012-05-18 15:04:46 UTC (rev 41157)
@@ -25,20 +25,20 @@
import org.junit.runners.Suite.SuiteClasses;
@SuiteClasses({
- CreateRuntimeFromESB.class,
- CreateRuntimeFromSOA.class,
- NewProjectUsingRuntime.class,
- NewProjectUsingBundledInEAP.class,
- //Editing.class, // https://issues.jboss.org/browse/JBIDE-11616
- HelloWorld.class,
- HelloWorldAction.class,
- HelloWorldFileAction.class,
- SmooksCSV2XML.class,
- SmooksXML2POJO.class,
- SmooksXML2XMLDateManipulation.class,
- SmooksXML2XMLSimple.class,
- WebServiceConsumer1.class,
- WebServiceProducer.class
+// CreateRuntimeFromESB.class,
+// CreateRuntimeFromSOA.class,
+// NewProjectUsingRuntime.class,
+// NewProjectUsingBundledInEAP.class,
+// //Editing.class, // https://issues.jboss.org/browse/JBIDE-11616
+ HelloWorld.class
+// HelloWorldAction.class,
+// HelloWorldFileAction.class,
+// SmooksCSV2XML.class,
+// SmooksXML2POJO.class,
+// SmooksXML2XMLDateManipulation.class,
+// SmooksXML2XMLSimple.class,
+// WebServiceConsumer1.class,
+// WebServiceProducer.class
//SimpleEAPTest.class
})
@RunWith(RequirementAwareSuite.class)
12 years, 8 months
JBoss Tools SVN: r41156 - in trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test: src/org/jboss/tools/bpel/ui/bot/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
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 {
12 years, 8 months
JBoss Tools SVN: r41155 - in trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test: dialog/preferences and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2012-05-18 10:05:06 -0400 (Fri, 18 May 2012)
New Revision: 41155
Added:
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/PreferencesDialog.java
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam22/CheckSeam22.java
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam23/CheckSeam23.java
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/CheckSeamRuntimeTemplate.java
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/dialog/preferences/RuntimeDetectionPreferencesDialog.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
trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam23/DetectSeam23.java
Log:
Added seam tests.
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 13:59:58 UTC (rev 41154)
+++ 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 14:05:06 UTC (rev 41155)
@@ -1,6 +1,8 @@
package org.jboss.tools.runtime.as.ui.bot.test;
+import org.jboss.tools.runtime.as.ui.bot.test.seam.seam22.CheckSeam22;
import org.jboss.tools.runtime.as.ui.bot.test.seam.seam22.DetectSeam22;
+import org.jboss.tools.runtime.as.ui.bot.test.seam.seam23.CheckSeam23;
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;
@@ -44,8 +46,10 @@
OperateSOAP5.class,
DetectSOAPStandalone5.class,
OperateSOAPStandalone5.class,
- DetectSeam22.class,
- DetectSeam23.class
+ DetectSeam22.class,
+ CheckSeam22.class,
+ DetectSeam23.class,
+ CheckSeam23.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/dialog/preferences/PreferencesDialog.java
===================================================================
--- trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/PreferencesDialog.java (rev 0)
+++ trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/PreferencesDialog.java 2012-05-18 14:05:06 UTC (rev 41155)
@@ -0,0 +1,17 @@
+package org.jboss.tools.runtime.as.ui.bot.test.dialog.preferences;
+
+import org.jboss.tools.ui.bot.ext.SWTBotFactory;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem.Preference;
+import org.jboss.tools.ui.bot.ext.gen.IPreference;
+
+public class PreferencesDialog {
+
+ protected void open(String... path){
+ IPreference preference = Preference.create(path);
+ SWTBotFactory.getOpen().preferenceOpen(preference);
+ }
+
+ public void ok(){
+ SWTBotFactory.getBot().button("OK").click();
+ }
+}
Modified: trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/RuntimeDetectionPreferencesDialog.java
===================================================================
--- trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/RuntimeDetectionPreferencesDialog.java 2012-05-18 13:59:58 UTC (rev 41154)
+++ trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/RuntimeDetectionPreferencesDialog.java 2012-05-18 14:05:06 UTC (rev 41155)
@@ -7,14 +7,11 @@
import org.jboss.tools.runtime.core.model.RuntimePath;
import org.jboss.tools.runtime.ui.RuntimeUIActivator;
import org.jboss.tools.ui.bot.ext.SWTBotFactory;
-import org.jboss.tools.ui.bot.ext.gen.ActionItem.Preference;
-import org.jboss.tools.ui.bot.ext.gen.IPreference;
-public class RuntimeDetectionPreferencesDialog {
+public class RuntimeDetectionPreferencesDialog extends PreferencesDialog{
public void open(){
- IPreference preference = Preference.create("JBoss Tools", "JBoss Tools Runtime Detection");
- SWTBotFactory.getOpen().preferenceOpen(preference);
+ open("JBoss Tools", "JBoss Tools Runtime Detection");
}
public SearchingForRuntimesDialog addPath(final String path){
@@ -38,10 +35,6 @@
SWTBotFactory.getBot().button("Remove").click();
}
- public void ok(){
- SWTBotFactory.getBot().button("OK").click();
- }
-
public SearchingForRuntimesDialog search(){
SWTBotFactory.getBot().button("Search...").click();
return new SearchingForRuntimesDialog();
Added: trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java
===================================================================
--- trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java (rev 0)
+++ trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java 2012-05-18 14:05:06 UTC (rev 41155)
@@ -0,0 +1,45 @@
+package org.jboss.tools.runtime.as.ui.bot.test.dialog.preferences;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.keyboard.KeyboardFactory;
+import org.eclipse.swtbot.swt.finder.keyboard.Keystrokes;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTable;
+import org.jboss.tools.runtime.as.ui.bot.test.entity.Runtime;
+import org.jboss.tools.ui.bot.ext.SWTBotFactory;
+
+public class SeamPreferencesDialog extends PreferencesDialog {
+
+ public void open(){
+ open("JBoss Tools", "Web", "Seam");
+ }
+
+ public List<Runtime> getRuntimes(){
+ List<Runtime> runtimes = new ArrayList<Runtime>();
+
+ SWTBotTable table = SWTBotFactory.getBot().table();
+
+ for (int i = 0; i < table.rowCount(); i++){
+ Runtime runtime = new Runtime();
+ runtime.setName(table.cell(i, 1));
+ runtime.setVersion(table.cell(i, 2));
+ runtime.setLocation(table.cell(i, 3));
+ runtimes.add(runtime);
+ }
+ return runtimes;
+ }
+
+ public void removeAllRuntimes(){
+ SWTBot bot = SWTBotFactory.getBot();
+ SWTBotTable table = bot.table();
+
+ for (int i = 0; i < table.rowCount(); i++){
+ table.click(0, 0);
+ bot.button("Remove").click();
+ KeyboardFactory.getAWTKeyboard().pressShortcut(Keystrokes.RIGHT, Keystrokes.CR, Keystrokes.LF);
+ bot.shell("Preferences").activate();
+ }
+ }
+}
Added: trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam22/CheckSeam22.java
===================================================================
--- trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam22/CheckSeam22.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/CheckSeam22.java 2012-05-18 14:05:06 UTC (rev 41155)
@@ -0,0 +1,17 @@
+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.CheckSeamRuntimeTemplate;
+
+public class CheckSeam22 extends CheckSeamRuntimeTemplate {
+
+ @Override
+ protected Runtime getExpectedRuntime() {
+ Runtime server = new Runtime();
+ server.setName("Seam " + DetectSeam22.SEAM_ID + " 2.2");
+ server.setVersion("2.2");
+ server.setLocation(RuntimeProperties.getInstance().getRuntimePath(DetectSeam22.SEAM_ID));
+ return server;
+ }
+}
Modified: 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 2012-05-18 13:59:58 UTC (rev 41154)
+++ 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 14:05:06 UTC (rev 41155)
@@ -8,6 +8,8 @@
public static final String SEAM_ID = "jboss-seam-2.2.2.Final";
+ public static final String VERSION = "2.2.2.Final";
+
@Override
protected String getRuntimeID() {
return SEAM_ID;
@@ -18,7 +20,7 @@
Runtime server = new Runtime();
server.setName(getRuntimeID());
server.setType("SEAM");
- server.setVersion("2.2.2.Final");
+ server.setVersion(VERSION);
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/CheckSeam23.java
===================================================================
--- trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/seam/seam23/CheckSeam23.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/CheckSeam23.java 2012-05-18 14:05:06 UTC (rev 41155)
@@ -0,0 +1,17 @@
+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.CheckSeamRuntimeTemplate;
+
+public class CheckSeam23 extends CheckSeamRuntimeTemplate {
+
+ @Override
+ protected Runtime getExpectedRuntime() {
+ Runtime server = new Runtime();
+ server.setName("Seam " + DetectSeam23.SEAM_ID + " 2.3");
+ server.setVersion("2.3");
+ server.setLocation(RuntimeProperties.getInstance().getRuntimePath(DetectSeam23.SEAM_ID));
+ return server;
+ }
+}
Modified: 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 2012-05-18 13:59:58 UTC (rev 41154)
+++ 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 14:05:06 UTC (rev 41155)
@@ -8,6 +8,8 @@
public static final String SEAM_ID = "jboss-seam-2.3.0.Beta1";
+ public static final String VERSION = "2.3.0.Beta1";
+
@Override
protected String getRuntimeID() {
return SEAM_ID;
@@ -18,7 +20,7 @@
Runtime server = new Runtime();
server.setName(getRuntimeID());
server.setType("SEAM");
- server.setVersion("2.3.0.Beta1");
+ server.setVersion(VERSION);
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/template/CheckSeamRuntimeTemplate.java
===================================================================
--- trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/CheckSeamRuntimeTemplate.java (rev 0)
+++ trunk/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/CheckSeamRuntimeTemplate.java 2012-05-18 14:05:06 UTC (rev 41155)
@@ -0,0 +1,32 @@
+package org.jboss.tools.runtime.as.ui.bot.test.template;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
+
+import org.jboss.tools.runtime.as.ui.bot.test.dialog.preferences.SeamPreferencesDialog;
+import org.jboss.tools.runtime.as.ui.bot.test.entity.Runtime;
+import org.jboss.tools.runtime.as.ui.bot.test.matcher.RuntimeMatcher;
+import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.junit.After;
+import org.junit.Test;
+
+public abstract class CheckSeamRuntimeTemplate extends SWTTestExt {
+
+ private SeamPreferencesDialog seamPreferences = new SeamPreferencesDialog();
+
+ protected abstract Runtime getExpectedRuntime();
+
+ @Test
+ public void checkSeamRuntime(){
+ seamPreferences.open();
+
+ assertThat(seamPreferences.getRuntimes().size(), is(1));
+ assertThat(seamPreferences.getRuntimes().get(0), new RuntimeMatcher(getExpectedRuntime()));
+ }
+
+ @After
+ public void cleanup(){
+ seamPreferences.removeAllRuntimes();
+ seamPreferences.ok();
+ }
+}
12 years, 8 months
JBoss Tools SVN: r41153 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: xcoulon
Date: 2012-05-18 09:36:27 -0400 (Fri, 18 May 2012)
New Revision: 41153
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationSelectionDialog.java
Log:
adding @SupressWarning for unused method (for now)
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationSelectionDialog.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationSelectionDialog.java 2012-05-18 13:35:37 UTC (rev 41152)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationSelectionDialog.java 2012-05-18 13:36:27 UTC (rev 41153)
@@ -239,6 +239,7 @@
layout.setColumnData(column.getColumn(), new ColumnWeightData(weight, true));
}
+ @SuppressWarnings("unused")
private SelectionAdapter onRefresh(final DataBindingContext dbc) {
return new SelectionAdapter() {
12 years, 8 months