|
||||||||||
| 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
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.robot.model.RobotTestObject |
|---|
duration |
| Constructor Summary | |
|---|---|
RobotSuiteResult()
|
|
| Method Summary | |
|---|---|
void |
addCaseResult(RobotCaseResult caseResult)
Adds a test case result to this suite. |
void |
addCaseResults(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(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. |
void |
failTeardown()
Fail all cases because of teardown failure. |
RobotTestObject |
findObjectById(String id)
Get object by path in tree |
List<RobotCaseResult> |
getAllCases()
Get all cases in this suite and its child suites |
List<RobotSuiteResult> |
getAllChildSuites()
Get all children of this suite |
List<RobotCaseResult> |
getAllFailedCases()
Get all failed cases in this suite and its child suites |
RobotCaseResult |
getCase(String name)
Get case result by duplicate safe unencoded name |
Collection<RobotCaseResult> |
getCaseResults()
Get all case results belonging to this suite |
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 |
String |
getDisplayName()
|
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerRequest rsp)
Get suite or case result by url encoded name |
int |
getFailed()
Get number of all failed tests |
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()
|
String |
getSearchUrl()
|
RobotSuiteResult |
getSuite(String name)
Get nested suite result by duplicate safe unencoded name |
int |
getTotal()
Get number of all tests |
void |
setName(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 |
|---|
getDuplicateSafeName, getDuration, getDurationDiff, getHumanReadableDuration, getOldFormatName, getOwner, getParentAction, getRelativeId, getRelativePackageName, getResultInBuild, isNeedToGenerate, setDuplicateSafeName, setParentAction, urlDecode, urlEncode |
| 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 Collection<RobotSuiteResult> getChildSuites()
public RobotTestObject getParent()
getParent in class RobotTestObjectpublic void setParent(RobotTestObject parent)
public String getName()
getName in class RobotTestObjectpublic void setName(String name)
public Collection<RobotCaseResult> getCaseResults()
public int getFailed()
getFailed in class RobotTestObjectpublic int getPassed()
getPassed in class RobotTestObjectpublic int getTotal()
public int getCriticalPassed()
public int getCriticalFailed()
public int getCriticalTotal()
public void addCaseResult(RobotCaseResult caseResult)
caseResult - public String getDisplayName()
public String getSearchUrl()
public RobotSuiteResult getSuite(String name)
name -
public RobotCaseResult getCase(String name)
name -
public RobotSuiteResult getPreviousResult()
getPreviousResult in class RobotTestObject
public Object getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerRequest rsp)
token - req - rsp -
public List<RobotSuiteResult> getAllChildSuites()
public List<RobotCaseResult> getAllFailedCases()
public List<RobotCaseResult> getAllCases()
public void failTeardown()
public void tally(RobotBuildAction parentAction)
parentAction - public RobotTestObject findObjectById(String id)
id -
public void doGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
req - rsp -
IOException
public void doDurationGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
req - rsp -
IOExceptionpublic void addChildren(Collection<RobotSuiteResult> childSuites)
childSuites - public void addCaseResults(Collection<RobotCaseResult> newCaseResults)
newCaseResults -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||