directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r924404 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java
Date Wed, 17 Mar 2010 18:30:13 GMT
Author: kayyagari
Date: Wed Mar 17 18:30:12 2010
New Revision: 924404

URL: http://svn.apache.org/viewvc?rev=924404&view=rev
Log:
fixed two dumb mistakes( 1. forgot to add entry 2. wrong search base) DAMN jndi

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

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java?rev=924404&r1=924403&r2=924404&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java
Wed Mar 17 18:30:12 2010
@@ -297,8 +297,9 @@ public class AddingEntriesWithSpecialCha
         Entry entry = getOrgUnitEntry( "semicolon group;" );
         String dn = "ou=semicolon group\\;,ou=system";
         entry.setDn( new DN( dn ) );
+        connection.add( entry );
 
-        Cursor<SearchResponse> cursor = connection.search( "", "(ou=semicolon group;)",
SearchScope.SUBTREE, "*" );
+        Cursor<SearchResponse> cursor = connection.search( "ou=system", "(ou=semicolon
group;)", SearchScope.SUBTREE, "*" );
 
         boolean entryFound = false;
         while ( cursor.next() )



Mime
View raw message