public class

OutgoingMailEventQueueRule

extends TestWatcher
java.lang.Object
   ↳ org.junit.rules.TestWatcher
     ↳ com.atlassian.jira.functest.rule.OutgoingMailEventQueueRule

Class Overview

Rule to initialize SMTPBackdoor for listening for emails. Outgoing mail listening queue is turned on and cleared when test is started and listening queue is turned of on test end. Tested methods should be annotated with MailTest

Summary

Public Methods
OutgoingMailControl getOutgoingMailControl()
Protected Methods
void finished(Description description)
void starting(Description description)
[Expand]
Inherited Methods
From class org.junit.rules.TestWatcher
From class java.lang.Object
From interface org.junit.rules.TestRule

Public Methods

public OutgoingMailControl getOutgoingMailControl ()

Protected Methods

protected void finished (Description description)

protected void starting (Description description)