directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r882338 - in /directory/studio/trunk/test-integration-ui/src/main: java/org/apache/directory/studio/test/integration/ui/BrowserTest.java resources/org/apache/directory/studio/test/integration/ui/BrowserTest.ldif
Date Thu, 19 Nov 2009 22:31:30 GMT
Author: seelmann
Date: Thu Nov 19 22:31:29 2009
New Revision: 882338

URL: http://svn.apache.org/viewvc?rev=882338&view=rev
Log:
Tests for DIRSTUDIO-589, DIRSTUDIO-591 (Sharp # in DN)

Modified:
    directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/BrowserTest.java
    directory/studio/trunk/test-integration-ui/src/main/resources/org/apache/directory/studio/test/integration/ui/BrowserTest.ldif

Modified: directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/BrowserTest.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/BrowserTest.java?rev=882338&r1=882337&r2=882338&view=diff
==============================================================================
--- directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/BrowserTest.java
(original)
+++ directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/BrowserTest.java
Thu Nov 19 22:31:29 2009
@@ -402,4 +402,18 @@
         assertFalse( browserViewBot.existsEntry( "DIT", "Root DSE", "ou=system", url, "cn=refresh"
) );
     }
 
+
+    /**
+     * Test for DIRSTUDIO-591.
+     * (Error reading objects with # in DN)
+     *
+     * @throws Exception
+     */
+    @Test
+    public void testBrowseDnWithSharpAndHexSequence() throws Exception
+    {
+        assertTrue( browserViewBot.existsEntry( "DIT", "Root DSE", "ou=system", "ou=users",
+            "cn=\\#ACL_AD-Projects_Author" ) );
+        browserViewBot.selectEntry( "DIT", "Root DSE", "ou=system", "ou=users", "cn=\\#ACL_AD-Projects_Author"
);
+    }
 }

Modified: directory/studio/trunk/test-integration-ui/src/main/resources/org/apache/directory/studio/test/integration/ui/BrowserTest.ldif
URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/src/main/resources/org/apache/directory/studio/test/integration/ui/BrowserTest.ldif?rev=882338&r1=882337&r2=882338&view=diff
==============================================================================
--- directory/studio/trunk/test-integration-ui/src/main/resources/org/apache/directory/studio/test/integration/ui/BrowserTest.ldif
(original)
+++ directory/studio/trunk/test-integration-ui/src/main/resources/org/apache/directory/studio/test/integration/ui/BrowserTest.ldif
Thu Nov 19 22:31:29 2009
@@ -197,3 +197,10 @@
 postalAddress: Abahri Abazari$81023 River Street$Monroe, SD  51865
 description: This is the description for Abahri Abazari.
 roomNumber: 1963
+
+dn: cn=\#ACL_AD-Projects_Author,ou=users,ou=system
+objectClass: top
+objectClass: person
+cn: #ACL_AD-Projects_Author
+sn: #ACL_AD-Projects_Author
+



Mime
View raw message