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