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 ba...@apache.org on 2008/07/30 10:30:19 UTC
svn commit: r680938 -
/james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/mailets/AddFooterTest.java
Author: bago
Date: Wed Jul 30 01:30:18 2008
New Revision: 680938
URL: http://svn.apache.org/viewvc?rev=680938&view=rev
Log:
No need to depend on Server's MailImpl, MockMail is good enough.
Modified:
james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/mailets/AddFooterTest.java
Modified: james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/mailets/AddFooterTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/mailets/AddFooterTest.java?rev=680938&r1=680937&r2=680938&view=diff
==============================================================================
--- james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/mailets/AddFooterTest.java (original)
+++ james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/mailets/AddFooterTest.java Wed Jul 30 01:30:18 2008
@@ -19,7 +19,7 @@
package org.apache.james.transport.mailets;
-import org.apache.james.core.MailImpl;
+import org.apache.james.test.mock.mailet.MockMail;
import org.apache.james.test.mock.mailet.MockMailContext;
import org.apache.james.test.mock.mailet.MockMailetConfig;
import org.apache.mailet.Mail;
@@ -293,7 +293,7 @@
mailet.init(mci);
- Mail mail = new MailImpl();
+ Mail mail = new MockMail();
mail.setMessage(new MimeMessage(Session
.getDefaultInstance(new Properties()),
new ByteArrayInputStream(asciisource.getBytes())));
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org