Uses of Class
hudson.tasks.test.TestResult
-
Packages that use TestResult 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). -
-
Uses of TestResult in hudson.tasks.junit
Subclasses of TestResult in hudson.tasks.junit Modifier and Type Class 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.Methods in hudson.tasks.junit that return TestResult Modifier and Type Method Description TestResult
CaseResult. findCorrespondingResult(String id)
Case results have no childrenTestResult
ClassResult. findCorrespondingResult(String id)
TestResult
PackageResult. findCorrespondingResult(String id)
TestResult
TestResult. findCorrespondingResult(String id)
TestResult
TestResult. getPreviousResult()
Methods in hudson.tasks.junit that return types with arguments of type TestResult Modifier and Type Method Description Collection<? 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
Subclasses of TestResult in hudson.tasks.test Modifier and Type Class 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.Methods in hudson.tasks.test that return TestResult Modifier and Type Method Description TestResult
AbstractTestResultAction. findCorrespondingResult(String id)
TestResult
SimpleCaseResult. findCorrespondingResult(String id)
abstract TestResult
TestObject. findCorrespondingResult(String id)
Find the test result corresponding to the one identified byid
within this test result.TestResult
AbstractTestResultAction. findPreviousCorresponding(TestResult test)
abstract TestResult
TestObject. getPreviousResult()
Gets the counterpart of thisTestResult
in the previous run.TestResult
TestResult. getPreviousResult()
Gets the counter part of thisTestResult
in the previous run.TestResult
TestObject. getResultInBuild(AbstractBuild<?,?> build)
Deprecated.TestResult
TestObject. getResultInRun(Run<?,?> run)
Gets the counterpart of thisTestResult
in the specified run.TestResult
TestResult. getResultInRun(Run<?,?> build)
Gets the counter part of thisTestResult
in the specified run.TestResult
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
.TestResult
TestResultParser. parse(String testResultLocations, AbstractBuild build, Launcher launcher, TaskListener listener)
Deprecated.TestResult
DefaultTestResultParserImpl. parseResult(String testResultLocations, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Deprecated.TestResult
TestResultParser. parseResult(String testResultLocations, Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
Deprecated.TestResult
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.Methods in hudson.tasks.test that return types with arguments of type TestResult Modifier and Type Method Description abstract 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 skippedMethods in hudson.tasks.test with parameters of type TestResult Modifier and Type Method Description TestResult
AbstractTestResultAction. findPreviousCorresponding(TestResult test)
String
AbstractTestResultAction. getTestResultPath(TestResult it)
Returns a full path down to a test result
-