You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2009/10/13 12:27:54 UTC
svn commit: r824671 -
/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/SearchTest.java
Author: seelmann
Date: Tue Oct 13 10:27:54 2009
New Revision: 824671
URL: http://svn.apache.org/viewvc?rev=824671&view=rev
Log:
New Search menu item moved to New sub-menu
Modified:
directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/SearchTest.java
Modified: directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/SearchTest.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/SearchTest.java?rev=824671&r1=824670&r2=824671&view=diff
==============================================================================
--- directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/SearchTest.java (original)
+++ directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/SearchTest.java Tue Oct 13 10:27:54 2009
@@ -94,7 +94,7 @@
// create a search for in connection 1
connectionsTree.select( "SearchTest1" );
SWTBotUtils.selectEntry( bot, browserTree, false, "DIT", "Root DSE", "ou=system" );
- browserTree.contextMenu( "New Search..." ).click();
+ ContextMenuHelper.clickContextMenu( browserTree, "New", "New Search..." );
bot.shell( "Search" );
//SWTBotAssert.assertEnabled( bot.textWithLabel( "Connection:" ) );
//SWTBotAssert.assertText( "SearchTest1", bot.textWithLabel( "Connection:" ) );
@@ -111,10 +111,10 @@
assertEquals( 0, browserConnection2.getSearchManager().getSearches().size() );
// copy/paste the created search from connection 1 to connection 2
- browserTree.contextMenu( "Copy Search" ).click();
+ ContextMenuHelper.clickContextMenu( browserTree, "Copy Search" );
connectionsTree.select( "SearchTest2" );
SWTBotUtils.selectEntry( bot, browserTree, false, "Searches" );
- browserTree.contextMenu( "Paste Search" ).click();
+ ContextMenuHelper.clickContextMenu( browserTree, "Paste Search" );
bot.shell( "Properties for Search all persons" );
//SWTBotAssert.assertNotEnabled( bot.textWithLabel( "Connection:" ) );
//SWTBotAssert.assertText( "SearchTest2", bot.textWithLabel( "Connection:" ) );