public class RssTestHelper extends Object
Constructor and Description |
---|
RssTestHelper() |
Modifier and Type | Method and Description |
---|---|
static Path |
prepareSpecsDir(Class<?> testClass,
Path repositoryDirectory,
String pomFileName) |
static Consumer<Path> |
rssCommitGenerator(Class<?> testClass,
boolean breakIt,
com.atlassian.bamboo.specs.api.builders.plan.Plan... plans) |
static Consumer<Path> |
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,
com.atlassian.bamboo.specs.api.builders.plan.Plan plan,
String deploymentName) |
static void |
testNoAccessEmail(com.icegreen.greenmail.base.GreenMailOperations greenMail,
String linkedRepositoryName,
TestBuildDetails planDetails,
boolean isNoAccessMsgPresent) |
static void |
testSuccessEmail(com.icegreen.greenmail.base.GreenMailOperations greenMail,
String sharedRepositoryName,
String planName,
String deploymentName)
Test email sent after successful application of either RSP or YAML.
|
public static Path prepareSpecsDir(Class<?> testClass, Path repositoryDirectory, String pomFileName) throws IOException
IOException
public static Consumer<Path> rssCommitGenerator(Class<?> testClass, com.atlassian.bamboo.specs.api.builders.plan.Plan plan, com.atlassian.bamboo.specs.api.builders.deployment.Deployment deployment, boolean breakIt)
public static Consumer<Path> rssCommitGenerator(Class<?> testClass, boolean breakIt, com.atlassian.bamboo.specs.api.builders.plan.Plan... plans)
public static void testSuccessEmail(@NotNull com.icegreen.greenmail.base.GreenMailOperations greenMail, @NotNull String sharedRepositoryName, @NotNull String planName, @Nullable String deploymentName) throws Exception
Exception
public static void testFailureEmail(com.icegreen.greenmail.base.GreenMailOperations greenMail, String sharedRepositoryName, @Nullable com.atlassian.bamboo.specs.api.builders.plan.Plan plan, @Nullable String deploymentName) throws Exception
Exception
public static void testNoAccessEmail(com.icegreen.greenmail.base.GreenMailOperations greenMail, String linkedRepositoryName, TestBuildDetails planDetails, boolean isNoAccessMsgPresent) throws Exception
Exception
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.