@ExportedBean
public class MetaLabeledTestResultGroup
extends hudson.tasks.test.MetaTabulatedResult
| Modifier and Type | Field and Description | 
|---|---|
protected Collection<hudson.tasks.test.TestResult> | 
allFailedTests  | 
protected Collection<hudson.tasks.test.TestResult> | 
allPassedTests  | 
protected Collection<hudson.tasks.test.TestResult> | 
allSkippedTests  | 
protected boolean | 
cacheDirty  | 
protected Map<String,LabeledTestResultGroup> | 
childrenByLabel  | 
protected String | 
description  | 
protected float | 
duration  | 
protected int | 
failCount  | 
protected Map<String,Collection<hudson.tasks.test.TestResult>> | 
failedTestsByLabel  | 
protected String | 
groupId
Effectively overrides TestObject.id, by overriding the accessors 
 | 
protected MetaLabeledTestResultGroupAction | 
parentAction  | 
protected int | 
passCount  | 
protected Map<String,Collection<hudson.tasks.test.TestResult>> | 
passedTestsByLabel  | 
protected int | 
skipCount  | 
protected Map<String,Collection<hudson.tasks.test.TestResult>> | 
skippedTestsByLabel  | 
protected int | 
totalCount  | 
| Constructor and Description | 
|---|
MetaLabeledTestResultGroup()  | 
MetaLabeledTestResultGroup(MetaLabeledTestResultGroupAction parentAction,
                          String description)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addTestResult(String label,
             hudson.tasks.test.TestResult result)  | 
void | 
addTestResultGroup(String label,
                  LabeledTestResultGroup group)  | 
hudson.tasks.test.TestResult | 
findCorrespondingResult(String id)  | 
protected Collection<hudson.tasks.test.TestResult> | 
flattenTopTier(Collection<LabeledTestResultGroup> twoTieredCollection)  | 
Collection<? extends hudson.tasks.test.TestResult> | 
getChildren()  | 
Collection<? extends hudson.tasks.test.TestResult> | 
getChildrenForLabel(String label)  | 
String | 
getChildTitle()  | 
String | 
getDescription()  | 
String | 
getDisplayName()  | 
float | 
getDuration()  | 
Object | 
getDynamic(String token,
          org.kohsuke.stapler.StaplerRequest req,
          org.kohsuke.stapler.StaplerResponse rsp)  | 
int | 
getFailCount()
Gets the number of failed tests. 
 | 
int | 
getFailDiff()  | 
int | 
getFailedSince()  | 
hudson.model.Run<?,?> | 
getFailedSinceRun()  | 
Collection<? extends hudson.tasks.test.TestResult> | 
getFailedTests()  | 
LabeledTestResultGroup | 
getGroupByLabel(String label)  | 
Collection<LabeledTestResultGroup> | 
getGroups()  | 
Collection<String> | 
getLabels()
The list of labels currently in use by the children 
 | 
String | 
getName()  | 
hudson.tasks.test.TestObject | 
getParent()
Strange API. 
 | 
int | 
getPassCount()
Gets the number of passed tests. 
 | 
int | 
getPassDiff()  | 
Collection<? extends hudson.tasks.test.TestResult> | 
getPassedTests()  | 
MetaLabeledTestResultGroup | 
getPreviousResult()  | 
hudson.tasks.test.TestResult | 
getResultInBuild(hudson.model.AbstractBuild<?,?> build)  | 
hudson.model.Run<?,?> | 
getRun()  | 
int | 
getSkipCount()
Gets the total number of skipped tests 
 | 
int | 
getSkipDiff()  | 
Collection<? extends hudson.tasks.test.TestResult> | 
getSkippedTests()  | 
List<hudson.tasks.junit.TestAction> | 
getTestActions()
I wish the superclass didn't call this. 
 | 
MetaLabeledTestResultGroupAction | 
getTestResultAction()  | 
String | 
getTitle()  | 
int | 
getTotalDiff()  | 
boolean | 
hasChildren()  | 
boolean | 
isPassed()  | 
void | 
setDescription(String description)  | 
void | 
setParentAction(MetaLabeledTestResultGroupAction parentAction)  | 
void | 
tally()  | 
String | 
toPrettyString()  | 
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getParentAction, getResultInRun, getStderr, getStdout, setParent, setParentActiondoSubmitDescription, getApi, getDurationString, getFullDisplayName, getFullName, getHistory, getId, getRelativePathFrom, getSafeName, getSearchUrl, getTestAction, getTestResult, getTopLevelTestResult, getTotalCount, getUrl, safe, uniquifyNameprotected Map<String,LabeledTestResultGroup> childrenByLabel
protected transient Map<String,Collection<hudson.tasks.test.TestResult>> failedTestsByLabel
protected transient Map<String,Collection<hudson.tasks.test.TestResult>> passedTestsByLabel
protected transient Map<String,Collection<hudson.tasks.test.TestResult>> skippedTestsByLabel
protected transient Collection<hudson.tasks.test.TestResult> allFailedTests
protected transient Collection<hudson.tasks.test.TestResult> allPassedTests
protected transient Collection<hudson.tasks.test.TestResult> allSkippedTests
protected int failCount
protected int skipCount
protected int passCount
protected int totalCount
protected float duration
protected transient boolean cacheDirty
protected transient MetaLabeledTestResultGroupAction parentAction
protected String description
protected String groupId
public MetaLabeledTestResultGroup()
public MetaLabeledTestResultGroup(MetaLabeledTestResultGroupAction parentAction, String description)
public void tally()
tally in class hudson.tasks.test.TestResultpublic Collection<String> getLabels()
@Exported(inline=true,
          visibility=99)
public Collection<LabeledTestResultGroup> getGroups()
public LabeledTestResultGroup getGroupByLabel(String label)
public Collection<? extends hudson.tasks.test.TestResult> getChildrenForLabel(String label)
public MetaLabeledTestResultGroupAction getTestResultAction()
getTestResultAction in class hudson.tasks.test.TestObjectpublic List<hudson.tasks.junit.TestAction> getTestActions()
getTestActions in class hudson.tasks.test.TestObjectpublic void setParentAction(MetaLabeledTestResultGroupAction parentAction)
public void addTestResult(String label, hudson.tasks.test.TestResult result)
public void addTestResultGroup(String label, LabeledTestResultGroup group)
public String getTitle()
getTitle in class hudson.tasks.test.TestResultpublic String getName()
getName in class hudson.tasks.test.TestObjectpublic boolean isPassed()
isPassed in class hudson.tasks.test.TestResultpublic String getChildTitle()
getChildTitle in class hudson.tasks.test.TabulatedResultpublic MetaLabeledTestResultGroup getPreviousResult()
getPreviousResult in class hudson.tasks.test.TestResultpublic int getPassDiff()
public int getSkipDiff()
public int getFailDiff()
public int getTotalDiff()
public hudson.tasks.test.TestResult getResultInBuild(hudson.model.AbstractBuild<?,?> build)
getResultInBuild in class hudson.tasks.test.TestObjectpublic hudson.tasks.test.TestResult findCorrespondingResult(String id)
findCorrespondingResult in class hudson.tasks.test.TestObjectpublic int getFailedSince()
getFailedSince in class hudson.tasks.test.TestResultpublic hudson.model.Run<?,?> getFailedSinceRun()
getFailedSinceRun in class hudson.tasks.test.TestResult@Exported(visibility=99) public int getFailCount()
getFailCount in class hudson.tasks.test.TestResult@Exported(visibility=99) public int getSkipCount()
getSkipCount in class hudson.tasks.test.TestResult@Exported(visibility=99) public int getPassCount()
getPassCount in class hudson.tasks.test.TestResultpublic Collection<? extends hudson.tasks.test.TestResult> getFailedTests()
getFailedTests in class hudson.tasks.test.MetaTabulatedResultpublic Collection<? extends hudson.tasks.test.TestResult> getSkippedTests()
getSkippedTests in class hudson.tasks.test.TestResultpublic Collection<? extends hudson.tasks.test.TestResult> getPassedTests()
getPassedTests in class hudson.tasks.test.TestResultpublic Collection<? extends hudson.tasks.test.TestResult> getChildren()
getChildren in class hudson.tasks.test.TabulatedResultpublic boolean hasChildren()
hasChildren in class hudson.tasks.test.TabulatedResultpublic hudson.model.Run<?,?> getRun()
getRun in class hudson.tasks.junit.TestObjectpublic hudson.tasks.test.TestObject getParent()
getParent in class hudson.tasks.test.TestObject@Exported(visibility=99) public float getDuration()
getDuration in class hudson.tasks.test.TestResult@Exported(visibility=99) public String getDisplayName()
@Exported(visibility=99) public String getDescription()
getDescription in class hudson.tasks.test.TestObjectpublic void setDescription(String description)
setDescription in class hudson.tasks.test.TestObjectpublic Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic in class hudson.tasks.test.TestObjectpublic String toPrettyString()
toPrettyString in class hudson.tasks.test.TestResultprotected Collection<hudson.tasks.test.TestResult> flattenTopTier(Collection<LabeledTestResultGroup> twoTieredCollection)
Copyright © 2004-2017 Yahoo!, Inc.. All Rights Reserved.