|
||||||||||
| 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
com.cwctravel.hudson.plugins.suitegroupedtests.junit.SuiteGroupResult
public class SuiteGroupResult
| Field Summary | |
|---|---|
protected java.util.Collection<TestResult> |
allFailedTests
|
protected java.util.Collection<TestResult> |
allPassedTests
|
protected java.util.Collection<TestResult> |
allSkippedTests
|
protected boolean |
cacheDirty
|
protected java.util.Map<java.lang.String,TestResult> |
childrenBySuiteName
|
protected java.lang.String |
description
|
protected float |
duration
|
protected int |
failCount
|
protected java.util.Map<java.lang.String,java.util.Collection<TestResult>> |
failedTestsBySuiteName
|
protected java.lang.String |
groupId
Effectively overrides TestObject.id, by overriding the accessors |
protected boolean |
keepLongStdio
|
protected SuiteGroupResultAction |
parentAction
|
protected int |
passCount
|
protected java.util.Map<java.lang.String,java.util.Collection<TestResult>> |
passedTestsBySuiteName
|
protected int |
skipCount
|
protected java.util.Map<java.lang.String,java.util.Collection<TestResult>> |
skippedTestsBySuiteName
|
protected int |
totalCount
|
| Constructor Summary | |
|---|---|
SuiteGroupResult()
|
|
SuiteGroupResult(java.lang.String description,
long buildTime,
org.apache.tools.ant.DirectoryScanner ds,
boolean keepLongStdio)
|
|
| Method Summary | |
|---|---|
void |
addTestResult(java.lang.String suiteName,
TestResult result)
|
hudson.tasks.test.TestResult |
findCorrespondingResult(java.lang.String id)
|
void |
freeze(SuiteGroupResultAction action)
|
java.util.Collection<? extends TestResult> |
getChildren()
|
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 TestResult> |
getFailedTests()
|
TestResult |
getGroupBySuiteName(java.lang.String suiteName)
|
java.util.Collection<TestResult> |
getGroups()
|
hudson.tasks.junit.History |
getHistory()
|
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 TestResult> |
getPassedTests()
|
SuiteGroupResult |
getPreviousResult()
|
hudson.tasks.test.TestResult |
getResultInBuild(hudson.model.AbstractBuild<?,?> build)
|
java.lang.String |
getRootUrl(java.lang.String urlName)
|
java.lang.String |
getRootUrl(hudson.tasks.junit.TestAction testAction)
|
int |
getSkipCount()
Gets the total number of skipped tests |
int |
getSkipDiff()
|
java.util.Collection<? extends TestResult> |
getSkippedTests()
|
java.util.Collection<java.lang.String> |
getSuiteNames()
The list of suiteNames currently in use by the children |
java.util.List<hudson.tasks.junit.TestAction> |
getTestActions()
|
SuiteGroupResultAction |
getTestResultAction()
|
java.lang.String |
getTitle()
|
hudson.tasks.test.TestResult |
getTopLevelTestResult()
|
int |
getTotalDiff()
|
boolean |
hasChildren()
|
boolean |
isPassed()
|
void |
parse(java.io.File reportFile)
|
void |
parse(long buildTime,
org.apache.tools.ant.DirectoryScanner results)
Collect reports from the given DirectoryScanner, while filtering out all files that were created before the given time. |
void |
setDescription(java.lang.String description)
|
void |
setParentAction(SuiteGroupResultAction 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, getId, getRelativePathFrom, getSafeName, getSearchUrl, getTestAction, getTestResult, 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 final java.util.Map<java.lang.String,TestResult> childrenBySuiteName
protected transient java.util.Map<java.lang.String,java.util.Collection<TestResult>> failedTestsBySuiteName
protected transient java.util.Map<java.lang.String,java.util.Collection<TestResult>> passedTestsBySuiteName
protected transient java.util.Map<java.lang.String,java.util.Collection<TestResult>> skippedTestsBySuiteName
protected transient java.util.Collection<TestResult> allFailedTests
protected transient java.util.Collection<TestResult> allPassedTests
protected transient java.util.Collection<TestResult> allSkippedTests
protected final boolean keepLongStdio
protected int failCount
protected int skipCount
protected int passCount
protected int totalCount
protected float duration
protected transient boolean cacheDirty
protected transient SuiteGroupResultAction parentAction
protected java.lang.String description
protected java.lang.String groupId
| Constructor Detail |
|---|
public SuiteGroupResult()
public SuiteGroupResult(java.lang.String description,
long buildTime,
org.apache.tools.ant.DirectoryScanner ds,
boolean keepLongStdio)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void tally()
tally in class hudson.tasks.test.TestResultpublic java.util.Collection<java.lang.String> getSuiteNames()
@Exported(inline=true,
visibility=99)
public java.util.Collection<TestResult> getGroups()
public TestResult getGroupBySuiteName(java.lang.String suiteName)
public SuiteGroupResultAction 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(SuiteGroupResultAction parentAction)
public void addTestResult(java.lang.String suiteName,
TestResult result)
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 SuiteGroupResult 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 TestResult> getFailedTests()
getFailedTests in class hudson.tasks.test.MetaTabulatedResultpublic java.util.Collection<? extends TestResult> getSkippedTests()
getSkippedTests in class hudson.tasks.test.TestResultpublic java.util.Collection<? extends TestResult> getPassedTests()
getPassedTests in class hudson.tasks.test.TestResultpublic java.util.Collection<? extends 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.TestResult
public void parse(long buildTime,
org.apache.tools.ant.DirectoryScanner results)
throws java.io.IOException
DirectoryScanner, while filtering out all files that were created before the given time.
java.io.IOException
public void parse(java.io.File reportFile)
throws java.io.IOException
java.io.IOExceptionpublic void freeze(SuiteGroupResultAction action)
public hudson.tasks.test.TestResult getTopLevelTestResult()
getTopLevelTestResult in class hudson.tasks.test.TestObjectpublic hudson.tasks.junit.History getHistory()
getHistory in class hudson.tasks.test.TestObjectpublic java.lang.String getRootUrl(java.lang.String urlName)
public java.lang.String getRootUrl(hudson.tasks.junit.TestAction testAction)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||