|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.tasks.junit.TestObject
hudson.tasks.test.TestObject
hudson.tasks.test.TestResult
hudson.tasks.test.TabulatedResult
hudson.tasks.test.MetaTabulatedResult
hudson.plugins.labeledgroupedtests.MetaLabeledTestResultGroup
@ExportedBean public class MetaLabeledTestResultGroup
User: Benjamin Shine bshine Date: Oct 21, 2009 Time: 1:47:47 PM
| Field Summary | |
|---|---|
protected java.util.Collection<hudson.tasks.test.TestResult> |
allFailedTests
|
protected java.util.Collection<hudson.tasks.test.TestResult> |
allPassedTests
|
protected java.util.Collection<hudson.tasks.test.TestResult> |
allSkippedTests
|
protected boolean |
cacheDirty
|
protected java.util.Map<java.lang.String,LabeledTestResultGroup> |
childrenByLabel
|
protected java.lang.String |
description
|
protected float |
duration
|
protected int |
failCount
|
protected java.util.Map<java.lang.String,java.util.Collection<hudson.tasks.test.TestResult>> |
failedTestsByLabel
|
protected java.lang.String |
groupId
Effectively overrides TestObject.id, by overriding the accessors |
protected MetaLabeledTestResultGroupAction |
parentAction
|
protected int |
passCount
|
protected java.util.Map<java.lang.String,java.util.Collection<hudson.tasks.test.TestResult>> |
passedTestsByLabel
|
protected int |
skipCount
|
protected java.util.Map<java.lang.String,java.util.Collection<hudson.tasks.test.TestResult>> |
skippedTestsByLabel
|
protected int |
totalCount
|
| Constructor Summary | |
|---|---|
MetaLabeledTestResultGroup()
|
|
MetaLabeledTestResultGroup(MetaLabeledTestResultGroupAction parentAction,
java.lang.String description)
|
|
| Method Summary | |
|---|---|
void |
addTestResult(java.lang.String label,
hudson.tasks.test.TestResult result)
|
void |
addTestResultGroup(java.lang.String label,
LabeledTestResultGroup group)
|
hudson.tasks.test.TestResult |
findCorrespondingResult(java.lang.String id)
|
protected java.util.Collection<hudson.tasks.test.TestResult> |
flattenTopTier(java.util.Collection<LabeledTestResultGroup> twoTieredCollection)
|
java.util.Collection<? extends hudson.tasks.test.TestResult> |
getChildren()
|
java.util.Collection<? extends hudson.tasks.test.TestResult> |
getChildrenForLabel(java.lang.String label)
|
java.lang.String |
getChildTitle()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayName()
|
float |
getDuration()
|
java.lang.Object |
getDynamic(java.lang.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()
|
java.util.Collection<? extends hudson.tasks.test.TestResult> |
getFailedTests()
|
LabeledTestResultGroup |
getGroupByLabel(java.lang.String label)
|
java.util.Collection<LabeledTestResultGroup> |
getGroups()
|
java.util.Collection<java.lang.String> |
getLabels()
The list of labels currently in use by the children |
java.lang.String |
getName()
|
hudson.model.AbstractBuild<?,?> |
getOwner()
|
hudson.tasks.test.TestObject |
getParent()
Strange API. |
int |
getPassCount()
Gets the number of passed tests. |
int |
getPassDiff()
|
java.util.Collection<? extends hudson.tasks.test.TestResult> |
getPassedTests()
|
MetaLabeledTestResultGroup |
getPreviousResult()
|
hudson.tasks.test.TestResult |
getResultInBuild(hudson.model.AbstractBuild<?,?> build)
|
int |
getSkipCount()
Gets the total number of skipped tests |
int |
getSkipDiff()
|
java.util.Collection<? extends hudson.tasks.test.TestResult> |
getSkippedTests()
|
java.util.List<hudson.tasks.junit.TestAction> |
getTestActions()
I wish the superclass didn't call this. |
MetaLabeledTestResultGroupAction |
getTestResultAction()
|
java.lang.String |
getTitle()
|
int |
getTotalDiff()
|
boolean |
hasChildren()
|
boolean |
isPassed()
|
void |
setDescription(java.lang.String description)
|
void |
setParentAction(MetaLabeledTestResultGroupAction parentAction)
|
void |
tally()
|
java.lang.String |
toPrettyString()
|
| Methods inherited from class hudson.tasks.test.TestResult |
|---|
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getParentAction, getStderr, getStdout, setParent, setParentAction |
| Methods inherited from class hudson.tasks.test.TestObject |
|---|
doSubmitDescription, getApi, getDurationString, getHistory, getId, getRelativePathFrom, getSafeName, getSearchUrl, getTestAction, getTestResult, getTopLevelTestResult, getTotalCount, getUrl, safe, uniquifyName |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map<java.lang.String,LabeledTestResultGroup> childrenByLabel
protected transient java.util.Map<java.lang.String,java.util.Collection<hudson.tasks.test.TestResult>> failedTestsByLabel
protected transient java.util.Map<java.lang.String,java.util.Collection<hudson.tasks.test.TestResult>> passedTestsByLabel
protected transient java.util.Map<java.lang.String,java.util.Collection<hudson.tasks.test.TestResult>> skippedTestsByLabel
protected transient java.util.Collection<hudson.tasks.test.TestResult> allFailedTests
protected transient java.util.Collection<hudson.tasks.test.TestResult> allPassedTests
protected transient java.util.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 java.lang.String description
protected java.lang.String groupId
| Constructor Detail |
|---|
public MetaLabeledTestResultGroup()
public MetaLabeledTestResultGroup(MetaLabeledTestResultGroupAction parentAction,
java.lang.String description)
| Method Detail |
|---|
public void tally()
tally in class hudson.tasks.test.TestResultpublic java.util.Collection<java.lang.String> getLabels()
@Exported(inline=true,
visibility=99)
public java.util.Collection<LabeledTestResultGroup> getGroups()
public LabeledTestResultGroup getGroupByLabel(java.lang.String label)
public java.util.Collection<? extends hudson.tasks.test.TestResult> getChildrenForLabel(java.lang.String label)
public MetaLabeledTestResultGroupAction getTestResultAction()
getTestResultAction in class hudson.tasks.test.TestObjectpublic java.util.List<hudson.tasks.junit.TestAction> getTestActions()
getTestActions in class hudson.tasks.test.TestObjectpublic void setParentAction(MetaLabeledTestResultGroupAction parentAction)
public void addTestResult(java.lang.String label,
hudson.tasks.test.TestResult result)
public void addTestResultGroup(java.lang.String label,
LabeledTestResultGroup group)
public java.lang.String getTitle()
getTitle in class hudson.tasks.test.TestResultpublic java.lang.String getName()
getName in class hudson.tasks.test.TestObjectpublic boolean isPassed()
isPassed in class hudson.tasks.test.TestResultpublic java.lang.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.TestResultpublic hudson.tasks.test.TestResult findCorrespondingResult(java.lang.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 java.util.Collection<? extends hudson.tasks.test.TestResult> getFailedTests()
getFailedTests in class hudson.tasks.test.MetaTabulatedResultpublic java.util.Collection<? extends hudson.tasks.test.TestResult> getSkippedTests()
getSkippedTests in class hudson.tasks.test.TestResultpublic java.util.Collection<? extends hudson.tasks.test.TestResult> getPassedTests()
getPassedTests in class hudson.tasks.test.TestResultpublic java.util.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.AbstractBuild<?,?> getOwner()
getOwner in class hudson.tasks.test.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 java.lang.String getDisplayName()
@Exported(visibility=99) public java.lang.String getDescription()
getDescription in class hudson.tasks.test.TestObjectpublic void setDescription(java.lang.String description)
setDescription in class hudson.tasks.test.TestObject
public java.lang.Object getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
getDynamic in class hudson.tasks.test.TestObjectpublic java.lang.String toPrettyString()
toPrettyString in class hudson.tasks.test.TestResultprotected java.util.Collection<hudson.tasks.test.TestResult> flattenTopTier(java.util.Collection<LabeledTestResultGroup> twoTieredCollection)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||