directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r437331 - /directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java
Date Sun, 27 Aug 2006 08:10:32 GMT
Author: elecharny
Date: Sun Aug 27 01:10:32 2006
New Revision: 437331

URL: http://svn.apache.org/viewvc?rev=437331&view=rev
Log:
Uncommented the failing test, it has been fixed 

Modified:
    directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java

Modified: directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java?rev=437331&r1=437330&r2=437331&view=diff
==============================================================================
--- directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java
(original)
+++ directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java
Sun Aug 27 01:10:32 2006
@@ -123,11 +123,11 @@
         // as a String value.  I see the value sent to the SearchHandler of the
         // filter to be a String looking like: "[B@17210a5".
         
-//        enm = ctx.search( "", "(userCertificate={0})", new Object[] {certData}, controls
);
-//        assertTrue( enm.hasMore() );
-//        sr = ( SearchResult ) enm.next();
-//        assertNotNull( sr );
-//        assertFalse( enm.hasMore() );
-//        assertEquals( "cn=Kate Bush", sr.getName() );
+        enm = ctx.search( "", "(userCertificate={0})", new Object[] {certData}, controls
);
+        assertTrue( enm.hasMore() );
+        sr = ( SearchResult ) enm.next();
+        assertNotNull( sr );
+        assertFalse( enm.hasMore() );
+        assertEquals( "cn=Kate Bush", sr.getName() );
     }
 }



Mime
View raw message