org.apache.james.transport.mailets
Class AddFooterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.james.transport.mailets.AddFooterTest
All Implemented Interfaces:
junit.framework.Test

public class AddFooterTest
extends junit.framework.TestCase

Test encoding issues This test should also be run with the following JVM options to be sure it tests: "-Dfile.encoding=ASCII -Dmail.mime.charset=ANSI_X3.4-1968"


Constructor Summary
AddFooterTest(java.lang.String arg0)
           
 
Method Summary
 java.lang.String debugString(java.lang.String a, java.lang.String charset)
           
 void testAddFooterMimeNestedUnsupportedMultipart()
           
 void testAddFooterMultipartAlternative()
           
 void testAddFooterMultipartRelated()
           
 void testAddFooterTextPlain()
           
 void testAddFooterTextPlainISO8859()
           
 void testUnsupportedEncoding()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddFooterTest

public AddFooterTest(java.lang.String arg0)
              throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException
Method Detail

debugString

public java.lang.String debugString(java.lang.String a,
                                    java.lang.String charset)
                             throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

testAddFooterTextPlain

public void testAddFooterTextPlain()
                            throws javax.mail.MessagingException,
                                   java.io.IOException
Throws:
javax.mail.MessagingException
java.io.IOException

testUnsupportedEncoding

public void testUnsupportedEncoding()
                             throws javax.mail.MessagingException,
                                    java.io.IOException
Throws:
javax.mail.MessagingException
java.io.IOException

testAddFooterMimeNestedUnsupportedMultipart

public void testAddFooterMimeNestedUnsupportedMultipart()
                                                 throws javax.mail.MessagingException,
                                                        java.io.IOException
Throws:
javax.mail.MessagingException
java.io.IOException

testAddFooterMultipartRelated

public void testAddFooterMultipartRelated()
                                   throws javax.mail.MessagingException,
                                          java.io.IOException
Throws:
javax.mail.MessagingException
java.io.IOException

testAddFooterTextPlainISO8859

public void testAddFooterTextPlainISO8859()
                                   throws javax.mail.MessagingException,
                                          java.io.IOException
Throws:
javax.mail.MessagingException
java.io.IOException

testAddFooterMultipartAlternative

public void testAddFooterMultipartAlternative()
                                       throws javax.mail.MessagingException,
                                              java.io.IOException
Throws:
javax.mail.MessagingException
java.io.IOException


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.