directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r981916 - /directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java
Date Tue, 03 Aug 2010 15:06:58 GMT
Author: kayyagari
Date: Tue Aug  3 15:06:57 2010
New Revision: 981916

URL: http://svn.apache.org/viewvc?rev=981916&view=rev
Log:
o fixed the failing test after updating DefaultEntry to normalize the DN

Modified:
    directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java

Modified: directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java?rev=981916&r1=981915&r2=981916&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java
(original)
+++ directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java
Tue Aug  3 15:06:57 2010
@@ -3898,7 +3898,7 @@ public class SchemaAwareEntryTest
     {
         Entry entry = new DefaultEntry( schemaManager, EXAMPLE_DN );
 
-        assertEquals( "Entry\n    dn: dc=example,dc=com\n", entry.toString() );
+        assertEquals( "Entry\n    dn[n]: dc=example,dc=com\n", entry.toString() );
 
         Value<String> strValueTop = new StringValue( "top" );
         Value<String> strValuePerson = new StringValue( "person" );
@@ -3911,7 +3911,7 @@ public class SchemaAwareEntryTest
         entry.put( "ObjectClass", atOC, strValueTop, strValuePerson, strNullValue );
         entry.put( "UserPassword", atPwd, binValue1, binValue2, binNullValue );
 
-        String expected = "Entry\n" + "    dn: dc=example,dc=com\n" + "    ObjectClass: top\n"
+        String expected = "Entry\n" + "    dn[n]: dc=example,dc=com\n" + "    ObjectClass:
top\n"
             + "    ObjectClass: person\n" + "    ObjectClass: ''\n" + "    UserPassword:
'0x61 0x62 '\n"
             + "    UserPassword: '0x62 '\n" + "    UserPassword: ''\n";
 



Mime
View raw message