Package hudson.tasks.test
Class TabulatedResult
java.lang.Object
hudson.model.AbstractModelObject
hudson.tasks.junit.TestObject
hudson.tasks.test.TestObject
hudson.tasks.test.TestResult
hudson.tasks.test.TabulatedResult
- All Implemented Interfaces:
ModelObject,SearchableModelObject,SearchItem,Serializable
- Direct Known Subclasses:
ClassResult,MetaTabulatedResult
Cumulated result of multiple tests.
On top of TestResult, this class introduces a tree structure
of TestResults.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockToTestResult(PipelineBlockWithTests block, TabulatedResult fullResult) Get an aggregatedTabulatedResultfor all test results in aPipelineBlockWithTestsand any children it may have.abstract Collection<? extends TestResult>Gets the child test result objects.Get a simple name for the type of children thegetChildren()method returns, for example "case", "class" or "package".getPipelineBlockWithTests(String blockId) abstract booleanbooleanprotected final voidpopulateBlocks(List<String> innermostFirst, String nodeId, PipelineBlockWithTests nested) Methods inherited from class hudson.tasks.test.TestResult
annotate, getBuildResult, getDuration, getErrorDetails, getErrorStackTrace, getFailCount, getFailedSince, getFailedSinceRun, getFailedTests, getParentAction, getPassCount, getPassedTests, getPreviousResult, getProperties, getResultInRun, getSkipCount, getSkippedTests, getStderr, getStdout, getTitle, isPassed, setParent, setParentAction, tally, toPrettyStringMethods inherited from class hudson.tasks.test.TestObject
doSubmitDescription, findCorrespondingResult, getApi, getDescription, getDurationString, getDynamic, getFullDisplayName, getFullName, getHistory, getId, getName, getParent, getRelativePathFrom, getResultInBuild, getSafeName, getSearchUrl, getTestAction, getTestActions, getTestResult, getTestResultAction, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyNameMethods inherited from class hudson.tasks.junit.TestObject
getOwner, getRunMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.ModelObject
getDisplayNameMethods inherited from interface hudson.search.SearchItem
getSearchGroup, getSearchIcon
-
Field Details
-
testsByBlock
TODO: javadoc
-
-
Constructor Details
-
TabulatedResult
public TabulatedResult()
-
-
Method Details
-
getChildren
Gets the child test result objects.- Returns:
- the child test result objects.
- See Also:
-
hasChildren
public abstract boolean hasChildren() -
hasMultipleBlocks
public boolean hasMultipleBlocks() -
getPipelineBlockWithTests
-
populateBlocks
protected final void populateBlocks(@NonNull List<String> innermostFirst, @NonNull String nodeId, @CheckForNull PipelineBlockWithTests nested) -
blockToTestResult
@NonNull public TabulatedResult blockToTestResult(@NonNull PipelineBlockWithTests block, @NonNull TabulatedResult fullResult) Get an aggregatedTabulatedResultfor all test results in aPipelineBlockWithTestsand any children it may have. Default implementation just returns the original. -
getChildTitle
-
getChildType
Get a simple name for the type of children thegetChildren()method returns, for example "case", "class" or "package".- Returns:
- the type of children this result has, all lowercase.
-