|
||||||||||
| 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.appfuse.util.MailUtilTest
Tests the methods in MailUtil class
| Constructor Summary | |
MailUtilTest(String name)
Constructor |
|
| Method Summary | |
static void |
main(String[] args)
main method |
protected void |
setUp()
load resources and setup values |
void |
testSendHTMLMessage()
Sends an html-based e-mail |
void |
testSendMessage()
|
void |
testSendMessageWithAttachment()
|
void |
testSendTextMessage()
Sends a text-based e-mail |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MailUtilTest(String name)
name - name of test| Method Detail |
public static void main(String[] args)
args - any arguments for this test
protected void setUp()
throws Exception
Exception - an exception
public void testSendTextMessage()
throws Exception
Exception
public void testSendHTMLMessage()
throws Exception
Exception
public void testSendMessage()
throws Exception
Exception
public void testSendMessageWithAttachment()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||