directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r981249 - /directory/apacheds/branches/apacheds-dnfactory-experiment/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java
Date Sun, 01 Aug 2010 15:36:23 GMT
Author: kayyagari
Date: Sun Aug  1 15:36:23 2010
New Revision: 981249

URL: http://svn.apache.org/viewvc?rev=981249&view=rev
Log:
o fixed the normalized entry's toString() value

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

Modified: directory/apacheds/branches/apacheds-dnfactory-experiment/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-dnfactory-experiment/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java?rev=981249&r1=981248&r2=981249&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-dnfactory-experiment/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java
(original)
+++ directory/apacheds/branches/apacheds-dnfactory-experiment/core-api/src/test/java/org/apache/directory/server/core/entry/SchemaAwareEntryTest.java
Sun Aug  1 15:36:23 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