directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r355237 - /directory/shared/ldap/trunk/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareRequestRuleTest.java
Date Thu, 08 Dec 2005 22:12:05 GMT
Author: elecharny
Date: Thu Dec  8 14:12:00 2005
New Revision: 355237

URL: http://svn.apache.org/viewcvs?rev=355237&view=rev
Log:
Changed the comparizon of the AssertionValue

Modified:
    directory/shared/ldap/trunk/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareRequestRuleTest.java

Modified: directory/shared/ldap/trunk/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareRequestRuleTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareRequestRuleTest.java?rev=355237&r1=355236&r2=355237&view=diff
==============================================================================
--- directory/shared/ldap/trunk/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareRequestRuleTest.java
(original)
+++ directory/shared/ldap/trunk/apache-provider/src/test/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareRequestRuleTest.java
Thu Dec  8 14:12:00 2005
@@ -17,6 +17,8 @@
 package org.apache.ldap.common.berlib.asn1.decoder.compare ;
 
 
+import java.util.Arrays;
+
 import org.apache.ldap.common.berlib.asn1.decoder.testutils.RuleTestCase;
 import org.apache.ldap.common.message.CompareRequest;
 import org.apache.ldap.common.message.CompareRequestImpl;
@@ -41,7 +43,7 @@
         expected.setAssertionValue( "world" ) ;
         expected.setName( "uid=akarasulu,dc=example,dc=com" ) ;
 
-        assertEquals( expected.getAssertionValue(), decoded.getAssertionValue() ) ;
+        assertTrue( Arrays.equals( expected.getAssertionValue(), decoded.getAssertionValue()
) );
         assertEquals( expected.getAttributeId(), decoded.getAttributeId() ) ;
         assertEquals( expected.getName(), decoded.getName() ) ;
         assertEquals( expected.getMessageId(), decoded.getMessageId() ) ;



Mime
View raw message