You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/01/18 09:54:48 UTC

svn commit: r900308 - in /james/server/trunk: pop3server-function/src/test/java/org/apache/james/pop3server/ remotemanager-function/src/test/java/org/apache/james/remotemanager/ smtpserver-function/src/test/java/org/apache/james/smtpserver/

Author: norman
Date: Mon Jan 18 08:54:47 2010
New Revision: 900308

URL: http://svn.apache.org/viewvc?rev=900308&view=rev
Log:
Fix async tests ( doh...)

Modified:
    james/server/trunk/pop3server-function/src/test/java/org/apache/james/pop3server/AsyncPOP3ServerTest.java
    james/server/trunk/remotemanager-function/src/test/java/org/apache/james/remotemanager/AsyncRemoteManagerTest.java
    james/server/trunk/smtpserver-function/src/test/java/org/apache/james/smtpserver/AsyncSMTPServerTest.java

Modified: james/server/trunk/pop3server-function/src/test/java/org/apache/james/pop3server/AsyncPOP3ServerTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/pop3server-function/src/test/java/org/apache/james/pop3server/AsyncPOP3ServerTest.java?rev=900308&r1=900307&r2=900308&view=diff
==============================================================================
--- james/server/trunk/pop3server-function/src/test/java/org/apache/james/pop3server/AsyncPOP3ServerTest.java (original)
+++ james/server/trunk/pop3server-function/src/test/java/org/apache/james/pop3server/AsyncPOP3ServerTest.java Mon Jan 18 08:54:47 2010
@@ -21,7 +21,6 @@
 
 import org.apache.commons.logging.impl.SimpleLog;
 import org.apache.james.pop3server.mina.AsyncPOP3Server;
-import org.apache.james.util.ConfigurationAdapter;
 
 public class AsyncPOP3ServerTest extends POP3ServerTest {
 
@@ -43,7 +42,7 @@
 
     protected void finishSetUp(POP3TestConfiguration testConfiguration) throws Exception {
         testConfiguration.init();
-        m_pop3Server.configure(new ConfigurationAdapter(testConfiguration));
+        m_pop3Server.configure(testConfiguration);
         m_pop3Server.init();
     }
 

Modified: james/server/trunk/remotemanager-function/src/test/java/org/apache/james/remotemanager/AsyncRemoteManagerTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/remotemanager-function/src/test/java/org/apache/james/remotemanager/AsyncRemoteManagerTest.java?rev=900308&r1=900307&r2=900308&view=diff
==============================================================================
--- james/server/trunk/remotemanager-function/src/test/java/org/apache/james/remotemanager/AsyncRemoteManagerTest.java (original)
+++ james/server/trunk/remotemanager-function/src/test/java/org/apache/james/remotemanager/AsyncRemoteManagerTest.java Mon Jan 18 08:54:47 2010
@@ -21,7 +21,6 @@
 
 import org.apache.commons.logging.impl.SimpleLog;
 import org.apache.james.remotemanager.mina.AsyncRemoteManager;
-import org.apache.james.util.ConfigurationAdapter;
 
 public class AsyncRemoteManagerTest extends RemoteManagerTest{
 
@@ -44,7 +43,7 @@
 
     protected void finishSetUp(RemoteManagerTestConfiguration testConfiguration) throws Exception {
         testConfiguration.init();
-        remotemanager.configure(new ConfigurationAdapter(testConfiguration));
+        remotemanager.configure(testConfiguration);
         remotemanager.init();
     }
 

Modified: james/server/trunk/smtpserver-function/src/test/java/org/apache/james/smtpserver/AsyncSMTPServerTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/smtpserver-function/src/test/java/org/apache/james/smtpserver/AsyncSMTPServerTest.java?rev=900308&r1=900307&r2=900308&view=diff
==============================================================================
--- james/server/trunk/smtpserver-function/src/test/java/org/apache/james/smtpserver/AsyncSMTPServerTest.java (original)
+++ james/server/trunk/smtpserver-function/src/test/java/org/apache/james/smtpserver/AsyncSMTPServerTest.java Mon Jan 18 08:54:47 2010
@@ -23,7 +23,6 @@
 import org.apache.james.api.kernel.mock.FakeLoader;
 import org.apache.james.smtpserver.integration.SMTPServerDNSServiceAdapter;
 import org.apache.james.smtpserver.mina.AsyncSMTPServer;
-import org.apache.james.util.ConfigurationAdapter;
 
 public class AsyncSMTPServerTest extends SMTPServerTest {
 
@@ -44,7 +43,7 @@
 
     protected void finishSetUp(SMTPTestConfiguration testConfiguration) throws Exception {
         testConfiguration.init();
-        m_smtpServer.configure(new ConfigurationAdapter(testConfiguration));
+        m_smtpServer.configure(testConfiguration);
         m_smtpServer.init();
         m_mailServer.setMaxMessageSizeBytes(m_testConfiguration.getMaxMessageSize()*1024);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org