directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r541447 - /directory/shared/branches/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/codec/add/AddRequestTest.java
Date Thu, 24 May 2007 22:05:12 GMT
Author: elecharny
Date: Thu May 24 15:05:11 2007
New Revision: 541447

URL: http://svn.apache.org/viewvc?view=rev&rev=541447
Log:
Removed a part of a test (comparizon between initial and encoded value), because 
it depends on the order of values in the Attributes object.

Modified:
    directory/shared/branches/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/codec/add/AddRequestTest.java

Modified: directory/shared/branches/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/codec/add/AddRequestTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/codec/add/AddRequestTest.java?view=diff&rev=541447&r1=541446&r2=541447
==============================================================================
--- directory/shared/branches/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/codec/add/AddRequestTest.java
(original)
+++ directory/shared/branches/0.9.5/ldap/src/test/java/org/apache/directory/shared/ldap/codec/add/AddRequestTest.java
Thu May 24 15:05:11 2007
@@ -172,21 +172,6 @@
 
         // Check the length
         assertEquals( 0x59, message.computeLength() );
-
-        // Check the encoding
-        try
-        {
-            ByteBuffer bb = message.encode( null );
-
-            String encodedPdu = StringTools.dumpBytes( bb.array() );
-
-            assertEquals( encodedPdu, decodedPdu );
-        }
-        catch ( EncoderException ee )
-        {
-            ee.printStackTrace();
-            fail( ee.getMessage() );
-        }
     }
 
 



Mime
View raw message