Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3665D9A00 for ; Mon, 20 Feb 2012 12:00:08 +0000 (UTC) Received: (qmail 47157 invoked by uid 500); 20 Feb 2012 12:00:08 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 47093 invoked by uid 500); 20 Feb 2012 12:00:07 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 47079 invoked by uid 99); 20 Feb 2012 12:00:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 12:00:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 12:00:06 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9C118238899C for ; Mon, 20 Feb 2012 11:59:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1291221 - /directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/impl/avl/AvlPartitionTest.java Date: Mon, 20 Feb 2012 11:59:46 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120220115946.9C118238899C@eris.apache.org> Author: elecharny Date: Mon Feb 20 11:59:46 2012 New Revision: 1291221 URL: http://svn.apache.org/viewvc?rev=1291221&view=rev Log: Fixed a test Modified: directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/impl/avl/AvlPartitionTest.java Modified: directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/impl/avl/AvlPartitionTest.java URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/impl/avl/AvlPartitionTest.java?rev=1291221&r1=1291220&r2=1291221&view=diff ============================================================================== --- directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/impl/avl/AvlPartitionTest.java (original) +++ directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/impl/avl/AvlPartitionTest.java Mon Feb 20 11:59:46 2012 @@ -637,7 +637,7 @@ public class AvlPartitionTest @Test public void testRenameEscaped() throws Exception { - Dn dn = new Dn( schemaManager, "cn=Pivate Ryan,ou=Engineering,o=Good Times Co." ); + Dn dn = new Dn( schemaManager, "cn=Private Ryan,ou=Engineering,o=Good Times Co." ); DefaultEntry entry = new DefaultEntry( schemaManager, dn ); entry.add( "objectClass", "top", "person", "organizationalPerson" ); entry.add( "ou", "Engineering" ); @@ -656,8 +656,8 @@ public class AvlPartitionTest Long id = partition.getEntryId( dn2 ); assertNotNull( id ); Entry entry2 = partition.lookup( id ); - assertEquals( "Ja\\+es", entry2.get( "sn" ).getString() ); - assertEquals( "ja\\+es", entry2.get( "sn" ).get().getNormValue() ); + assertEquals( "ja+es", entry2.get( "sn" ).getString() ); + assertEquals( "ja+es", entry2.get( "sn" ).get().getNormValue() ); }