directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r267373 - /directory/shared/ldap/branches/new-codec-integration/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/encoder/compare/CompareRequestEncoderTest.java
Date Sat, 03 Sep 2005 01:19:12 GMT
Author: elecharny
Date: Fri Sep  2 18:19:06 2005
New Revision: 267373

URL: http://svn.apache.org/viewcvs?rev=267373&view=rev
Log:
As we must store byte[] instead on String in attribute values, changed the code accordingly

Modified:
    directory/shared/ldap/branches/new-codec-integration/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/encoder/compare/CompareRequestEncoderTest.java

Modified: directory/shared/ldap/branches/new-codec-integration/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/encoder/compare/CompareRequestEncoderTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/encoder/compare/CompareRequestEncoderTest.java?rev=267373&r1=267372&r2=267373&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/encoder/compare/CompareRequestEncoderTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/encoder/compare/CompareRequestEncoderTest.java
Fri Sep  2 18:19:06 2005
@@ -40,7 +40,7 @@
         CompareRequestImpl req = new CompareRequestImpl( 444 );
         req.setName( "dc=apache,dc=org" );
         req.setAttributeId( "dc" );
-        req.setAssertionValue( "apache.org" );
+        req.setAssertionValue( "apache.org".getBytes() );
 
         byte[] expected = new byte[] {0x30, 0x2A, 0x02, 0x02, 0x01, 0xFFFFFFBC, 0x6E, 0x24,
0x04, 0x10, 0x64, 0x63, 0x3D, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2C, 0x64, 0x63, 0x3D,
0x6F, 0x72, 0x67, 0x30, 0x10, 0x04, 0x02, 0x64, 0x63, 0x04, 0x0A, 0x61, 0x70, 0x61, 0x63,
0x68, 0x65, 0x2E, 0x6F, 0x72, 0x67};
 



Mime
View raw message