Package com.atlassian.jira.functest.rule
Class OutgoingMailEventQueueRule
java.lang.Object
org.junit.rules.TestWatcher
com.atlassian.jira.functest.rule.OutgoingMailEventQueueRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public class OutgoingMailEventQueueRule
extends org.junit.rules.TestWatcher
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
- Since:
- v7.1
-
Method Summary
Methods inherited from class org.junit.rules.TestWatcher
apply, failed, skipped, skipped, succeeded
-
Method Details
-
starting
protected void starting(org.junit.runner.Description description) - Overrides:
starting
in classorg.junit.rules.TestWatcher
-
finished
protected void finished(org.junit.runner.Description description) - Overrides:
finished
in classorg.junit.rules.TestWatcher
-