|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.tasks.test.AbstractTestResultAction
hudson.tasks.test.AggregatedTestResultAction
@ExportedBean public abstract class AggregatedTestResultAction
AbstractTestResultAction
that aggregates all the test results
from the corresponding AbstractBuild
s.
(This has nothing to do with AggregatedTestResultPublisher
, unfortunately)
Nested Class Summary | |
---|---|
static class |
AggregatedTestResultAction.Child
|
static class |
AggregatedTestResultAction.ChildReport
Data-binding bean for the remote API. |
Field Summary | |
---|---|
List<AggregatedTestResultAction.Child> |
children
child builds whose test results are used for aggregation. |
Fields inherited from class hudson.tasks.test.AbstractTestResultAction |
---|
owner |
Constructor Summary | |
---|---|
AggregatedTestResultAction(AbstractBuild owner)
|
Method Summary | |
---|---|
protected void |
add(AbstractTestResultAction child)
|
protected abstract String |
getChildName(AbstractTestResultAction tr)
|
protected AbstractTestResultAction |
getChildReport(AggregatedTestResultAction.Child child)
Uses resolveChild(Child) and obtain the
AbstractTestResultAction object for the given child. |
List<AggregatedTestResultAction.ChildReport> |
getChildReports()
Mainly for the remote API. |
protected String |
getDescription(TestObject object)
Deprecated. so that IDE warns you if you accidentally try to call it. |
int |
getFailCount()
Gets the number of failed tests. |
List<CaseResult> |
getFailedTests()
A shortcut for summary.jelly |
List<AggregatedTestResultAction.ChildReport> |
getResult()
Returns the object that represents the actual test result. |
int |
getSkipCount()
Gets the number of skipped tests. |
int |
getTotalCount()
Gets the total number of tests. |
abstract AbstractBuild<?,?> |
resolveChild(AggregatedTestResultAction.Child child)
|
protected void |
setDescription(TestObject object,
String description)
Deprecated. so that IDE warns you if you accidentally try to call it. |
protected void |
update(List<? extends AbstractTestResultAction> children)
|
Methods inherited from class hudson.tasks.test.AbstractTestResultAction |
---|
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getDisplayName, getFailureDiffString, getIconFileName, getPreviousResult, getTestResultPath, getUrlName, readResolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final List<AggregatedTestResultAction.Child> children
Constructor Detail |
---|
public AggregatedTestResultAction(AbstractBuild owner)
Method Detail |
---|
protected void update(List<? extends AbstractTestResultAction> children)
protected void add(AbstractTestResultAction child)
public int getFailCount()
AbstractTestResultAction
getFailCount
in class AbstractTestResultAction
public int getSkipCount()
AbstractTestResultAction
getSkipCount
in class AbstractTestResultAction
public int getTotalCount()
AbstractTestResultAction
getTotalCount
in class AbstractTestResultAction
public List<AggregatedTestResultAction.ChildReport> getResult()
AbstractTestResultAction
AbstractTestResultAction
in between.
If such a concept doesn't make sense for a particular subtype, return this.
getResult
in class AbstractTestResultAction
public List<CaseResult> getFailedTests()
AbstractTestResultAction
getFailedTests
in class AbstractTestResultAction
@Exported(inline=true) public List<AggregatedTestResultAction.ChildReport> getChildReports()
protected abstract String getChildName(AbstractTestResultAction tr)
public abstract AbstractBuild<?,?> resolveChild(AggregatedTestResultAction.Child child)
protected AbstractTestResultAction getChildReport(AggregatedTestResultAction.Child child)
resolveChild(Child)
and obtain the
AbstractTestResultAction
object for the given child.
protected final String getDescription(TestObject object)
TestObject
s point to their respective real owners, not 'this'),
so this method should be never invoked.
getDescription
in class AbstractTestResultAction
TestObject.getDescription()
protected final void setDescription(TestObject object, String description)
getDescription(TestObject)
setDescription
in class AbstractTestResultAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |