Package | Description |
---|---|
hudson.tasks.junit |
Model objects that represent JUnit test reports.
|
hudson.tasks.test |
Defines contracts that need to be implemented by a test reporting
action (such as the built-in JUnit one).
|
Modifier and Type | Class and Description |
---|---|
class |
CaseResult
One test result.
|
class |
ClassResult
Cumulative test result of a test class.
|
class |
PackageResult
Cumulative test result for a package.
|
class |
TestResult
Root of all the test results for one build.
|
Modifier and Type | Method and Description |
---|---|
TestResult |
CaseResult.findCorrespondingResult(String id)
Case results have no children
|
TestResult |
TestResult.findCorrespondingResult(String id) |
TestResult |
PackageResult.findCorrespondingResult(String id) |
TestResult |
ClassResult.findCorrespondingResult(String id) |
TestResult |
TestResult.getPreviousResult() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends TestResult> |
CaseResult.getFailedTests()
Gets the "children" of this test result that failed
|
Collection<? extends TestResult> |
CaseResult.getPassedTests()
Gets the "children" of this test result that passed
|
Collection<? extends TestResult> |
CaseResult.getSkippedTests()
Gets the "children" of this test result that were skipped
|
Modifier and Type | Class and Description |
---|---|
class |
MetaTabulatedResult
The purpose of this class is to provide a good place for the
jelly to bind to.
|
class |
SimpleCaseResult
The simplest possible case result, with no language ties.
|
class |
TabulatedResult
Cumulated result of multiple tests.
|
Modifier and Type | Method and Description |
---|---|
TestResult |
SimpleCaseResult.findCorrespondingResult(String id) |
TestResult |
AbstractTestResultAction.findCorrespondingResult(String id) |
abstract TestResult |
TestObject.findCorrespondingResult(String id)
Find the test result corresponding to the one identified by
id
within this test result. |
TestResult |
AbstractTestResultAction.findPreviousCorresponding(TestResult test) |
abstract TestResult |
TestObject.getPreviousResult()
Gets the counterpart of this
TestResult in the previous run. |
TestResult |
TestResult.getPreviousResult()
Gets the counter part of this
TestResult in the previous run. |
TestResult |
TestObject.getResultInBuild(hudson.model.AbstractBuild<?,?> build)
Deprecated.
|
TestResult |
TestObject.getResultInRun(hudson.model.Run<?,?> run)
Gets the counterpart of this
TestResult in the specified run. |
TestResult |
TestResult.getResultInRun(hudson.model.Run<?,?> build)
Gets the counter part of this
TestResult in the specified run. |
TestResult |
TestObject.getTopLevelTestResult()
Returns the top level test result data.
|
protected abstract TestResult |
DefaultTestResultParserImpl.parse(List<File> reportFiles,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Deprecated.
This method is executed on the agent that has the report files to parse test reports and builds
TestResult . |
TestResult |
TestResultParser.parse(String testResultLocations,
hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Deprecated.
|
TestResult |
DefaultTestResultParserImpl.parseResult(String testResultLocations,
hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Deprecated.
|
TestResult |
TestResultParser.parseResult(String testResultLocations,
hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Deprecated.
|
TestResult |
TestResultParser.parseResult(String testResultLocations,
hudson.model.Run<?,?> run,
PipelineTestDetails pipelineTestDetails,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Parses the specified set of files and builds a
TestResult object that represents them. |
Modifier and Type | Method and Description |
---|---|
abstract Collection<? extends TestResult> |
TabulatedResult.getChildren()
Gets the child test result objects.
|
Collection<? extends TestResult> |
SimpleCaseResult.getFailedTests()
Gets the "children" of this test result that failed
|
List<? extends TestResult> |
AbstractTestResultAction.getFailedTests()
A shortcut for summary.jelly
|
Collection<? extends TestResult> |
TestResult.getFailedTests()
Gets the "children" of this test result that failed
|
abstract Collection<? extends TestResult> |
MetaTabulatedResult.getFailedTests()
All failed tests.
|
List<? extends TestResult> |
AggregatedTestResultAction.getFailedTests() |
Collection<? extends TestResult> |
SimpleCaseResult.getPassedTests()
Gets the "children" of this test result that passed
|
List<? extends TestResult> |
AbstractTestResultAction.getPassedTests()
A shortcut for scripting
|
Collection<? extends TestResult> |
TestResult.getPassedTests()
Gets the "children" of this test result that passed
|
Collection<? extends TestResult> |
SimpleCaseResult.getSkippedTests()
Gets the "children" of this test result that were skipped
|
List<? extends TestResult> |
AbstractTestResultAction.getSkippedTests()
A shortcut for scripting
|
Collection<? extends TestResult> |
TestResult.getSkippedTests()
Gets the "children" of this test result that were skipped
|
Modifier and Type | Method and Description |
---|---|
TestResult |
AbstractTestResultAction.findPreviousCorresponding(TestResult test) |
String |
AbstractTestResultAction.getTestResultPath(TestResult it)
Returns a full path down to a test result
|
Copyright © 2016–2022. All rights reserved.