Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 12305 invoked from network); 21 Aug 2006 22:02:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Aug 2006 22:02:58 -0000 Received: (qmail 16187 invoked by uid 500); 21 Aug 2006 22:02:58 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 16128 invoked by uid 500); 21 Aug 2006 22:02:58 -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 16117 invoked by uid 99); 21 Aug 2006 22:02:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 15:02:58 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 15:02:57 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 4847D1A981A; Mon, 21 Aug 2006 15:02:37 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r433389 - /directory/branches/shared/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java Date: Mon, 21 Aug 2006 22:02:36 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060821220237.4847D1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: elecharny Date: Mon Aug 21 15:02:35 2006 New Revision: 433389 URL: http://svn.apache.org/viewvc?rev=433389&view=rev Log: - Renamed DIRSERVER-184 to DIR-184 - fixed the tests where a # in the middle or at the end of a DN was escaped. This was wrong. Modified: directory/branches/shared/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java Modified: directory/branches/shared/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java URL: http://svn.apache.org/viewvc/directory/branches/shared/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java?rev=433389&r1=433388&r2=433389&view=diff ============================================================================== --- directory/branches/shared/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java (original) +++ directory/branches/shared/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java Mon Aug 21 15:02:35 2006 @@ -2519,10 +2519,10 @@ } /** - * Test for DIRSERVER-184 + * Test for DIR-184 * @throws NamingException */ - public void testLeadingAndTrailingSpacesDIRSERVER_184() throws NamingException + public void testLeadingAndTrailingSpacesDIR_184() throws NamingException { LdapDN name = new LdapDN( "dn= \\ four spaces leading and 3 trailing \\ " ); @@ -2531,10 +2531,10 @@ } /** - * Test for DIRSERVER-184 + * Test for DIR-184 * @throws NamingException */ - public void testDIRSERVER_184_1() throws NamingException + public void testDIR_184_1() throws NamingException { try { @@ -2547,10 +2547,10 @@ } /** - * Test for DIRSERVER-184 + * Test for DIR-184 * @throws NamingException */ - public void testDIRSERVER_184_2() throws NamingException + public void testDIR_184_2() throws NamingException { try { @@ -2563,10 +2563,10 @@ } /** - * Test for DIRSERVER-184 + * Test for DIR-184 * @throws NamingException */ - public void testDIRSERVER_184_3() throws NamingException + public void testDIR_184_3() throws NamingException { LdapDN name = new LdapDN( "dn=\\# a leading pound" ); @@ -2575,38 +2575,38 @@ } /** - * Test for DIRSERVER-184 + * Test for DIR-184 * @throws NamingException */ - public void testDIRSERVER_184_4() throws NamingException + public void testDIR_184_4() throws NamingException { - LdapDN name = new LdapDN( "dn=a middle \\# pound" ); + LdapDN name = new LdapDN( "dn=a middle # pound" ); Assert.assertEquals( "dn=a middle # pound", name.toString() ); - Assert.assertEquals( "dn=a middle \\# pound", name.getUpName() ); + Assert.assertEquals( "dn=a middle # pound", name.getUpName() ); } /** - * Test for DIRSERVER-184 + * Test for DIR-184 * @throws NamingException */ - public void testDIRSERVER_184_5() throws NamingException + public void testDIR_184_5() throws NamingException { - LdapDN name = new LdapDN( "dn=a trailing pound \\#" ); + LdapDN name = new LdapDN( "dn=a trailing pound #" ); Assert.assertEquals( "dn=a trailing pound #", name.toString() ); - Assert.assertEquals( "dn=a trailing pound \\#", name.getUpName() ); + Assert.assertEquals( "dn=a trailing pound #", name.getUpName() ); } /** - * Test for DIRSERVER-184 + * Test for DIR-184 * @throws NamingException */ - public void testDIRSERVER_184_6() throws NamingException + public void testDIR_184_6() throws NamingException { try { - new LdapDN( "dn=a middle # pound" ); + new LdapDN( "dn=a middle \\# pound" ); } catch ( InvalidNameException ine ) { @@ -2615,14 +2615,14 @@ } /** - * Test for DIRSERVER-184 + * Test for DIR-184 * @throws NamingException */ - public void testDIRSERVER_184_7() throws NamingException + public void testDIR_184_7() throws NamingException { try { - new LdapDN( "dn=a trailing pound #" ); + new LdapDN( "dn=a trailing pound \\#" ); } catch ( InvalidNameException ine ) {