|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.subethamail.smtp.test.MessageContentTest
public class MessageContentTest
This class serves as a test case for both Wiser (since it is used internally here) as well as harder to reach code within the SMTP server that tests a roundtrip message through the DATA portion of the SMTP spec.
Field Summary | |
---|---|
static int |
PORT
|
protected javax.mail.Session |
session
|
protected Wiser |
wiser
|
Constructor Summary | |
---|---|
MessageContentTest(java.lang.String name)
|
Method Summary | |
---|---|
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
protected void |
tearDown()
|
void |
testBinaryEightBitMessage()
|
void |
testIso2022JPEightBitMessage()
|
void |
testIso885915EightBitMessage()
|
void |
testIso88591EightBitMessage()
|
void |
testLargeMessage()
|
void |
testMultipleRecipients()
|
void |
testUtf16EightBitMessage()
|
void |
testUtf8EightBitMessage()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Field Detail |
---|
public static final int PORT
protected Wiser wiser
protected javax.mail.Session session
Constructor Detail |
---|
public MessageContentTest(java.lang.String name)
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testMultipleRecipients() throws java.lang.Exception
java.lang.Exception
public void testLargeMessage() throws java.lang.Exception
java.lang.Exception
public void testUtf8EightBitMessage() throws java.lang.Exception
java.lang.Exception
public void testUtf16EightBitMessage() throws java.lang.Exception
java.lang.Exception
public void testIso88591EightBitMessage() throws java.lang.Exception
java.lang.Exception
public void testIso885915EightBitMessage() throws java.lang.Exception
java.lang.Exception
public void testIso2022JPEightBitMessage() throws java.lang.Exception
java.lang.Exception
public void testBinaryEightBitMessage() throws java.lang.Exception
java.lang.Exception
public static junit.framework.Test suite()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |