directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r721055 - /directory/apacheds/branches/apacheds-mina2/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
Date Thu, 27 Nov 2008 01:02:59 GMT
Author: elecharny
Date: Wed Nov 26 17:02:59 2008
New Revision: 721055

URL: http://svn.apache.org/viewvc?rev=721055&view=rev
Log:
Started to fix DIRSERVER-1231 :

o Modified the ChangeLog interceptor to reflect tests to reflect the modifications done for
this issue

Modified:
    directory/apacheds/branches/apacheds-mina2/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java

Modified: directory/apacheds/branches/apacheds-mina2/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java?rev=721055&r1=721054&r2=721055&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
(original)
+++ directory/apacheds/branches/apacheds-mina2/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
Wed Nov 26 17:02:59 2008
@@ -36,7 +36,7 @@
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.ldif.ChangeType;
 import org.apache.directory.shared.ldap.ldif.LdifEntry;
-import org.apache.directory.shared.ldap.ldif.LdifUtils;
+import org.apache.directory.shared.ldap.ldif.LdifRevertor;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.schema.NoOpNormalizer;
 import org.apache.directory.shared.ldap.schema.OidNormalizer;
@@ -95,7 +95,7 @@
         forward.putAttribute( "objectClass", "organizationalUnit" );
         forward.putAttribute( "ou", "system" );
 
-        LdifEntry reverse = LdifUtils.reverseAdd( new LdapDN( forward.getDn() ) );
+        LdifEntry reverse = LdifRevertor.reverseAdd( new LdapDN( forward.getDn() ) );
         assertEquals( 1, store.log( new LdapPrincipal(), forward, reverse ).getRevision()
);
         assertEquals( 1, store.getCurrentRevision() );
     }
@@ -119,7 +119,7 @@
         LdapDN reverseDn = new LdapDN( forward.getDn() );
         reverseDn.normalize( oidsMap );
 
-        LdifEntry reverse = LdifUtils.reverseAdd( reverseDn );
+        LdifEntry reverse = LdifRevertor.reverseAdd( reverseDn );
 
         String zuluTime = DateUtils.getGeneralizedTime();
         long revision = 1L;



Mime
View raw message