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)