directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r437330 - /directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java
Date Sun, 27 Aug 2006 08:09:13 GMT
Author: elecharny
Date: Sun Aug 27 01:09:12 2006
New Revision: 437330

URL: http://svn.apache.org/viewvc?rev=437330&view=rev
Log:
Uncommented the failing test after having fixed it 

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

Modified: directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java?rev=437330&r1=437329&r2=437330&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java
(original)
+++ directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/BinarySearchTest.java
Sun Aug 27 01:09:12 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