org.apache.james.mailrepository
Class AbstractMailRepositoryTest
java.lang.Object
TestCase
org.apache.james.mailrepository.AbstractMailRepositoryTest
- Direct Known Subclasses:
- AvalonMailRepositoryTest, JDBCMailRepositoryTest
public abstract class AbstractMailRepositoryTest
- extends TestCase
Field Summary |
protected org.apache.mailet.Mail |
mail
|
protected org.apache.james.services.MailRepository |
mailRepository
|
protected javax.mail.internet.MimeMessage |
mimeMessage
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mail
protected org.apache.mailet.Mail mail
mailRepository
protected org.apache.james.services.MailRepository mailRepository
mimeMessage
protected javax.mail.internet.MimeMessage mimeMessage
AbstractMailRepositoryTest
public AbstractMailRepositoryTest()
setUp
protected void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
getMailRepository
protected abstract org.apache.james.services.MailRepository getMailRepository()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStoreAndRetrieveMail
public void testStoreAndRetrieveMail()
throws javax.mail.MessagingException,
java.io.IOException
- Throws:
javax.mail.MessagingException
java.io.IOException
testEmptyRepository
public void testEmptyRepository()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
testListMail
public void testListMail()
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
testJames559
public void testJames559()
throws java.lang.Exception
- This test has been written as a proof to:
http://issues.apache.org/jira/browse/JAMES-559
- Throws:
java.lang.Exception
testJames559WithoutSaveChanges
public void testJames559WithoutSaveChanges()
throws java.lang.Exception
- This test has been written as a proof to:
http://issues.apache.org/jira/browse/JAMES-559
- Throws:
java.lang.Exception
Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.