directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1395468 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/ldapsdk/AddIT.java
Date Mon, 08 Oct 2012 08:39:24 GMT
Author: elecharny
Date: Mon Oct  8 08:39:23 2012
New Revision: 1395468

URL: http://svn.apache.org/viewvc?rev=1395468&view=rev
Log:
Fixed the AddIT tests from ldapsdk

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

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/ldapsdk/AddIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/ldapsdk/AddIT.java?rev=1395468&r1=1395467&r2=1395468&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/ldapsdk/AddIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/ldapsdk/AddIT.java
Mon Oct  8 08:39:23 2012
@@ -992,7 +992,7 @@ public class AddIT extends AbstractLdapT
 
         assertEquals( 2, cn.size() );
         String[] expectedCns =
-            { "Jackson", "michael" };
+            { "Jackson", "Michael" };
 
         for ( String name : expectedCns )
         {
@@ -1087,7 +1087,7 @@ public class AddIT extends AbstractLdapT
 
         assertEquals( 2, cn.size() );
         assertTrue( cn.contains( "Jackson" ) );
-        assertTrue( cn.contains( "michael" ) );
+        assertTrue( cn.contains( "Michael" ) );
     }
 
 
@@ -1259,7 +1259,7 @@ public class AddIT extends AbstractLdapT
         javax.naming.directory.Attribute cnAttribute = res.next().getAttributes().get( "cn"
);
         assertEquals( 2, cnAttribute.size() );
         assertTrue( cnAttribute.contains( "Tori,Amos" ) );
-        assertTrue( cnAttribute.contains( "amos,tori" ) );
+        assertTrue( cnAttribute.contains( "Amos,Tori" ) );
         assertFalse( res.hasMore() );
 
         // search for the implicit added userPassword



Mime
View raw message