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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to