commits@directory.apache.org
[Top] [All Lists]

svn commit: r209137 - /directory/sandbox/trunk/asn1-new-codec/src/test/o

Subject: svn commit: r209137 - /directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AbandonRequestTest.java
From:
Date: Mon, 04 Jul 2005 22:37:24 -0000
Author: elecharny
Date: Mon Jul  4 15:37:22 2005
New Revision: 209137

URL: http://svn.apache.org/viewcvs?rev=209137&view=rev
Log:
- Polished the code
- Added a test on the message ID

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

Modified: 
directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AbandonRequestTest.java
URL: 
http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AbandonRequestTest.java?rev=209137&r1=209136&r2=209137&view=diff
==============================================================================
--- 
directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AbandonRequestTest.java
 (original)
+++ 
directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AbandonRequestTest.java
 Mon Jul  4 15:37:22 2005
@@ -78,7 +78,7 @@
        
         // Check that everything is OK
         LdapMessage message = ( ( LdapMessageContainer ) ldapMessageContainer 
).getLdapMessage();
-        AbandonRequest abandonRequest = ( AbandonRequest ) ( 
message.getProtocolOp() );
+        AbandonRequest abandonRequest = message.getAbandonRequest();
 
         Assert.assertEquals( 3, message.getMessageId() );
         Assert.assertEquals( 2, abandonRequest.getMessageId() );


<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: r209137 - /directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AbandonRequestTest.java, elecharny <=