org.apache.james.smtpserver
Class SMTPServerRemoteDeliveryIntegrationTest

java.lang.Object
  extended by TestCase
      extended by org.apache.james.smtpserver.SMTPServerRemoteDeliveryIntegrationTest

public class SMTPServerRemoteDeliveryIntegrationTest
extends TestCase

Tests the org.apache.james.smtpserver.SMTPServer unit


Constructor Summary
SMTPServerRemoteDeliveryIntegrationTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void test8bitmimeFromStream()
          This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA
 void test8bitmimeFromStreamWith8bitContent()
          This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA
 void test8bitmimeFromStreamWithoutContentTransferEncoding()
          This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA
 void test8bitmimeFromStreamWithoutContentTransferEncodingSentAs8bit()
          This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA
 void test8bitmimeWith8bitmimeDisabledInServer()
          This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA
 void testDeliveryToSelfWithGatewayAndBind()
          This has been created to test javamail 1.4 introduced bug.
 void verifyLastMail(java.lang.String sender, java.lang.String recipient, javax.mail.internet.MimeMessage msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMTPServerRemoteDeliveryIntegrationTest

public SMTPServerRemoteDeliveryIntegrationTest()
Method Detail

verifyLastMail

public void verifyLastMail(java.lang.String sender,
                           java.lang.String recipient,
                           javax.mail.internet.MimeMessage msg)
                    throws java.io.IOException,
                           javax.mail.MessagingException
Throws:
java.io.IOException
javax.mail.MessagingException

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testDeliveryToSelfWithGatewayAndBind

public void testDeliveryToSelfWithGatewayAndBind()
                                          throws java.lang.Exception
This has been created to test javamail 1.4 introduced bug. http://issues.apache.org/jira/browse/JAMES-490

Throws:
java.lang.Exception

test8bitmimeFromStream

public void test8bitmimeFromStream()
                            throws java.lang.Exception
This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA

Throws:
java.lang.Exception

test8bitmimeFromStreamWith8bitContent

public void test8bitmimeFromStreamWith8bitContent()
                                           throws java.lang.Exception
This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA

Throws:
java.lang.Exception

test8bitmimeFromStreamWithoutContentTransferEncoding

public void test8bitmimeFromStreamWithoutContentTransferEncoding()
                                                          throws java.lang.Exception
This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA

Throws:
java.lang.Exception

test8bitmimeFromStreamWithoutContentTransferEncodingSentAs8bit

public void test8bitmimeFromStreamWithoutContentTransferEncodingSentAs8bit()
                                                                    throws java.lang.Exception
This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA

Throws:
java.lang.Exception

test8bitmimeWith8bitmimeDisabledInServer

public void test8bitmimeWith8bitmimeDisabledInServer()
                                              throws java.lang.Exception
This is useful code to run tests on javamail bugs http://issues.apache.org/jira/browse/JAMES-52 This one passes with javamail 1.4.1EA

Throws:
java.lang.Exception


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.