|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTestCase
org.apache.james.services.MailServerTestAllImplementations
org.apache.james.JamesTest
public class JamesTest
| Field Summary |
|---|
| Fields inherited from class org.apache.james.services.MailServerTestAllImplementations |
|---|
EXISTING_USER_NAME |
| Constructor Summary | |
|---|---|
JamesTest()
|
|
| Method Summary | |
|---|---|
boolean |
allowsPasswordlessUser()
|
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. |
org.apache.james.services.MailServer |
createMailServer()
|
boolean |
isUserExisting(org.apache.james.services.MailServer mailServerImpl,
java.lang.String username)
|
protected void |
tearDown()
|
| Methods inherited from class org.apache.james.services.MailServerTestAllImplementations |
|---|
testAddUser, testGetExisitingUserInbox, testGetNonexistingUserInbox, testId, testIdIncrement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JamesTest()
| Method Detail |
|---|
public org.apache.james.services.MailServer createMailServer()
throws org.apache.avalon.framework.service.ServiceException
createMailServer in class MailServerTestAllImplementationsorg.apache.avalon.framework.service.ServiceException
protected void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic boolean allowsPasswordlessUser()
allowsPasswordlessUser in class MailServerTestAllImplementationspublic boolean canTestUserExists()
MailServerTestAllImplementations
canTestUserExists in class MailServerTestAllImplementations
public boolean isUserExisting(org.apache.james.services.MailServer mailServerImpl,
java.lang.String username)
isUserExisting in class MailServerTestAllImplementations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||