Author: vpakan(a)redhat.com
Date: 2010-02-18 03:32:50 -0500 (Thu, 18 Feb 2010)
New Revision: 20348
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/MANIFEST.MF
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamAllBotTests.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateActions.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateConversations.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateEntities.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateForms.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamRuntimes.java
Log:
Fixes for Hudson
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/MANIFEST.MF 2010-02-18
08:23:56 UTC (rev 20347)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/MANIFEST.MF 2010-02-18
08:32:50 UTC (rev 20348)
@@ -13,7 +13,8 @@
org.eclipse.swtbot.eclipse.ui;bundle-version="2.0.0",
org.eclipse.swtbot.swt.finder;bundle-version="2.0.0",
org.apache.log4j;bundle-version="1.2.13",
- org.junit4;bundle-version="4.5.0"
+ org.junit4;bundle-version="4.5.0",
+ org.jboss.tools.ui.bot.ext;bundle-version="1.0.0"
Eclipse-RegisterBuddy: org.apache.log4j
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamAllBotTests.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamAllBotTests.java 2010-02-18
08:23:56 UTC (rev 20347)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamAllBotTests.java 2010-02-18
08:32:50 UTC (rev 20348)
@@ -6,6 +6,8 @@
import org.jboss.tools.seam.ui.bot.test.create.CreateActions;
import org.jboss.tools.seam.ui.bot.test.create.CreateConversations;
import org.jboss.tools.seam.ui.bot.test.create.CreateEntities;
+import org.jboss.tools.seam.ui.bot.test.create.CreateServerRuntimes;
+
import junit.framework.Test;
import junit.framework.TestSuite;
@@ -19,6 +21,7 @@
public class SeamAllBotTests {
public static Test suite(){
TestSuite suite = new TestSuite("Seam tests");
+ suite.addTestSuite(CreateServerRuntimes.class);
suite.addTestSuite(CreateSeamRuntimes.class);
suite.addTestSuite(CreateSeamProjects.class);
suite.addTestSuite(CreateForms.class);
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java 2010-02-18
08:23:56 UTC (rev 20347)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java 2010-02-18
08:32:50 UTC (rev 20348)
@@ -6,8 +6,11 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.waits.Conditions;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTable;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.jboss.tools.test.TestProperties;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.ext.types.IDELabel.PreferencesDialog;
import org.jboss.tools.ui.bot.test.JBTSWTBotTestCase;
import org.jboss.tools.ui.bot.test.WidgetVariables;
@@ -19,33 +22,26 @@
protected static Properties jbossEAPRuntime;
protected static Properties seam12Settings;
protected static Properties seam2fpSettings;
- protected static Properties seam21Settings;
+ protected static Properties seam22Settings;
private static final String PROJECT_PROPERTIES =
"projectProperties.properties";
private static final String EAP_RUNTIME = "jbossEAPRuntime.properties";
private static final String SEAM_SET_12 = "seam12Settings.properties";
private static final String SEAM_SET_2FP = "seam2fpSettings.properties";
- private static final String SEAM_SET_21 = "seam21Settings.properties";
+ private static final String SEAM_SET_22 = "seam22Settings.properties";
protected static final String VALIDATION = "Validation";
protected static final String DEPLOY_SOURCE = "Deploying datasource to
server";
protected static final String REG_IN_SERVER = "Register in server";
public static String JBOSS_EAP_HOME;
public static String SEAM_12_SETTINGS_HOME;
- public static String SEAM_21_SETTINGS_HOME;
+ public static String SEAM_22_SETTINGS_HOME;
public static String SEAM_2FP_SETTINGS_HOME;
- public static final String[] SUBSTITUTE_PROPERTIES = {
- "jbosstools.test.jboss.home",
- "jbosstools.test.seam.1.2.1.eap.home",
- "jbosstools.test.seam.2.1.0.GA.home",
- "jbosstools.test.seam.2fp.eap.home"
- };
-
static {
-// System.setProperty("jbosstools.test.seam.1.2.1.eap.home",
"C:/jbdevstudio0609/jboss-eap/seam");
-// System.setProperty("jbosstools.test.seam.2fp.eap.home",
"C:/jbdevstudio0609/jboss-eap/seamfp");
-// System.setProperty("jbosstools.test.seam.2.1.0.GA.home",
"C:/jbdevstudio0609/jboss-eap/jboss-seam-2.1.1.GA");
+
+ Properties vmArgsProps = TestControl.parseEclipseVMArgs();
+
try {
InputStream is = TestControl.class.getResourceAsStream("/" +
PROJECT_PROPERTIES);
projectProperties = new TestProperties();
@@ -60,7 +56,8 @@
InputStream is = TestControl.class.getResourceAsStream("/" + EAP_RUNTIME);
jbossEAPRuntime = new TestProperties();
jbossEAPRuntime.load(is);
- } catch (IOException e) {
+ TestControl.overrideValueFromSystemProperty(jbossEAPRuntime,"runtimePath","-Djboss.tools.test.jboss.home",vmArgsProps);
+ } catch (IOException e) {
fail("Can't load properties from " + EAP_RUNTIME + "
file");
}
catch (IllegalStateException e) {
@@ -70,6 +67,7 @@
InputStream is = TestControl.class.getResourceAsStream("/" + SEAM_SET_12);
seam12Settings = new TestProperties();
seam12Settings.load(is);
+ TestControl.overrideValueFromSystemProperty(seam12Settings,"seamRuntimePath","-Djboss.tools.test.seam.1.2.1.eap.home",vmArgsProps);
} catch (IOException e) {
fail("Can't load properties from " + SEAM_SET_12 + "
file");
}
@@ -80,6 +78,7 @@
InputStream is = TestControl.class.getResourceAsStream("/" + SEAM_SET_2FP);
seam2fpSettings = new TestProperties();
seam2fpSettings.load(is);
+ TestControl.overrideValueFromSystemProperty(seam2fpSettings,"seamRuntimePath","-Djboss.tools.test.seam.2fp.eap.home",vmArgsProps);
} catch (IOException e) {
fail("Can't load properties from " + SEAM_SET_2FP + "
file");
}
@@ -87,24 +86,21 @@
fail("Property file " + SEAM_SET_2FP + " was not found");
}
try {
- InputStream is = TestControl.class.getResourceAsStream("/" + SEAM_SET_21);
- seam21Settings = new TestProperties();
- seam21Settings.load(is);
+ InputStream is = TestControl.class.getResourceAsStream("/" + SEAM_SET_22);
+ seam22Settings = new TestProperties();
+ seam22Settings.load(is);
+ TestControl.overrideValueFromSystemProperty(seam22Settings,"seamRuntimePath","-Djboss.tools.test.seam.2.2.0.eap.home",vmArgsProps);
} catch (IOException e) {
- fail("Can't load properties from " + SEAM_SET_21 + "
file");
+ fail("Can't load properties from " + SEAM_SET_22 + "
file");
}
catch (IllegalStateException e) {
- fail("Property file " + SEAM_SET_21 + " was not found");
+ fail("Property file " + SEAM_SET_22 + " was not found");
}
JBOSS_EAP_HOME = jbossEAPRuntime.getProperty("runtimePath");
SEAM_12_SETTINGS_HOME = seam12Settings.getProperty("seamRuntimePath");
- SEAM_21_SETTINGS_HOME = seam21Settings.getProperty("seamRuntimePath");
- SEAM_2FP_SETTINGS_HOME = seam2fpSettings.getProperty("seamRuntimePath");
+ SEAM_22_SETTINGS_HOME = seam22Settings.getProperty("seamRuntimePath");
+ SEAM_2FP_SETTINGS_HOME = seam2fpSettings.getProperty("seamRuntimePath");
}
-
-
-
-
/*Pre-launch operations here:*/
@Override
@@ -134,17 +130,40 @@
/**Creates any Server Runtime + Server. */
protected void createServerRuntime(Properties serverType){
- bot.menu("File").menu("New").menu("Other...").click();
- SWTBotTree tree = bot.tree();
- tree.expandNode("Server").select("Server");
- bot.button("Next >").click();
- SWTBotTree tree2 = bot.tree();
- tree2.expandNode(serverType.getProperty("runtimeGroup")).select(serverType.getProperty("runtimeItem"));
- bot.textWithLabel("Server
name:").setText(serverType.getProperty("serverName"));
- bot.button("Next >").click();
- bot.textWithLabel("Name").setText(serverType.getProperty("runtimeName"));
- bot.textWithLabel("Home
Directory").setText(serverType.getProperty("runtimePath"));
- bot.button("Finish").click();
+ // Check if server is not already defined
+ bot.menu(IDELabel.Menu.WINDOW).menu(IDELabel.Menu.PREFERENCES).click();
+ bot.shell(IDELabel.Shell.PREFERENCES).activate();
+ bot.tree().expandNode(IDELabel.PreferencesDialog.SERVER_GROUP).select(
+ PreferencesDialog.RUNTIME_ENVIRONMENTS);
+ SWTBotTable tbRuntimeEnvironments = bot.table();
+ boolean createRuntime = true;
+ int numRows = tbRuntimeEnvironments.rowCount();
+ if (numRows > 0) {
+ int currentRow = 0;
+ while (createRuntime && currentRow < numRows) {
+ if (tbRuntimeEnvironments.cell(currentRow, 0).equalsIgnoreCase(
+ serverType.getProperty("runtimeName"))) {
+ createRuntime = false;
+ } else {
+ currentRow++;
+ }
+ }
+ }
+ bot.button(IDELabel.Button.OK).click();
+
+ if (createRuntime){
+
bot.menu("File").menu("New").menu("Other...").click();
+ SWTBotTree tree = bot.tree();
+ tree.expandNode("Server").select("Server");
+ bot.button("Next >").click();
+ SWTBotTree tree2 = bot.tree();
+
tree2.expandNode(serverType.getProperty("runtimeGroup")).select(serverType.getProperty("runtimeItem"));
+ bot.textWithLabel("Server
name:").setText(serverType.getProperty("serverName"));
+ bot.button("Next >").click();
+
bot.textWithLabel("Name").setText(serverType.getProperty("runtimeName"));
+ bot.textWithLabel("Home
Directory").setText(serverType.getProperty("runtimePath"));
+ bot.button("Finish").click();
+ }
}
/** Creates any Seam runtime. */
@@ -223,4 +242,43 @@
bot.sleep(1000);
}
}
+ /**
+ * Overrides propertyName property value within properties with value stored within
vmargProperties with name vmargPropertyName
+ * @param properties
+ * @param propertyName
+ * @param vmargPropertyName
+ * @param vmargProperties
+ */
+ private static void overrideValueFromSystemProperty (Properties properties, String
propertyName ,
+ String vmargPropertyName, Properties vmargProperties){
+
+ String vmargProperty = vmargProperties.getProperty(vmargPropertyName);
+ if (vmargProperty != null){
+ properties.setProperty(propertyName, vmargProperty);
+ }
+
+ }
+ /**
+ * Returns Properties which contains Virtual Machine arguments
+ * with name starting with "-D"
+ * @return
+ */
+ private static Properties parseEclipseVMArgs (){
+
+ Properties vmArgsProps = new Properties();
+
+ String vmArgs = System.getProperty("eclipse.vmargs");
+
+ if (vmArgs != null){
+ for (String line : vmArgs.split("\n")){
+ if (line.startsWith("-D")){
+ String[] splitLine = line.split("=");
+ vmArgsProps.setProperty(splitLine[0], splitLine[1]);
+ }
+ }
+ }
+
+ return vmArgsProps;
+
+ }
}
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateActions.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateActions.java 2010-02-18
08:23:56 UTC (rev 20347)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateActions.java 2010-02-18
08:32:50 UTC (rev 20348)
@@ -10,7 +10,7 @@
createSeamUnit(TEST_TYPE, seam12Settings, TYPE_WAR);
}
-/* public void testCreateActionFor12ear(){
+ public void testCreateActionFor12ear(){
createSeamUnit(TEST_TYPE, seam12Settings, TYPE_EAR);
}
@@ -22,12 +22,12 @@
createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_EAR);
}
- public void testCreateActionFor21war(){
- createSeamUnit(TEST_TYPE, seam21Settings, TYPE_WAR);
+ public void testCreateActionFor22war(){
+ createSeamUnit(TEST_TYPE, seam22Settings, TYPE_WAR);
}
- public void testCreateActionFor21ear(){
- createSeamUnit(TEST_TYPE, seam21Settings, TYPE_EAR);
- }*/
+ public void testCreateActionFor22ear(){
+ createSeamUnit(TEST_TYPE, seam22Settings, TYPE_EAR);
+ }
}
\ No newline at end of file
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateConversations.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateConversations.java 2010-02-18
08:23:56 UTC (rev 20347)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateConversations.java 2010-02-18
08:32:50 UTC (rev 20348)
@@ -10,7 +10,7 @@
createSeamUnit(TEST_TYPE, seam12Settings, TYPE_WAR);
}
-/* public void testCreateConversationFor12ear(){
+ public void testCreateConversationFor12ear(){
createSeamUnit(TEST_TYPE, seam12Settings, TYPE_EAR);
}
@@ -22,12 +22,12 @@
createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_EAR);
}
- public void testCreateConversationFor21war(){
- createSeamUnit(TEST_TYPE, seam21Settings, TYPE_WAR);
+ public void testCreateConversationFor22war(){
+ createSeamUnit(TEST_TYPE, seam22Settings, TYPE_WAR);
}
- public void testCreateConversationFor21ear(){
- createSeamUnit(TEST_TYPE, seam21Settings, TYPE_EAR);
- }*/
+ public void testCreateConversationFor22ear(){
+ createSeamUnit(TEST_TYPE, seam22Settings, TYPE_EAR);
+ }
}
\ No newline at end of file
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateEntities.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateEntities.java 2010-02-18
08:23:56 UTC (rev 20347)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateEntities.java 2010-02-18
08:32:50 UTC (rev 20348)
@@ -1,5 +1,7 @@
package org.jboss.tools.seam.ui.bot.test.create;
+import java.io.IOException;
+
import org.jboss.tools.seam.ui.bot.test.TestControl;
public class CreateEntities extends TestControl{
@@ -10,29 +12,32 @@
createSeamUnit(TEST_TYPE, seam12Settings, TYPE_WAR);
}
-/* public void testCreateEntityFor12ear(){
+ public void testCreateEntityFor12ear(){
createSeamUnit(TEST_TYPE, seam12Settings, TYPE_EAR);
- waitForJobs();
}
public void testCreateEntityFor2fpwar(){
createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_WAR);
- waitForJobs();
}
public void testCreateEntityFor2fpear(){
createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_EAR);
- waitForJobs();
}
- public void testCreateEntityFor21war(){
- createSeamUnit(TEST_TYPE, seam21Settings, TYPE_WAR);
- waitForJobs();
+ public void testCreateEntityFor22war(){
+ createSeamUnit(TEST_TYPE, seam22Settings, TYPE_WAR);
}
- public void testCreateEntityFor21ear(){
- createSeamUnit(TEST_TYPE, seam21Settings, TYPE_EAR);
- waitForJobs();
- }*/
+ public void testCreateEntityFor22ear(){
+ createSeamUnit(TEST_TYPE, seam22Settings, TYPE_EAR);
+ // TODO: Remove it
+ try {
+ System.in.read();
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
}
\ No newline at end of file
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateForms.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateForms.java 2010-02-18
08:23:56 UTC (rev 20347)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateForms.java 2010-02-18
08:32:50 UTC (rev 20348)
@@ -10,7 +10,7 @@
createSeamUnit(TEST_TYPE, seam12Settings, TYPE_WAR);
}
-/* public void testCreateFormFor12ear(){
+ public void testCreateFormFor12ear(){
createSeamUnit(TEST_TYPE, seam12Settings, TYPE_EAR);
}
@@ -22,12 +22,12 @@
createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_EAR);
}
- public void testCreateFormFor21war(){
- createSeamUnit(TEST_TYPE, seam21Settings, TYPE_WAR);
+ public void testCreateFormFor22war(){
+ createSeamUnit(TEST_TYPE, seam22Settings, TYPE_WAR);
}
- public void testCreateFormFor21ear(){
- createSeamUnit(TEST_TYPE, seam21Settings, TYPE_EAR);
- }*/
+ public void testCreateFormFor22ear(){
+ createSeamUnit(TEST_TYPE, seam22Settings, TYPE_EAR);
+ }
}
\ No newline at end of file
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java 2010-02-18
08:23:56 UTC (rev 20347)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java 2010-02-18
08:32:50 UTC (rev 20348)
@@ -6,43 +6,43 @@
public void testCreateSeamProject12war(){
createSeamProject(seam12Settings, jbossEAPRuntime, TYPE_WAR);
- waitForBlockingJobsAcomplished(180000, BUILDING_WS, VALIDATION +
+ waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam12Settings.getProperty("testProjectName")
+TYPE_WAR, DEPLOY_SOURCE, REG_IN_SERVER);
}
public void testCreateSeamProject12ear(){
createSeamProject(seam12Settings, jbossEAPRuntime, TYPE_EAR);
- waitForBlockingJobsAcomplished(180000, BUILDING_WS, VALIDATION +
+ waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam12Settings.getProperty("testProjectName")
+TYPE_EAR, DEPLOY_SOURCE, REG_IN_SERVER);
}
public void testCreateSeamProject2fpwar(){
createSeamProject(seam2fpSettings, jbossEAPRuntime, TYPE_WAR);
- waitForBlockingJobsAcomplished(180000, BUILDING_WS, VALIDATION +
+ waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam2fpSettings.getProperty("testProjectName")
+TYPE_WAR, DEPLOY_SOURCE, REG_IN_SERVER);
}
public void testCreateSeamProject2fpear(){
createSeamProject(seam2fpSettings, jbossEAPRuntime, TYPE_EAR);
- waitForBlockingJobsAcomplished(180000, BUILDING_WS, VALIDATION +
+ waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
" " + seam2fpSettings.getProperty("testProjectName")
+TYPE_EAR, DEPLOY_SOURCE, REG_IN_SERVER);
}
- public void testCreateSeamProject21war(){
- createSeamProject(seam21Settings, jbossEAPRuntime, TYPE_WAR);
- waitForBlockingJobsAcomplished(180000, BUILDING_WS, VALIDATION +
- " " + seam21Settings.getProperty("testProjectName")
+ public void testCreateSeamProject22war(){
+ createSeamProject(seam22Settings, jbossEAPRuntime, TYPE_WAR);
+ waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
+ " " + seam22Settings.getProperty("testProjectName")
+TYPE_WAR, DEPLOY_SOURCE, REG_IN_SERVER);
}
- public void testCreateSeamProject21ear(){
- createSeamProject(seam21Settings, jbossEAPRuntime, TYPE_EAR);
- waitForBlockingJobsAcomplished(180000, BUILDING_WS, VALIDATION +
- " " + seam21Settings.getProperty("testProjectName")
+ public void testCreateSeamProject22ear(){
+ createSeamProject(seam22Settings, jbossEAPRuntime, TYPE_EAR);
+ waitForBlockingJobsAcomplished(240000, BUILDING_WS, VALIDATION +
+ " " + seam22Settings.getProperty("testProjectName")
+TYPE_EAR, DEPLOY_SOURCE, REG_IN_SERVER);
}
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamRuntimes.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamRuntimes.java 2010-02-18
08:23:56 UTC (rev 20347)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamRuntimes.java 2010-02-18
08:32:50 UTC (rev 20348)
@@ -12,7 +12,7 @@
createSeamRuntime(seam2fpSettings, SEAM_2FP_SETTINGS_HOME);
}
- public void testCreateSeamRuntime21(){
- createSeamRuntime(seam21Settings, SEAM_21_SETTINGS_HOME);
+ public void testCreateSeamRuntime22(){
+ createSeamRuntime(seam22Settings, SEAM_22_SETTINGS_HOME);
}
}