Package com.atlassian.bamboo.builder
Class BuildResultsTestFactory
- java.lang.Object
-
- com.atlassian.bamboo.builder.BuildResultsTestFactory
-
public class BuildResultsTestFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description BuildResultsTestFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BuildResults
createWithBuildKey(String expectedBuildKey)
static BuildResults
createWithChangeList(List<Commit> expectedChangeList)
static BuildResults
createWithFailure()
static BuildResults
createWithNoReason()
static BuildResults
createWithReason(ReasonForBuild expectedReason)
static BuildResults
createWithReasonCleanBuild()
static BuildResults
createWithSourceDir(File expectedSourceDirectory)
static BuildResults
createWithSuccess()
-
-
-
Method Detail
-
createWithReasonCleanBuild
public static BuildResults createWithReasonCleanBuild()
-
createWithReason
public static BuildResults createWithReason(ReasonForBuild expectedReason)
-
createWithSuccess
public static BuildResults createWithSuccess()
-
createWithFailure
public static BuildResults createWithFailure()
-
createWithSourceDir
public static BuildResults createWithSourceDir(File expectedSourceDirectory)
-
createWithBuildKey
public static BuildResults createWithBuildKey(String expectedBuildKey)
-
createWithChangeList
public static BuildResults createWithChangeList(List<Commit> expectedChangeList)
-
createWithNoReason
public static BuildResults createWithNoReason()
-
-