Class TestCaseInfo
java.lang.Object
org.jenkinsci.plugins.testresultsanalyzer.result.info.Info
org.jenkinsci.plugins.testresultsanalyzer.result.info.TestCaseInfo
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.testresultsanalyzer.result.info.Info
buildResults, isConfig, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidputTestCaseResult(Integer buildNumber, hudson.tasks.test.TestResult testCaseResult, String url) putTestCaseResult(Integer buildNumber, ResultData result, DuplicateTestPolicy policy, ResultData... parents) Records an execution of this test in a build.voidputTestCaseResult(Integer buildNumber, TestCaseResultData testCaseResultData) Methods inherited from class org.jenkinsci.plugins.testresultsanalyzer.result.info.Info
getBuildPackageResults, getBuildResult, getName, isConfig, putBuildResult, setBuildPackageResults, setConfig, setName
-
Constructor Details
-
TestCaseInfo
public TestCaseInfo()
-
-
Method Details
-
putTestCaseResult
-
putTestCaseResult
-
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 topolicy.- 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
nullif it is the first in the build
-
getChildren
- Specified by:
getChildrenin classInfo
-