directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r345789 - /directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapDNTest.java
Date Sun, 20 Nov 2005 22:37:39 GMT
Author: elecharny
Date: Sun Nov 20 14:37:36 2005
New Revision: 345789

URL: http://svn.apache.org/viewcvs?rev=345789&view=rev
Log:
Fixed the test accordingly to the DNParser modification

Modified:
    directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapDNTest.java

Modified: directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapDNTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapDNTest.java?rev=345789&r1=345788&r2=345789&view=diff
==============================================================================
--- directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapDNTest.java
(original)
+++ directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapDNTest.java
Sun Nov 20 14:37:36 2005
@@ -1047,9 +1047,9 @@
     
     public void testStringParser() throws Exception
     {
-        LdapDN name = DNParser.parse( "CN = Emmanuel  Lécharny" );
+        Name name = new DNParser().parse( "CN = Emmanuel  Lécharny" );
         
-        Assert.assertEquals( "CN = Emmanuel  Lécharny", name.getName() );
+        Assert.assertEquals( "CN = Emmanuel  Lécharny", ((LdapDN)name).getName() );
         Assert.assertEquals( "cn=Emmanuel  Lécharny", name.toString() );
     }
 }



Mime
View raw message