|
||||||||||
| 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.olat.core.test.OlatTestCase
org.olat.core.util.mail.MailTest
public class MailTest
| Constructor Summary | |
|---|---|
MailTest(java.lang.String arg0)
|
|
| Method Summary | |
|---|---|
void |
setUp()
SetUp is called before each test. |
static junit.framework.TestSuite |
suite()
|
void |
tearDown()
TearDown is called after each test. |
void |
testMailAttachments()
Test for the mail template and the context variable methods |
void |
testMailAttachmentsInvalid()
Test for the mail template and the context variable methods |
void |
testMailerResult()
Test for the mailer result codes |
void |
testMailToCcBccForEach()
Test for the mail template and the context variable methods |
void |
testMailToCcBccTogether()
Test for the mail template and the context variable methods |
void |
testValidEmailAddresses()
Test the email addres validator |
void |
testVelocityTemplate()
this is more a playground method to understand the evaluate method than a rela testcase |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, getName, run, run, runBare, 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MailTest(java.lang.String arg0)
| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCase
public void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testValidEmailAddresses()
public void testVelocityTemplate()
public void testMailToCcBccForEach()
public void testMailToCcBccTogether()
public void testMailAttachments()
public void testMailAttachmentsInvalid()
public void testMailerResult()
public static junit.framework.TestSuite suite()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||