public class BodyStreamProcessorTests
extends java.lang.Object
Constructor and Description |
---|
BodyStreamProcessorTests() |
Modifier and Type | Method and Description |
---|---|
protected Stream |
openResource(java.lang.String path) |
void |
testDispositionTypeFixed() |
void |
testDispositionTypeFixed2()
When Content-Id is set without CID nor Disposition-Type then we should keep a
NULL disposition type (Linkedin mails).
|
void |
testEmlBuilder() |
void |
testEmptyFromAddress() |
void |
testEncodedContentType() |
void |
testMessageBodyPreview_Attachment() |
void |
testMessageBodyPreview()
MessageBody.preview should not contain HTML nor have more than one
line nor have unnecessary white characters. |
void |
testNonDeliveryReportWithEml() |
void |
testNonDeliveryReportWithHeaders() |
void |
testPleziBM14512() |
void |
testProcess() |
void |
testProcessAttachmentAccent() |
void |
testProcessFeatwebml1562() |
void |
testProcessMessageRFC822() |
void |
testProcessOffice365NDR() |
void |
testProcessRescomEML() |
void |
testReferencesHeader() |
void |
testWorteks195() |
void |
testWrongPartMimeForRoundcubeMessage() |
protected Stream openResource(java.lang.String path) throws java.io.IOException
java.io.IOException
public void testProcess() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testProcessFeatwebml1562() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testProcessRescomEML() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testProcessOffice365NDR() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testProcessMessageRFC822() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testPleziBM14512() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testWorteks195() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testWrongPartMimeForRoundcubeMessage() throws java.lang.Exception
java.lang.Exception
public void testReferencesHeader() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testProcessAttachmentAccent() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testEmlBuilder() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testDispositionTypeFixed() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException, java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
java.io.IOException
public void testDispositionTypeFixed2() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException, java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
java.io.IOException
public void testMessageBodyPreview() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
MessageBody.preview
should not contain HTML nor have more than one
line nor have unnecessary white characters.java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testMessageBodyPreview_Attachment() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testNonDeliveryReportWithEml() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testNonDeliveryReportWithHeaders() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testEmptyFromAddress() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.io.IOException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void testEncodedContentType() throws java.lang.Exception
java.lang.Exception
Copyright © 2021. All Rights Reserved.