org.apache.james.services
Class MailServerTestAllImplementations
java.lang.Object
TestCase
org.apache.james.services.MailServerTestAllImplementations
- Direct Known Subclasses:
- JamesTest
public abstract class MailServerTestAllImplementations
- extends TestCase
tests all implementations for interface MailServer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXISTING_USER_NAME
protected static final java.lang.String EXISTING_USER_NAME
- See Also:
- Constant Field Values
MailServerTestAllImplementations
public MailServerTestAllImplementations()
createMailServer
public abstract org.apache.james.services.MailServer createMailServer()
throws org.apache.avalon.framework.service.ServiceException
- Throws:
org.apache.avalon.framework.service.ServiceException
allowsPasswordlessUser
public abstract boolean allowsPasswordlessUser()
canTestUserExists
public abstract boolean canTestUserExists()
- while addUser() is part of MailServer interface, a user cannot be tested for afterwards
at the same time, James allows to do exactly this via isLocalUser(), other implementations
might vary.
isUserExisting
public abstract boolean isUserExisting(org.apache.james.services.MailServer mailServerImpl,
java.lang.String username)
testId
public void testId()
throws org.apache.avalon.framework.service.ServiceException
- Throws:
org.apache.avalon.framework.service.ServiceException
testIdIncrement
public void testIdIncrement()
throws org.apache.avalon.framework.service.ServiceException
- Throws:
org.apache.avalon.framework.service.ServiceException
testAddUser
public void testAddUser()
throws org.apache.avalon.framework.service.ServiceException
- Throws:
org.apache.avalon.framework.service.ServiceException
testGetNonexistingUserInbox
public void testGetNonexistingUserInbox()
throws org.apache.avalon.framework.service.ServiceException
- Throws:
org.apache.avalon.framework.service.ServiceException
testGetExisitingUserInbox
public void testGetExisitingUserInbox()
throws org.apache.avalon.framework.service.ServiceException
- Throws:
org.apache.avalon.framework.service.ServiceException
Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.