| org.apache.tools.mail.MailMessageTest
MailMessageTest | public class MailMessageTest extends TestCase (Code) | | JUnit 3 testcases for org.apache.tools.mail.MailMessage.
since: Ant 1.6 |
Method Summary | |
public void | setUp() | public void | testAPIExample() Test an example that is similar to the one given in the API
If this testcase takes >90s to complete, it is very likely that
the two threads are blocked waiting for each other and Thread.join()
timed out. | public void | testAsciiCharset() Test a MailMessage with US-ASCII character set
The next four testcase can be kinda hard to debug as Ant will often
print the junit failure in US-ASCII. | public void | testBccOnly() | public void | testCcOnly() | public void | testEmptyBody() | public void | testNoSubject() | public void | testToOnly() |
setUp | public void setUp()(Code) | | |
testAPIExample | public void testAPIExample()(Code) | | Test an example that is similar to the one given in the API
If this testcase takes >90s to complete, it is very likely that
the two threads are blocked waiting for each other and Thread.join()
timed out.
|
testAsciiCharset | public void testAsciiCharset()(Code) | | Test a MailMessage with US-ASCII character set
The next four testcase can be kinda hard to debug as Ant will often
print the junit failure in US-ASCII.
|
testBccOnly | public void testBccOnly()(Code) | | Test a MailMessage with no to or cc lines
|
testCcOnly | public void testCcOnly()(Code) | | Test a MailMessage with no to or bcc lines
|
testEmptyBody | public void testEmptyBody()(Code) | | Test a MailMessage with empty body message
|
testNoSubject | public void testNoSubject()(Code) | | Test a MailMessage with no subject line
Subject is an optional field (RFC 822 s4.1)
|
testToOnly | public void testToOnly()(Code) | | Test a MailMessage with no cc or bcc lines
|
|
|