|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.tools.development.testing.LocalMailServiceTestConfig
public class LocalMailServiceTestConfig
Config for accessing the local mail service in tests.
tearDown()
wipes out sent messages so that there is no state passed
between tests.
Constructor Summary | |
---|---|
LocalMailServiceTestConfig()
|
Method Summary | |
---|---|
static LocalMailService |
getLocalMailService()
|
java.lang.Boolean |
getLogMailBody()
|
java.util.logging.Level |
getLogMailLevel()
|
LocalMailServiceTestConfig |
setLogMailBody(boolean logMailBody)
Controls whether or not the message body is logged. |
LocalMailServiceTestConfig |
setLogMailLevel(java.util.logging.Level logMailLevel)
Controls the level at which each message is logged. |
void |
setUp()
Set up the local service. |
void |
tearDown()
Tear down the local service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalMailServiceTestConfig()
Method Detail |
---|
public void setUp()
LocalServiceTestConfig
setUp
in interface LocalServiceTestConfig
public void tearDown()
LocalServiceTestConfig
tearDown
in interface LocalServiceTestConfig
public java.lang.Boolean getLogMailBody()
public LocalMailServiceTestConfig setLogMailBody(boolean logMailBody)
logMailBody
-
this
(for chaining)public java.util.logging.Level getLogMailLevel()
public LocalMailServiceTestConfig setLogMailLevel(java.util.logging.Level logMailLevel)
logMailLevel
-
this
(for chaining)public static LocalMailService getLocalMailService()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |