public class


extends TestWatcher
   ↳ org.junit.rules.TestWatcher
     ↳ com.atlassian.jira.functest.rule.OutgoingMailConfigureSmtpRule

Class Overview

Rule to initialize SMTPBackdoor for listening for emails. Starts dummy smtp server (greenmail) and configures jira to use it. Previous step (dummy smtp server and configuration of jira) is omitted on ondemand instances. Also proper configuration of smtp server is checked (if default smtp server is present, and outgoing emails are not disabled -Datlassian.mail.senddisabled=true)


Protected Methods
void finished(Description description)
void starting(Description description)
Inherited Methods
From class org.junit.rules.TestWatcher
From class java.lang.Object
From interface org.junit.rules.TestRule

Protected Methods

protected void finished (Description description)

protected void starting (Description description)