directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r208976 - /directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java
Date Sun, 03 Jul 2005 21:39:15 GMT
Author: elecharny
Date: Sun Jul  3 14:39:14 2005
New Revision: 208976

URL: http://svn.apache.org/viewcvs?rev=208976&view=rev
Log:
The simple authentication element has been changed from a byte[] to anOctetString, so the
test reflect this change

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java?rev=208976&r1=208975&r2=208976&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java
Sun Jul  3 14:39:14 2005
@@ -90,7 +90,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", new String(( ( SimpleAuthentication ) br.getAuthentication()
).getSimple()) );
+        Assert.assertEquals( "[70][61][73][73][77][6F][72][64]", ( ( SimpleAuthentication
) br.getAuthentication() ).getSimple().toString() );
     }
 
     /**



Mime
View raw message