directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r209001 - /directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
Date Sun, 03 Jul 2005 22:36:46 GMT
Author: elecharny
Date: Sun Jul  3 15:36:44 2005
New Revision: 209001

URL: http://svn.apache.org/viewcvs?rev=209001&view=rev
Log:
Changed the test to reflect the change in Simple authentication, simple is
now an OctetString instead of a byte[]

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java?rev=209001&r1=209000&r2=209001&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
Sun Jul  3 15:36:44 2005
@@ -89,7 +89,7 @@
         Assert.assertEquals( 3, br.getVersion() );
         Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", br.getName() );
         Assert.assertEquals( true, ( br.getAuthentication() instanceof SimpleAuthentication
) );
-        Assert.assertEquals( "password", ( ( SimpleAuthentication ) br.getAuthentication()
).getSimple() );
+        Assert.assertEquals( "[70][61][73][73][77][6F][72][64]", ( ( SimpleAuthentication
) br.getAuthentication() ).getSimple().toString() );
     }
 
     /**
@@ -203,7 +203,7 @@
         Assert.assertEquals( 3, br.getVersion() );
         Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", br.getName() );
         Assert.assertEquals( true, ( br.getAuthentication() instanceof SimpleAuthentication
) );
-        Assert.assertEquals( "password", ( ( SimpleAuthentication ) br.getAuthentication()
).getSimple() );
+        Assert.assertEquals( "[70][61][73][73][77][6F][72][64]", ( ( SimpleAuthentication
) br.getAuthentication() ).getSimple().toString() );
     }
 
     /**



Mime
View raw message