Class 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.
    Author:
    kir
    See Also:
    STest, STestRun
    • Method Detail

      • addTestRun

        public void addTestRun​(STestRun testRun)
      • getRunCount

        public int getRunCount()
      • getFailedRunCount

        public int getFailedRunCount()
      • isHasBuildsInDefaultBranch

        public boolean isHasBuildsInDefaultBranch()
      • getTest

        public STest getTest()
      • getTestName

        @NotNull
        public TestName getTestName()
      • getBuildsCount

        public int getBuildsCount()
      • getRelatedBuilds

        public Set<SBuild> getRelatedBuilds()
      • getBuildTypeCount

        public int getBuildTypeCount()
      • getProjectId

        public String getProjectId()
      • getProjectExternalId

        public String getProjectExternalId()