|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.plugins.robot.model.RobotTestObject
hudson.plugins.robot.model.RobotSuiteResult
public class RobotSuiteResult
| Constructor Summary | |
|---|---|
RobotSuiteResult()
|
|
| Method Summary | |
|---|---|
void |
addCaseResult(RobotCaseResult caseResult)
Adds a test case result to this suite. |
void |
addCaseResults(java.util.Collection<RobotCaseResult> newCaseResults)
If cases with same name exist, the originals are kept |
void |
addChild(RobotSuiteResult child)
Adds a nested suite to this suite. |
void |
addChildren(java.util.Collection<RobotSuiteResult> childSuites)
If suites with same name exist, the originals are kept |
void |
doDurationGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Return duration graph for the suite in the request. |
void |
doGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Return robot trend graph in the request. |
RobotTestObject |
findObjectById(java.lang.String id)
Get object by path in tree |
java.util.List<RobotSuiteResult> |
getAllChildSuites()
Get all children of this suite |
java.util.List<RobotCaseResult> |
getAllFailedCases()
Get all failed cases in this suite and its child suites |
RobotCaseResult |
getCase(java.lang.String name)
Get case result by safe name |
java.util.Collection<RobotCaseResult> |
getCaseResults()
Get all case results belonging to this suite |
java.util.Collection<RobotSuiteResult> |
getChildSuites()
Get the immediate child suites of this suite |
int |
getCriticalFailed()
Get number of failed critical tests |
int |
getCriticalPassed()
Get number of passed critical tests |
int |
getCriticalTotal()
Get number of all critical tests |
java.lang.String |
getDisplayName()
|
long |
getDuration()
Get duration of this testsuite run |
java.lang.Object |
getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerRequest rsp)
Get suite or case result by safe name |
int |
getFailed()
Get number of all failed tests |
java.lang.String |
getName()
Get the name of this suite |
RobotTestObject |
getParent()
Get the parent object of this suite in tree |
int |
getPassed()
Get number of all passed tests |
RobotSuiteResult |
getPreviousResult()
|
java.lang.String |
getSearchUrl()
|
RobotSuiteResult |
getSuite(java.lang.String name)
Get nested suite result by safe name |
int |
getTotal()
Get number of all tests |
void |
setName(java.lang.String name)
|
void |
setParent(RobotTestObject parent)
|
void |
tally(RobotBuildAction parentAction)
Count total values from children and set same parentaction to all |
| Methods inherited from class hudson.plugins.robot.model.RobotTestObject |
|---|
getOwner, getParentAction, getRelativeId, getRelativePackageName, getResultInBuild, getSafeName, isNeedToGenerate, setParentAction |
| 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 |
| Constructor Detail |
|---|
public RobotSuiteResult()
| Method Detail |
|---|
public void addChild(RobotSuiteResult child)
child - public java.util.Collection<RobotSuiteResult> getChildSuites()
public RobotTestObject getParent()
getParent in class RobotTestObjectpublic void setParent(RobotTestObject parent)
public java.lang.String getName()
getName in class RobotTestObjectpublic void setName(java.lang.String name)
public java.util.Collection<RobotCaseResult> getCaseResults()
public int getFailed()
public int getPassed()
public int getTotal()
public long getDuration()
public int getCriticalPassed()
public int getCriticalFailed()
public int getCriticalTotal()
public void addCaseResult(RobotCaseResult caseResult)
caseResult - public java.lang.String getDisplayName()
public java.lang.String getSearchUrl()
public RobotSuiteResult getSuite(java.lang.String name)
name -
public RobotCaseResult getCase(java.lang.String name)
name -
public RobotSuiteResult getPreviousResult()
getPreviousResult in class RobotTestObject
public java.lang.Object getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerRequest rsp)
token - req - rsp -
public java.util.List<RobotSuiteResult> getAllChildSuites()
public java.util.List<RobotCaseResult> getAllFailedCases()
public void tally(RobotBuildAction parentAction)
parentAction - public RobotTestObject findObjectById(java.lang.String id)
id -
public void doGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
req - rsp -
java.io.IOException
public void doDurationGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
req - rsp -
java.io.IOExceptionpublic void addChildren(java.util.Collection<RobotSuiteResult> childSuites)
childSuites - public void addCaseResults(java.util.Collection<RobotCaseResult> newCaseResults)
caseResults -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||