directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r888120 - /directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/SearchResultEditorBot.java
Date Mon, 07 Dec 2009 20:21:22 GMT
Author: seelmann
Date: Mon Dec  7 20:21:21 2009
New Revision: 888120

URL: http://svn.apache.org/viewvc?rev=888120&view=rev
Log:
API changes in SWTBot build 433

Modified:
    directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/SearchResultEditorBot.java

Modified: directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/SearchResultEditorBot.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/SearchResultEditorBot.java?rev=888120&r1=888119&r2=888120&view=diff
==============================================================================
--- directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/SearchResultEditorBot.java
(original)
+++ directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/SearchResultEditorBot.java
Mon Dec  7 20:21:21 2009
@@ -31,7 +31,7 @@
 import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
 import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor;
 import org.eclipse.swtbot.swt.finder.SWTBot;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarButton;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarPushButton;
 import org.hamcrest.Matcher;
 
 
@@ -71,9 +71,10 @@
 
     public void refresh()
     {
+        //bot.toolbarButton( "Search Again (F5)" ).click();
         Matcher matcher = allOf( widgetOfType( ToolItem.class ), withTooltip( "Search Again
(F5)" ), withStyle(
             SWT.PUSH, "SWT.PUSH" ) );
-        SWTBotToolbarButton button = new SWTBotToolbarButton( ( ToolItem ) bot.widget( matcher,
0 ), matcher );
+        SWTBotToolbarPushButton button = new SWTBotToolbarPushButton( ( ToolItem ) bot.widget(
matcher, 0 ), matcher );
         button.click();
     }
 



Mime
View raw message