directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r209129 - /directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java
Date Mon, 04 Jul 2005 21:42:31 GMT
Author: elecharny
Date: Mon Jul  4 14:42:30 2005
New Revision: 209129

URL: http://svn.apache.org/viewcvs?rev=209129&view=rev
Log:
- polished the Javadoc

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java?rev=209129&r1=209128&r2=209129&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java
Mon Jul  4 14:42:30 2005
@@ -87,9 +87,10 @@
 
         stream.flip();
 
-        // Allocate a ModifyRequest Container
+        // Allocate a LdapMessage Container
         IAsn1Container ldapMessageContainer = new LdapMessageContainer();
 
+        // Decode a AddRequest message
         try
         {
             ldapDecoder.decode( stream, ldapMessageContainer );
@@ -103,6 +104,7 @@
         LdapMessage message = ( ( LdapMessageContainer ) ldapMessageContainer ).getLdapMessage();
         AddRequest addRequest      = message.getAddRequest();
 
+        // Check the decoded message
         Assert.assertEquals( 1, message.getMessageId() );
         Assert.assertEquals( "cn=testModify, ou=users, ou=system", addRequest.getEntry()
);
 
@@ -158,6 +160,5 @@
 	        
 	        vals.remove( value.toString() );
 	    }
-
     }
 }



Mime
View raw message