You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/09/03 12:24:10 UTC

svn commit: r267443 - /directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java

Author: elecharny
Date: Sat Sep  3 03:24:04 2005
New Revision: 267443

URL: http://svn.apache.org/viewcvs?rev=267443&view=rev
Log:
Fixed a bug : the abandonMessageId was not tested correctly

Modified:
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java?rev=267443&r1=267442&r2=267443&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java (original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java Sat Sep  3 03:24:04 2005
@@ -164,7 +164,7 @@
         AbandonRequest abandonRequest = message.getAbandonRequest();
 
         Assert.assertEquals( 3, message.getMessageId() );
-        Assert.assertEquals( 2, abandonRequest.getMessageId() );
+        Assert.assertEquals( 2, abandonRequest.getAbandonedMessageId() );
         
         // Check the length
         Assert.assertEquals(0x4A, message.computeLength());