LocalMailServiceTestConfig

com.google.appengine.tools.development.testing

Class LocalMailServiceTestConfig

  • java.lang.Object
    • com.google.appengine.tools.development.testing.LocalMailServiceTestConfig
  • All Implemented Interfaces:
    LocalServiceTestConfig


    public class LocalMailServiceTestConfig
    extends java.lang.Object
    implements LocalServiceTestConfig
    Config for accessing the local mail service in tests. tearDown() wipes out sent messages so that there is no state passed between tests.
    • Constructor Detail

      • LocalMailServiceTestConfig

        public LocalMailServiceTestConfig()
    • Method Detail

      • getLogMailBody

        public java.lang.Boolean getLogMailBody()
      • setLogMailBody

        public LocalMailServiceTestConfig setLogMailBody(boolean logMailBody)
        Controls whether or not the message body is logged.
        Parameters:
        logMailBody -
        Returns:
        this (for chaining)
      • getLogMailLevel

        public java.util.logging.Level getLogMailLevel()
      • setLogMailLevel

        public LocalMailServiceTestConfig setLogMailLevel(java.util.logging.Level logMailLevel)
        Controls the level at which each message is logged.
        Parameters:
        logMailLevel -
        Returns:
        this (for chaining)
本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
App Engine standard environment for Java 8