Class TestResultsAggregatorTestResultBuildAction

java.lang.Object
hudson.tasks.test.AbstractTestResultAction
com.jenkins.testresultsaggregator.TestResultsAggregatorTestResultBuildAction
All Implemented Interfaces:
Action, HealthReportingAction, ModelObject, Serializable, RunAction2, SimpleBuildStep.LastBuildAction

public class TestResultsAggregatorTestResultBuildAction extends hudson.tasks.test.AbstractTestResultAction implements Serializable, SimpleBuildStep.LastBuildAction
TestNG build action that exposes the results per build
Since:
v1.0
Author:
nullin
See Also:
  • Field Details

    • success

      protected Integer success
    • fixed

      protected int fixed
    • failed

      protected int failed
    • keepfailed

      protected int keepfailed
    • unstable

      protected int unstable
    • keepunstable

      protected int keepunstable
    • aborted

      protected int aborted
    • running

      protected int running
    • successTTests

      protected int successTTests
    • failedTTests

      protected int failedTTests
    • skippedTTests

      protected int skippedTTests
  • Constructor Details

    • TestResultsAggregatorTestResultBuildAction

      public TestResultsAggregatorTestResultBuildAction(Aggregated aggregatedResults)
  • Method Details

    • getResult

      public Aggregated getResult()
      Specified by:
      getResult in class hudson.tasks.test.AbstractTestResultAction
    • getResult

      public Aggregated getResult(Run build)
    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
      Overrides:
      getIconFileName in class hudson.tasks.test.AbstractTestResultAction
    • getTotalCount

      public int getTotalCount()
      Specified by:
      getTotalCount in class hudson.tasks.test.AbstractTestResultAction
    • getFailCount

      public int getFailCount()
      Specified by:
      getFailCount in class hudson.tasks.test.AbstractTestResultAction
    • getFailKeepCount

      public int getFailKeepCount()
    • getUnstableCount

      public int getUnstableCount()
    • getUnstableKeepCount

      public int getUnstableKeepCount()
    • getSuccess

      public int getSuccess()
    • getFixed

      public int getFixed()
    • getAborted

      public int getAborted()
    • getRunning

      public int getRunning()
    • getSuccessTTests

      public int getSuccessTTests()
    • getFailedTTests

      public int getFailedTTests()
    • getSkippedTTests

      public int getSkippedTTests()
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
      Overrides:
      getDisplayName in class hudson.tasks.test.AbstractTestResultAction
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
      Overrides:
      getUrlName in class hudson.tasks.test.AbstractTestResultAction
    • getApi

      public Api getApi()
      Overrides:
      getApi in class hudson.tasks.test.AbstractTestResultAction
    • getProjectActions

      public Collection<? extends Action> getProjectActions()
      Specified by:
      getProjectActions in interface SimpleBuildStep.LastBuildAction