Package com.atlassian.bamboo.testutils
Class NotificationsTestUtils
- java.lang.Object
-
- com.atlassian.bamboo.testutils.NotificationsTestUtils
-
public class NotificationsTestUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description NotificationsTestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
cleanInbox(@NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull List<String> users)
Deprecated.since 6.8, useGreenMailUtils.cleanInbox(GreenMailOperations, List)
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.
-
-
-
Method Detail
-
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
public static void setUpBambooMailServer(@NotNull @NotNull Backdoor backdoor, @NotNull @NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull @NotNull String smtpUsername)
-
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)
-
-