Package hudson.tasks.test
Class AggregatedTestResultAction
java.lang.Object
jenkins.model.Tab
hudson.tasks.test.AbstractTestResultAction
hudson.tasks.test.AggregatedTestResultAction
- All Implemented Interfaces:
 Action,HealthReportingAction,ModelObject,Badgeable,RunAction2
AbstractTestResultAction that aggregates all the test results
 from the corresponding Runs.
 
 (This has nothing to do with AggregatedTestResultPublisher, unfortunately)
- Author:
 - Kohsuke Kawaguchi
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classData-binding bean for the remote API.Nested classes/interfaces inherited from class hudson.tasks.test.AbstractTestResultAction
AbstractTestResultAction.Summarizer - 
Field Summary
FieldsModifier and TypeFieldDescriptionchild builds whose test results are used for aggregation.Fields inherited from class hudson.tasks.test.AbstractTestResultAction
owner, run - 
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidadd(AbstractTestResultAction child) protected abstract Stringprotected AbstractTestResultActionUsesresolveChild(Child)and obtain theAbstractTestResultActionobject for the given child.Mainly for the remote API.protected final StringgetDescription(TestObject object) Deprecated.so that IDE warns you if you accidentally try to call it.intGets the number of failed tests.List<? extends TestResult>A shortcut for summary.jellyReturns the object that represents the actual test result.intGets the number of skipped tests.intGets the total number of tests.AbstractBuild<?,?> Deprecated.Run<?,?> protected final voidsetDescription(TestObject object, String description) Deprecated.so that IDE warns you if you accidentally try to call it.protected voidupdate(List<? extends AbstractTestResultAction> children) Methods inherited from class hudson.tasks.test.AbstractTestResultAction
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBadge, getBuildHealth, getDisplayName, getFailureDiffString, getHealthScaleFactor, getIconFileName, getPassedTests, getPreviousResult, getPreviousResult, getSkippedTests, getTestResultPath, getUrlName, onAttached, onLoad, readResolve 
- 
Field Details
- 
children
child builds whose test results are used for aggregation. 
 - 
 - 
Constructor Details
- 
AggregatedTestResultAction
Deprecated. - 
AggregatedTestResultAction
public AggregatedTestResultAction()- Since:
 - 1.545
 
 
 - 
 - 
Method Details
- 
update
 - 
add
 - 
getFailCount
public int getFailCount()Description copied from class:AbstractTestResultActionGets the number of failed tests.- Specified by:
 getFailCountin classAbstractTestResultAction
 - 
getSkipCount
public int getSkipCount()Description copied from class:AbstractTestResultActionGets the number of skipped tests.- Overrides:
 getSkipCountin classAbstractTestResultAction
 - 
getTotalCount
public int getTotalCount()Description copied from class:AbstractTestResultActionGets the total number of tests.- Specified by:
 getTotalCountin classAbstractTestResultAction
 - 
getResult
Description copied from class:AbstractTestResultActionReturns the object that represents the actual test result. This method is used by the remote API so that the XML/JSON that we are sending won't contain unnecessary indirection (that is,AbstractTestResultActionin between.If such a concept doesn't make sense for a particular subtype, return
this.- Specified by:
 getResultin classAbstractTestResultAction
 - 
getFailedTests
Description copied from class:AbstractTestResultActionA shortcut for summary.jelly- Overrides:
 getFailedTestsin classAbstractTestResultAction- Returns:
 - List of failed tests from associated test result.
 
 - 
getChildReports
Mainly for the remote API. Expose results from children. - 
getChildName
 - 
resolveRun
- Since:
 - 1.2-beta-1
 
 - 
resolveChild
Deprecated. - 
getChildReport
UsesresolveChild(Child)and obtain theAbstractTestResultActionobject for the given child. - 
getDescription
Deprecated.so that IDE warns you if you accidentally try to call it.Since there's no TestObject that points this action as the owner (aggregatedTestObjects point to their respective real owners, not 'this'), so this method should be never invoked.- Overrides:
 getDescriptionin classAbstractTestResultAction- See Also:
 
 - 
setDescription
Deprecated.so that IDE warns you if you accidentally try to call it.- Overrides:
 setDescriptionin classAbstractTestResultAction
 
 -