|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.james.core.MailTestAllImplementations
public abstract class MailTestAllImplementations
testing common behavior of Mail implementors. subclasses automatically get their Mail-behavior tested.
Constructor Summary | |
---|---|
MailTestAllImplementations()
|
Method Summary | |
---|---|
protected abstract Mail |
createMailImplementation()
provide the concrete implementation to test |
protected void |
helperTestInitialState(Mail mail)
|
protected void |
helperTestMessageSize(Mail mail,
int expectedMsgSize)
|
void |
testAttributes()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 MailTestAllImplementations()
Method Detail |
---|
protected abstract Mail createMailImplementation()
protected void helperTestInitialState(Mail mail) throws javax.mail.MessagingException
javax.mail.MessagingException
protected void helperTestMessageSize(Mail mail, int expectedMsgSize) throws javax.mail.MessagingException
javax.mail.MessagingException
public void testAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |