directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r678961 - /directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SearchITest.java
Date Wed, 23 Jul 2008 00:56:36 GMT
Author: elecharny
Date: Tue Jul 22 17:56:35 2008
New Revision: 678961

URL: http://svn.apache.org/viewvc?rev=678961&view=rev
Log:
o Fixed a bad setup : the 'Heather Nova' was created with a bad CN.
o Fixed a test where we created a second time Heather Nova. Kim Wilde has been created instead...
Works well now :)

Modified:
    directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SearchITest.java

Modified: directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SearchITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SearchITest.java?rev=678961&r1=678960&r2=678961&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SearchITest.java
(original)
+++ directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SearchITest.java
Tue Jul 22 17:56:35 2008
@@ -61,7 +61,7 @@
     private LdapContext ctx;
     private static final String RDN = "cn=Tori Amos";
     private static final String RDN2 = "cn=Rolling-Stones";
-    private static final String HEATHER_RDN = "cn=Heather Graham";
+    private static final String HEATHER_RDN = "cn=Heather Nova";
     private static final String FILTER = "(objectclass=*)";
 
 
@@ -562,15 +562,15 @@
     {
 
         // Create entry
-        Attributes heather = new AttributesImpl();
+        Attributes wilde = new AttributesImpl();
         Attribute ocls = new AttributeImpl( "objectClass" );
         ocls.add( "top" );
         ocls.add( "person" );
-        heather.put( ocls );
-        heather.put( "cn", "Heather Nova" );
-        heather.put( "sn", "Nova" );
-        String rdn = "cn=Heather Nova";
-        ctx.createSubcontext( rdn, heather );
+        wilde.put( ocls );
+        wilde.put( "cn", "Kim Wilde" );
+        wilde.put( "sn", "Wilde" );
+        String rdn = "cn=Kim Wilde";
+        ctx.createSubcontext( rdn, wilde );
 
         SearchControls ctls = new SearchControls();
         ctls.setSearchScope( SearchControls.OBJECT_SCOPE );



Mime
View raw message