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 2008/07/14 08:21:13 UTC
svn commit: r676491 -
/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewEntryWizardTest.java
Author: seelmann
Date: Sun Jul 13 23:21:12 2008
New Revision: 676491
URL: http://svn.apache.org/viewvc?rev=676491&view=rev
Log:
Fixed tests under windows
Modified:
directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewEntryWizardTest.java
Modified: directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewEntryWizardTest.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewEntryWizardTest.java?rev=676491&r1=676490&r2=676491&view=diff
==============================================================================
--- directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewEntryWizardTest.java (original)
+++ directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/NewEntryWizardTest.java Sun Jul 13 23:21:12 2008
@@ -68,7 +68,9 @@
public void testCreateOrganizationEntry() throws Exception
{
final SWTBotTree browserTree = SWTBotUtils.getLdapBrowserTree( bot );
- SWTBotUtils.selectNode( bot, browserTree, "DIT", "Root DSE", "ou=system" );
+ SWTBotTreeItem systemNode = SWTBotUtils.selectNode( bot, browserTree, "DIT", "Root DSE", "ou=system" );
+ systemNode.expand();
+ systemNode.expand();
// open "New Entry" wizard
SWTBotMenu contextMenu = browserTree.contextMenu( "New Entry..." );
@@ -133,7 +135,9 @@
public void testCreatePersonEntry() throws Exception
{
final SWTBotTree browserTree = SWTBotUtils.getLdapBrowserTree( bot );
- SWTBotUtils.selectNode( bot, browserTree, "DIT", "Root DSE", "ou=system" );
+ SWTBotTreeItem systemNode = SWTBotUtils.selectNode( bot, browserTree, "DIT", "Root DSE", "ou=system" );
+ systemNode.expand();
+ systemNode.expand();
// open "New Entry" wizard
SWTBotMenu contextMenu = browserTree.contextMenu( "New Entry..." );
@@ -209,7 +213,9 @@
public void testCreateUpperCaseOrganizationEntries() throws Exception
{
final SWTBotTree browserTree = SWTBotUtils.getLdapBrowserTree( bot );
- SWTBotUtils.selectNode( bot, browserTree, "DIT", "Root DSE", "ou=system" );
+ SWTBotTreeItem systemNode = SWTBotUtils.selectNode( bot, browserTree, "DIT", "Root DSE", "ou=system" );
+ systemNode.expand();
+ systemNode.expand();
// open "New Entry" wizard
SWTBotMenu contextMenu = browserTree.contextMenu( "New Entry..." );