Class RssTestHelper
java.lang.Object
com.atlassian.bamboo.testutils.rss.RssTestHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Path
prepareSpecsDir
(Class<?> testClass, Path repositoryDirectory, String pomFileName) rssCommitGenerator
(Class<?> testClass, boolean breakIt, com.atlassian.bamboo.specs.api.builders.plan.Plan... plans) rssCommitGenerator
(Class<?> testClass, boolean breakIt, com.atlassian.bamboo.specs.api.builders.project.Project... projects) rssCommitGenerator
(Class<?> testClass, com.atlassian.bamboo.specs.api.builders.plan.Plan plan, com.atlassian.bamboo.specs.api.builders.deployment.Deployment deployment, boolean breakIt) static void
testFailureEmail
(com.icegreen.greenmail.base.GreenMailOperations greenMail, String sharedRepositoryName, @Nullable com.atlassian.bamboo.specs.api.builders.plan.Plan plan, @Nullable String deploymentName) static void
testNoAccessEmail
(com.icegreen.greenmail.base.GreenMailOperations greenMail, String linkedRepositoryName, TestBuildDetails planDetails, boolean isNoAccessMsgPresent) static void
testSuccessEmail
(@NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull String sharedRepositoryName, @NotNull String planName, @Nullable String deploymentName) Test email sent after successful application of either RSP or YAML.
-
Field Details
-
RSS_CONTEXT_PLACEHOLDER_CURRENT_BRANCH
- See Also:
-
RSS_CONTEXT_PLACEHOLDER_IS_DEFAULT_BRANCH
- See Also:
-
-
Constructor Details
-
RssTestHelper
public RssTestHelper()
-
-
Method Details
-
prepareSpecsDir
public static Path prepareSpecsDir(Class<?> testClass, Path repositoryDirectory, String pomFileName) throws IOException - Throws:
IOException
-
rssCommitGenerator
-
rssCommitGenerator
-
rssCommitGenerator
-
testSuccessEmail
public static void testSuccessEmail(@NotNull @NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull @NotNull String sharedRepositoryName, @NotNull @NotNull String planName, @Nullable @Nullable String deploymentName) throws Exception Test email sent after successful application of either RSP or YAML.- Throws:
Exception
-
testFailureEmail
public static void testFailureEmail(com.icegreen.greenmail.base.GreenMailOperations greenMail, String sharedRepositoryName, @Nullable @Nullable com.atlassian.bamboo.specs.api.builders.plan.Plan plan, @Nullable @Nullable String deploymentName) throws Exception - Throws:
Exception
-
testNoAccessEmail
public static void testNoAccessEmail(com.icegreen.greenmail.base.GreenMailOperations greenMail, String linkedRepositoryName, TestBuildDetails planDetails, boolean isNoAccessMsgPresent) throws Exception - Throws:
Exception
-