directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r593875 - /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
Date Sun, 11 Nov 2007 11:58:15 GMT
Author: elecharny
Date: Sun Nov 11 03:58:15 2007
New Revision: 593875

URL: http://svn.apache.org/viewvc?rev=593875&view=rev
Log:
Fixed a wrong addReqesu() call : the parameters have changed, so I changed the call.

Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java?rev=593875&r1=593874&r2=593875&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
Sun Nov 11 03:58:15 2007
@@ -28,7 +28,6 @@
 import org.apache.directory.shared.ldap.message.AddRequestImpl;
 import org.apache.directory.shared.ldap.name.LdapDN;
 
-import javax.naming.InvalidNameException;
 import javax.naming.NamingException;
 
 
@@ -70,7 +69,7 @@
         AddRequest addRequest = new AddRequestImpl( 0 );
         addRequest.setAttributes( forward.getAttributes() );
         addRequest.setEntry( new LdapDN( forward.getDn() ) );
-        Entry reverse = LdifUtils.reverseAdd( addRequest );
+        Entry reverse = LdifUtils.reverseAdd( addRequest.getEntry() );
         assertEquals( 1, store.log( new LdapPrincipal(), forward, reverse ) );
         assertEquals( 1, store.getCurrentRevision() );
     }



Mime
View raw message