Package com.atlassian.bamboo.testutils
Class NotificationsTestUtils
java.lang.Object
com.atlassian.bamboo.testutils.NotificationsTestUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
cleanInbox
(@NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull List<String> users) Deprecated.static void
setUpBambooMailServer
(@NotNull Backdoor backdoor, @NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull String smtpUsername) static void
setUpBambooMailServer
(@NotNull Backdoor backdoor, @NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull String smtpUsername, @NotNull String smtpPassword) Deprecated.since 6.8, usesetUpBambooMailServer(Backdoor, GreenMailOperations, String)
static @NotNull com.icegreen.greenmail.util.GreenMail
setUpGreenMail
(@NotNull String email, @NotNull String login, @NotNull String password) Deprecated.since 6.8, useGreenMailUtils.setUpGreenMail(String, String, String)
static void
tearDownGreenMail
(@Nullable com.icegreen.greenmail.base.GreenMailOperations greenMail) Deprecated.since 6.8, useGreenMailUtils.tearDownGreenMail(GreenMailOperations)
static @NotNull List<javax.mail.internet.MimeMessage>
waitForIncomingEmail
(@NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, Duration maxWaitTime, int expectedEmailCount) Deprecated.
-
Constructor Details
-
NotificationsTestUtils
public NotificationsTestUtils()
-
-
Method Details
-
setUpBambooMailServer
@Deprecated public static void setUpBambooMailServer(@NotNull @NotNull Backdoor backdoor, @NotNull @NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull @NotNull String smtpUsername, @NotNull @NotNull String smtpPassword) Deprecated.since 6.8, usesetUpBambooMailServer(Backdoor, GreenMailOperations, String)
-
setUpBambooMailServer
-
setUpGreenMail
@Deprecated @NotNull public static @NotNull com.icegreen.greenmail.util.GreenMail setUpGreenMail(@NotNull @NotNull String email, @NotNull @NotNull String login, @NotNull @NotNull String password) Deprecated.since 6.8, useGreenMailUtils.setUpGreenMail(String, String, String)
-
tearDownGreenMail
@Deprecated public static void tearDownGreenMail(@Nullable @Nullable com.icegreen.greenmail.base.GreenMailOperations greenMail) Deprecated.since 6.8, useGreenMailUtils.tearDownGreenMail(GreenMailOperations)
-
waitForIncomingEmail
@Deprecated @NotNull public static @NotNull List<javax.mail.internet.MimeMessage> waitForIncomingEmail(@NotNull @NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, Duration maxWaitTime, int expectedEmailCount) throws Exception Deprecated.- Throws:
Exception
-
cleanInbox
@Deprecated public static void cleanInbox(@NotNull @NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull @NotNull List<String> users) Deprecated.since 6.8, useGreenMailUtils.cleanInbox(GreenMailOperations, List)
-
GreenMailUtils.cleanInbox(GreenMailOperations, List)