directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1415737 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupIT.java
Date Fri, 30 Nov 2012 16:51:51 GMT
Author: elecharny
Date: Fri Nov 30 16:51:50 2012
New Revision: 1415737

URL: http://svn.apache.org/viewvc?rev=1415737&view=rev
Log:
Added a test for RootDSE

Modified:
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupIT.java

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupIT.java?rev=1415737&r1=1415736&r2=1415737&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupIT.java
Fri Nov 30 16:51:50 2012
@@ -74,6 +74,21 @@ public class LookupIT extends AbstractLd
     }
 
     /**
+     * Fetch the RootDSE entry
+     */
+    @Test
+    public void testLookupRootDSE() throws Exception
+    {
+        LdapConnection connection = ServerIntegrationUtils.getAdminConnection( getLdapServer()
);
+        connection.setTimeOut( 0L );
+
+        Entry entry = connection.lookup( "" );
+        assertNotNull( entry );
+
+        connection.close();
+    }
+
+    /**
      * Fetch a non existing entry
      */
     @Test



Mime
View raw message