org.apache.james.core
Class MailTestAllImplementations
java.lang.Object
TestCase
org.apache.james.core.MailTestAllImplementations
- Direct Known Subclasses:
- MailImplTest
public abstract class MailTestAllImplementations
- extends TestCase
testing common behavior of Mail implementors. subclasses automatically get their Mail-behavior tested.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailTestAllImplementations
public MailTestAllImplementations()
createMailImplementation
protected abstract org.apache.mailet.Mail createMailImplementation()
- provide the concrete implementation to test
helperTestInitialState
protected void helperTestInitialState(org.apache.mailet.Mail mail)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
helperTestMessageSize
protected void helperTestMessageSize(org.apache.mailet.Mail mail,
int expectedMsgSize)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
testAttributes
public void testAttributes()
Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.