Class STestBean
- java.lang.Object
-
- jetbrains.buildServer.web.problems.STestBean
-
public class STestBean extends Object
This class represents a test and its run instances in TeamCity Web UI. There could be different STestRuns of the test in different build configurations. There also could be several runs of the given test within a single build. All such combinations can be handled by this class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTestRun(STestRun testRun)
STestBean
cloneWithBuildType(SBuildType buildType)
STestBean
cloneWithBuildTypeFirst(SBuildType buildType)
int
getBuildsCount()
int
getBuildTypeCount()
List<SBuildType>
getBuildTypes()
Map<SBuildType,Pair<Status,SBuild>>
getDetailsPerBuildType()
int
getFailedRunCount()
String
getProjectExternalId()
String
getProjectId()
Set<SBuild>
getRelatedBuilds()
STestRun
getRun()
int
getRunCount()
STest
getTest()
TestName
getTestName()
boolean
isHasBuildsInDefaultBranch()
String
toString()
-
-
-
Method Detail
-
addTestRun
public void addTestRun(STestRun testRun)
-
getRunCount
public int getRunCount()
-
getFailedRunCount
public int getFailedRunCount()
-
isHasBuildsInDefaultBranch
public boolean isHasBuildsInDefaultBranch()
-
getRun
public STestRun getRun()
-
getTest
public STest getTest()
-
getTestName
@NotNull public TestName getTestName()
-
getBuildsCount
public int getBuildsCount()
-
getBuildTypeCount
public int getBuildTypeCount()
-
getBuildTypes
public List<SBuildType> getBuildTypes()
-
getDetailsPerBuildType
public Map<SBuildType,Pair<Status,SBuild>> getDetailsPerBuildType()
-
cloneWithBuildTypeFirst
public STestBean cloneWithBuildTypeFirst(SBuildType buildType)
-
cloneWithBuildType
public STestBean cloneWithBuildType(SBuildType buildType)
-
getProjectId
public String getProjectId()
-
getProjectExternalId
public String getProjectExternalId()
-
-