org.apache.james.transport.mailets
Class StripAttachmentTest

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

public class StripAttachmentTest
extends junit.framework.TestCase


Constructor Summary
StripAttachmentTest()
           
 
Method Summary
 void testNoAttachment()
           
 void testSimpleAttachment()
           
 void testSimpleAttachment2()
           
 void testSimpleAttachment3()
           
 void testToAndFromAttributes()
           
 java.lang.String toString(java.io.InputStream is)
           
 
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

StripAttachmentTest

public StripAttachmentTest()
Method Detail

testNoAttachment

public void testNoAttachment()

testSimpleAttachment

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

toString

public java.lang.String toString(java.io.InputStream is)
                          throws java.io.IOException
Throws:
java.io.IOException

testSimpleAttachment2

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

testSimpleAttachment3

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

testToAndFromAttributes

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


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