directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r679049 - /directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/ModifyRdnTest.java
Date Wed, 23 Jul 2008 09:43:19 GMT
Author: elecharny
Date: Wed Jul 23 02:43:18 2008
New Revision: 679049

URL: http://svn.apache.org/viewvc?rev=679049&view=rev
Log:
Fixed a bug in a test : bad comparison on a returned value and the expected value

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

Modified: directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/ModifyRdnTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/ModifyRdnTest.java?rev=679049&r1=679048&r2=679049&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/ModifyRdnTest.java
(original)
+++ directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/ModifyRdnTest.java
Wed Jul 23 02:43:18 2008
@@ -529,7 +529,7 @@
         // Check that cn contains the unescaped value
         Attribute cn = newCtx.getAttributes( "" ).get( "cn" );
         assertEquals( "Number of cn occurences", 1, cn.size() );
-        assertTrue( cn.contains( "\\C3\\A4\\+" ) );
+        assertTrue( cn.contains( newCnEscapedVal ) );
 
         // Remove entry (use new rdn)
         ctx.unbind( newRdn );



Mime
View raw message