com.atlassian.bamboo.builder
Class BuildResultsTestFactory

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

public class BuildResultsTestFactory
extends Object


Constructor Summary
BuildResultsTestFactory()
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildResultsTestFactory

public BuildResultsTestFactory()
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()


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.