directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r209231 - /directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java
Date Tue, 05 Jul 2005 06:37:42 GMT
Author: elecharny
Date: Mon Jul  4 23:37:41 2005
New Revision: 209231

URL: http://svn.apache.org/viewcvs?rev=209231&view=rev
Log:
oops, commited a little bit too quickly

Polished the code. 

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=209231&r1=209230&r2=209231&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
Mon Jul  4 23:37:41 2005
@@ -86,7 +86,7 @@
     	
         // Check the decoded BindRequest 
         LdapMessage message = ( ( LdapMessageContainer ) ldapMessageContainer ).getLdapMessage();
-        BindRequest br      = ( BindRequest ) ( message.getProtocolOp() );
+        BindRequest br      = message.getBindRequest();
 
         Assert.assertEquals( 1, message.getMessageId() );
         Assert.assertEquals( 3, br.getVersion() );
@@ -182,7 +182,7 @@
     	
         // Check the decoded BindRequest 
         LdapMessage message = ( ( LdapMessageContainer ) ldapMessageContainer ).getLdapMessage();
-        BindRequest br      = ( BindRequest ) ( message.getProtocolOp() );
+        BindRequest br      = message.getBindRequest();
 
         Assert.assertEquals( 1, message.getMessageId() );
         Assert.assertEquals( 3, br.getVersion() );
@@ -242,7 +242,7 @@
     	
         // Check the decoded BindRequest 
         LdapMessage message = ( ( LdapMessageContainer ) ldapMessageContainer ).getLdapMessage();
-        BindRequest br      = ( BindRequest ) ( message.getProtocolOp() );
+        BindRequest br      = message.getBindRequest();
 
         Assert.assertEquals( 1, message.getMessageId() );
         Assert.assertEquals( 3, br.getVersion() );



Mime
View raw message