org.cert.cc.jira.email.handler
Class MessageConverterTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.cert.cc.jira.email.handler.MessageConverterTestCase
All Implemented Interfaces:
junit.framework.Test

public final class MessageConverterTestCase
extends junit.framework.TestCase


Constructor Summary
MessageConverterTestCase()
           
 
Method Summary
protected  void setUp()
           
 void testBinarySignedEncryptedAttachment()
           
 void testEncryptedFileAttachment()
           
 void testHasAttachments()
           
 void testIsPlainText()
           
 void testPGP()
           
 void testPGPMIME()
           
 void testPGPWithEncryptedAttachments()
           
 void testPGPWithUnencryptedAttachments()
           
 void testSignedEmail()
           
 void testSMIME()
           
 void testSMIMESignedAndEncrypted()
           
 void testSMIMEWithAttachments()
           
 void testSMIMEWithMultipleAttachments()
           
 void testSMIMEWithMultipleAttachmentsFromOutlook()
           
 void testSMIMEWithMultipleToAddresses()
           
 void testSMIMEWithMultipleToAddressesWithBadAddressFirst()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageConverterTestCase

public MessageConverterTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testIsPlainText

public void testIsPlainText()
                     throws Exception
Throws:
Exception

testHasAttachments

public void testHasAttachments()
                        throws Exception
Throws:
Exception

testSMIME

public void testSMIME()
               throws Exception
Throws:
Exception

testSMIMEWithMultipleToAddresses

public void testSMIMEWithMultipleToAddresses()
                                      throws Exception
Throws:
Exception

testSMIMEWithMultipleToAddressesWithBadAddressFirst

public void testSMIMEWithMultipleToAddressesWithBadAddressFirst()
                                                         throws Exception
Throws:
Exception

testPGP

public void testPGP()
             throws Exception
Throws:
Exception

testSignedEmail

public void testSignedEmail()
                     throws Exception
Throws:
Exception

testEncryptedFileAttachment

public void testEncryptedFileAttachment()
                                 throws Exception
Throws:
Exception

testSMIMEWithAttachments

public void testSMIMEWithAttachments()
                              throws Exception
Throws:
Exception

testSMIMEWithMultipleAttachments

public void testSMIMEWithMultipleAttachments()
                                      throws Exception
Throws:
Exception

testSMIMEWithMultipleAttachmentsFromOutlook

public void testSMIMEWithMultipleAttachmentsFromOutlook()
                                                 throws Exception
Throws:
Exception

testSMIMESignedAndEncrypted

public void testSMIMESignedAndEncrypted()
                                 throws Exception
Throws:
Exception

testBinarySignedEncryptedAttachment

public void testBinarySignedEncryptedAttachment()
                                         throws Exception
Throws:
Exception

testPGPWithUnencryptedAttachments

public void testPGPWithUnencryptedAttachments()
                                       throws Exception
Throws:
Exception

testPGPWithEncryptedAttachments

public void testPGPWithEncryptedAttachments()
                                     throws Exception
Throws:
Exception

testPGPMIME

public void testPGPMIME()
                 throws Exception
Throws:
Exception


Copyright © 2012 Carnegie Mellon University