[jbosstools-commits] JBoss Tools SVN: r40859 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Tue May 8 16:16:43 EDT 2012
Author: vpakan at redhat.com
Date: 2012-05-08 16:16:42 -0400 (Tue, 08 May 2012)
New Revision: 40859
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
Log:
Select default profile when creating Server Runtime
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java 2012-05-08 19:54:01 UTC (rev 40858)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java 2012-05-08 20:16:42 UTC (rev 40859)
@@ -874,6 +874,13 @@
bot.textWithLabel(key.toString()).setText(
properties.getProperty((String) (key).toString()));
}
+ // try to select default profile if is available
+ try{
+ bot.table().select("default");
+ } catch (WidgetNotFoundException wnf){
+ // do nothing
+ }
+
if (jreToUse != null) {
bot.comboBox(0).setSelection(jreToUse);
}
More information about the jbosstools-commits
mailing list