java.lang.Object
org.jenkinsci.plugins.testresultsanalyzer.result.info.Info
org.jenkinsci.plugins.testresultsanalyzer.result.info.TestCaseInfo

public class TestCaseInfo extends Info
  • Constructor Details

    • TestCaseInfo

      public TestCaseInfo()
  • Method Details

    • putTestCaseResult

      public void putTestCaseResult(Integer buildNumber, hudson.tasks.test.TestResult testCaseResult, String url)
    • putTestCaseResult

      public void putTestCaseResult(Integer buildNumber, TestCaseResultData testCaseResultData)
    • putTestCaseResult

      public ResultData putTestCaseResult(Integer buildNumber, ResultData result, DuplicateTestPolicy policy, ResultData... parents)
      Records an execution of this test in a build. A test can be executed more than once in a build, for instance when retried; then the executions are merged into one result according to policy.
      Parameters:
      parents - the results of the enclosing class (and package) in the build, which count every execution and are corrected to count the merged result once instead
      Returns:
      the result this execution was merged with, or null if it is the first in the build
    • getChildren

      public Map<String,? extends Info> getChildren()
      Specified by:
      getChildren in class Info