public class BuildResultsTestFactory extends Object
Constructor and Description |
---|
BuildResultsTestFactory() |
Modifier and Type | Method and 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() |
public static BuildResults createWithReasonCleanBuild()
public static BuildResults createWithReason(ReasonForBuild expectedReason)
public static BuildResults createWithSuccess()
public static BuildResults createWithFailure()
public static BuildResults createWithSourceDir(File expectedSourceDirectory)
public static BuildResults createWithBuildKey(String expectedBuildKey)
public static BuildResults createWithChangeList(List<Commit> expectedChangeList)
public static BuildResults createWithNoReason()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.