directory-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=888112&view=rev
Log:
o Removed useless imports
o Get actual name from connection object

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=888112&r1=888111&r2=888112&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
Mon Dec  7 20:07:59 2009
@@ -24,13 +24,6 @@
 import static junit.framework.Assert.assertEquals;
 import static junit.framework.Assert.assertFalse;
 import static junit.framework.Assert.assertTrue;
-import static org.apache.directory.server.integ.ServerIntegrationUtils.getWiredContext;
-
-import javax.naming.directory.Attribute;
-import javax.naming.directory.Attributes;
-import javax.naming.directory.BasicAttribute;
-import javax.naming.directory.DirContext;
-import javax.naming.directory.ModificationItem;
 
 import org.apache.directory.server.core.entry.DefaultServerEntry;
 import org.apache.directory.server.core.entry.ServerEntry;
@@ -357,7 +350,7 @@
         assertTrue( referralDialogBot.isVisible() );
 
         // follow referral, click ok button
-        referralDialogBot.selectConnection( "NewEntryWizardTest" );
+        referralDialogBot.selectConnection( connection.getName() );
         referralDialogBot.clickOkButton();
 
         // check entry was created under referral target entry



Mime
View raw message