directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1721966 - in /directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name: DnTest.java RdnTest.java
Date Mon, 28 Dec 2015 18:01:37 GMT
Author: elecharny
Date: Mon Dec 28 18:01:36 2015
New Revision: 1721966

URL: http://svn.apache.org/viewvc?rev=1721966&view=rev
Log:
Fixing some warnings

Modified:
    directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/DnTest.java
    directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/RdnTest.java

Modified: directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/DnTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/DnTest.java?rev=1721966&r1=1721965&r2=1721966&view=diff
==============================================================================
--- directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/DnTest.java
(original)
+++ directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/DnTest.java
Mon Dec 28 18:01:36 2015
@@ -2989,4 +2989,11 @@ public class DnTest
 
         assertEquals( "cn=test,ou=apache,ou=org", dn.getName() );
     }
+    
+    
+    @Test
+    public void testRdnStudio() throws LdapInvalidDnException
+    {
+        new Dn( schemaManager, "cn=\\#\\\\\\+\\, \\\"öé\\\",ou=users,ou=system" );
+    }
 }

Modified: directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/RdnTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/RdnTest.java?rev=1721966&r1=1721965&r2=1721966&view=diff
==============================================================================
--- directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/RdnTest.java
(original)
+++ directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/model/name/RdnTest.java
Mon Dec 28 18:01:36 2015
@@ -203,6 +203,6 @@ public class RdnTest
     @Test
     public void testRdnEscapedValue() throws Exception
     {
-        Rdn rdn = new Rdn( schemaManager, "sn=\\46\\65\\72\\72\\79" );
+         new Rdn( schemaManager, "sn=\\46\\65\\72\\72\\79" );
     }
 }



Mime
View raw message