Class FlakySuiteResult

java.lang.Object
com.google.jenkins.flakyTestHandler.junit.FlakySuiteResult
All Implemented Interfaces:
Serializable

@ExportedBean public final class FlakySuiteResult extends Object implements Serializable
Result of one test suite augmented with flaky information. Majority of code copied from hudson.tasks.junit.SuiteResult https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/tasks/junit/ SuiteResult.java
Author:
Qingzhou Luo
See Also:
  • Method Details

    • getName

      @Exported(visibility=9) public String getName()
    • getDuration

      @Exported(visibility=9) public float getDuration()
    • getStdout

      @Exported public String getStdout()
      The stdout of this test.
      Returns:
      String with stdout
      Since:
      1.281
      See Also:
      • CaseResult.getStdout()
    • getStderr

      @Exported public String getStderr()
      The stderr of this test.
      Returns:
      String with stderr
      Since:
      1.281
      See Also:
      • CaseResult.getStderr()
    • getFile

      public String getFile()
    • getParent

      public FlakyTestResult getParent()
    • getTimestamp

      @Exported(visibility=9) public String getTimestamp()
    • getId

      @Exported(visibility=9) public String getId()
    • getCases

      @Exported(inline=true, visibility=9) public List<FlakyCaseResult> getCases()
    • getPreviousResult

      public FlakySuiteResult getPreviousResult()
    • getCase

      public FlakyCaseResult getCase(String name)
      Returns the CaseResult whose CaseResult.getName() is the same as the given string.

      Note that test name needs not be unique.

      Parameters:
      name - name of case
      Returns:
      flaky case result
    • getClassNames

      public Set<String> getClassNames()