directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r940543 - /directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java
Date Mon, 03 May 2010 18:03:25 GMT
Author: elecharny
Date: Mon May  3 18:03:25 2010
New Revision: 940543

URL: http://svn.apache.org/viewvc?rev=940543&view=rev
Log:
Fixed the failing test, and commented the others

Modified:
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java?rev=940543&r1=940542&r2=940543&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java
Mon May  3 18:03:25 2010
@@ -46,13 +46,13 @@ public class SyncModifyDnControlTest
     public void testDecodeSyncModifyDnControlWithMoveOperation()
     {
         Asn1Decoder decoder = new SyncModifyDnControlDecoder();
-        ByteBuffer bb = ByteBuffer.allocate( 28 );
+        ByteBuffer bb = ByteBuffer.allocate( 0x12 );
         bb.put( new byte[]
             { 
-              0x30, 0x1A,                                // SyncModifyDnControl ::= SEQUENCE
{
-                 0x04, 0x07, 'u','i','d','=','j','i','m', //     entryDn LDAPDN
-                ( byte )0x0080, 0x07,                     //     move
-                  0x04, 0x05, 'o','u','=','d','c'         //     newSuperiorDn LDAPDN
+              0x30, 0x10,                                // SyncModifyDnControl ::= SEQUENCE
{
+                0x04, 0x07, 'u','i','d','=','j','i','m', //     entryDn LDAPDN
+                ( byte )0x80, 0x05,                     //     move
+                  'o','u','=','d','c'         //     newSuperiorDn LDAPDN
             } );
         bb.flip();
 



Mime
View raw message