Author: lzoubek(a)redhat.com
Date: 2011-03-11 04:50:01 -0500 (Fri, 11 Mar 2011)
New Revision: 29702
Modified:
branches/3.3.indigo/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java
Log:
fixed SWTBot 2.0.3 compatibility in indigo JBIDE-8554
Modified:
branches/3.3.indigo/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java
===================================================================
---
branches/3.3.indigo/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java 2011-03-11
09:43:44 UTC (rev 29701)
+++
branches/3.3.indigo/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/wtp/WSTestBase.java 2011-03-11
09:50:01 UTC (rev 29702)
@@ -33,6 +33,7 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotCombo;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotScale;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
@@ -119,8 +120,8 @@
wiz.comboBoxWithLabel(
WebServicesWebServiceClient.TEXT_SERVICE_DEFINITION).setText(
wsdlDef);
- SWTBotScaleExt slider = bot.scale();
- slider.setSelection(type);
+ SWTBotScale slider = bot.scale();
+ slider.setValue(type);
selectJbossWSRuntime();
bot.sleep(TIME_1S); // wait for wizard to validate wsdl url and
// enable Finish button
Show replies by date