Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.


Class LocalMailServiceTestConfig

  • java.lang.Object
  • All Implemented Interfaces:

    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.
        logMailBody -
        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.
        logMailLevel -
        this (for chaining)