You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/03/17 19:30:13 UTC
svn commit: r924404 -
/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java
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() )