directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1516739 - /directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/api/entry/SchemaAwareEntryTest.java
Date Fri, 23 Aug 2013 08:21:12 GMT
Author: elecharny
Date: Fri Aug 23 08:21:11 2013
New Revision: 1516739

URL: http://svn.apache.org/r1516739
Log:
Testa failing test due to a modification in the Attribute.toString() method

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

Modified: directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/api/entry/SchemaAwareEntryTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/api/entry/SchemaAwareEntryTest.java?rev=1516739&r1=1516738&r2=1516739&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/api/entry/SchemaAwareEntryTest.java
(original)
+++ directory/apacheds/trunk/core-api/src/test/java/org/apache/directory/server/core/api/entry/SchemaAwareEntryTest.java
Fri Aug 23 08:21:11 2013
@@ -3621,7 +3621,7 @@ public class SchemaAwareEntryTest
     {
         Entry entry = new DefaultEntry( schemaManager, EXAMPLE_DN );
 
-        assertEquals( "Entry\n    dn[n]: dc=example,dc=com\n", entry.toString() );
+        assertEquals( "Entry\n    dn[n]: dc=example,dc=com\n\n", entry.toString() );
 
         Value<String> strValueTop = new StringValue( "top" );
         Value<String> strValuePerson = new StringValue( "person" );
@@ -3637,10 +3637,10 @@ public class SchemaAwareEntryTest
             "Entry\n" +
                 "    dn[n]: dc=example,dc=com\n" +
                 "    ObjectClass: top\n" +
-                "    ObjectClass: person\n" +
+                "    ObjectClass: person\n\n" +
                 "    UserPassword: '0x61 0x62 '\n" +
                 "    UserPassword: '0x62 '\n" +
-                "    UserPassword: ''\n";
+                "    UserPassword: ''";
 
         assertEquals( expected, entry.toString() );
     }



Mime
View raw message