directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r760258 - /directory/apacheds/branches/apacheds-replication/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java
Date Mon, 30 Mar 2009 23:43:04 GMT
Author: elecharny
Date: Mon Mar 30 23:43:03 2009
New Revision: 760258

URL: http://svn.apache.org/viewvc?rev=760258&view=rev
Log:
Commented the replication configuration file

Modified:
    directory/apacheds/branches/apacheds-replication/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java

Modified: directory/apacheds/branches/apacheds-replication/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java?rev=760258&r1=760257&r2=760258&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java
(original)
+++ directory/apacheds/branches/apacheds-replication/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java
Mon Mar 30 23:43:03 2009
@@ -18,15 +18,13 @@
  */
 package org.apache.directory.server;
 
-import org.apache.directory.mitosis.common.Replica;
-import org.apache.directory.mitosis.configuration.ReplicationConfiguration;
-import org.apache.directory.mitosis.service.ReplicationInterceptor;
 import org.apache.directory.server.configuration.ApacheDS;
 import org.apache.directory.server.core.authn.AuthenticationInterceptor;
 import org.apache.directory.server.core.authn.Authenticator;
 import org.apache.directory.server.core.authn.SimpleAuthenticator;
 import org.apache.directory.server.core.authn.StrongAuthenticator;
 import org.apache.directory.server.core.interceptor.Interceptor;
+import org.apache.directory.server.ldap.replication.SyncreplConfiguration;
 import org.apache.xbean.spring.context.FileSystemXmlApplicationContext;
 import org.junit.Test;
 import org.springframework.context.ApplicationContext;
@@ -115,7 +113,7 @@
     
     /**
      * Test a server.xml with replicationInterceptor validated
-     */
+     *
     @Test
     public void testSpringServerReplicationInterceptor() throws Exception {
         ClassLoader classLoader = this.getClass().getClassLoader();
@@ -142,7 +140,7 @@
         assertNotNull( replicationInterceptor );
         assertNotNull( replicationInterceptor.getConfiguration() );
         
-        ReplicationConfiguration config = replicationInterceptor.getConfiguration();
+        SyncreplConfiguration config = replicationInterceptor.getConfiguration();
         assertEquals( 5, config.getLogMaxAge() );
         assertEquals( "instance_a", config.getReplicaId() );
         assertEquals( 2, config.getReplicationInterval() );



Mime
View raw message