Class TestMailImageAttachments

All Implemented Interfaces:
FunctTestConstants

public class TestMailImageAttachments extends EmailBaseFuncTestCase
  • Field Details

    • prepareAttachmentsRule

      public org.junit.rules.TestRule prepareAttachmentsRule
  • Constructor Details

    • TestMailImageAttachments

      public TestMailImageAttachments()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • testEachImageAttachmentIsVisible

      public void testEachImageAttachmentIsVisible() throws Exception
      Throws:
      Exception
    • testImageFromCommentIsAttachedToTheEmail

      public void testImageFromCommentIsAttachedToTheEmail() throws Exception
      Throws:
      Exception
    • testImageFromCommentWithMentionIsAttachedToTheEmail

      public void testImageFromCommentWithMentionIsAttachedToTheEmail() throws Exception
      Throws:
      Exception
    • testImageFromCommentIsNotAttachedToTheEmailWhenTheFlagIsOff

      public void testImageFromCommentIsNotAttachedToTheEmailWhenTheFlagIsOff() throws Exception
      Throws:
      Exception
    • assertEmailBodyContainsImageTagWithCID

      public static void assertEmailBodyContainsImageTagWithCID(jakarta.mail.Multipart multipart) throws IOException, jakarta.mail.MessagingException
      Throws:
      IOException
      jakarta.mail.MessagingException