Class BuildResultsTestFactory

java.lang.Object
com.atlassian.bamboo.builder.BuildResultsTestFactory

public class BuildResultsTestFactory extends Object
  • Constructor Details

    • BuildResultsTestFactory

      public BuildResultsTestFactory()
  • Method Details

    • 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()