@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, setParentAction
doSubmitDescription, getApi, getDurationString, getFullDisplayName, getFullName, getHistory, getId, getRelativePathFrom, getSafeName, getSearchUrl, getTestAction, getTestResult, getTopLevelTestResult, getTotalCount, getUrl, safe, uniquifyName
protected 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.TestResult
public 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.TestObject
public List<hudson.tasks.junit.TestAction> getTestActions()
getTestActions
in class hudson.tasks.test.TestObject
public 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.TestResult
public String getName()
getName
in class hudson.tasks.test.TestObject
public boolean isPassed()
isPassed
in class hudson.tasks.test.TestResult
public String getChildTitle()
getChildTitle
in class hudson.tasks.test.TabulatedResult
public MetaLabeledTestResultGroup getPreviousResult()
getPreviousResult
in class hudson.tasks.test.TestResult
public 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.TestObject
public hudson.tasks.test.TestResult findCorrespondingResult(String id)
findCorrespondingResult
in class hudson.tasks.test.TestObject
public int getFailedSince()
getFailedSince
in class hudson.tasks.test.TestResult
public 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.TestResult
public Collection<? extends hudson.tasks.test.TestResult> getFailedTests()
getFailedTests
in class hudson.tasks.test.MetaTabulatedResult
public Collection<? extends hudson.tasks.test.TestResult> getSkippedTests()
getSkippedTests
in class hudson.tasks.test.TestResult
public Collection<? extends hudson.tasks.test.TestResult> getPassedTests()
getPassedTests
in class hudson.tasks.test.TestResult
public Collection<? extends hudson.tasks.test.TestResult> getChildren()
getChildren
in class hudson.tasks.test.TabulatedResult
public boolean hasChildren()
hasChildren
in class hudson.tasks.test.TabulatedResult
public hudson.model.Run<?,?> getRun()
getRun
in class hudson.tasks.junit.TestObject
public 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.TestObject
public void setDescription(String description)
setDescription
in class hudson.tasks.test.TestObject
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic
in class hudson.tasks.test.TestObject
public String toPrettyString()
toPrettyString
in class hudson.tasks.test.TestResult
protected Collection<hudson.tasks.test.TestResult> flattenTopTier(Collection<LabeledTestResultGroup> twoTieredCollection)
Copyright © 2004-2017 Yahoo!, Inc.. All Rights Reserved.