directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
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 GMT
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 )
        {



Mime
View raw message