@ExportedBean public class RobotResult extends RobotTestObject
duration| Constructor and Description |
|---|
RobotResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSuite(RobotSuiteResult suite)
Add a suite to this result.
|
hudson.model.DirectoryBrowserSupport |
doReport(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Serves Robot html report via robot url.
|
RobotTestObject |
findObjectById(String id)
Find a testobject in the result tree with id-path
|
List<RobotCaseResult> |
getAllFailedCases()
Get all failed test cases related to result.
|
List<RobotSuiteResult> |
getAllSuites()
Get all testsuites related to result.
|
hudson.model.Api |
getApi() |
long |
getCriticalFailed()
Get number of failed critical tests.
|
long |
getCriticalPassed()
Get number of passed critical tests.
|
long |
getCriticalTotal()
Get total number of critical tests.
|
String |
getDisplayName()
}
|
long |
getDuration()
Get the total duration of the test run
|
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Return the object represented by url-string
|
int |
getFailed() |
String |
getName() |
long |
getOverallFailed()
Get number of all failed tests.
|
long |
getOverallPassed()
Get number of all passed tests.
|
long |
getOverallTotal()
Get number of all tests.
|
RobotTestObject |
getParent() |
int |
getPassed() |
double |
getPassPercentage() |
double |
getPassPercentage(boolean onlyCritical)
Returns pass percentage of passed tests per total tests.
|
RobotResult |
getPreviousResult() |
String |
getSearchUrl() |
List<RobotResultStatistics> |
getStatsByCategory()
Get pass/fail stats by category.
|
RobotSuiteResult |
getSuite(String name)
Get top level suite by name
|
Collection<RobotSuiteResult> |
getSuites()
Get all top level suites
|
String |
getTimeStamp()
Get the timestamp of the original test run
|
void |
setStatsByCategory(List<RobotResultStatistics> statsByCategory) |
void |
setTimeStamp(String timeStamp)
Set the timestamp of test run
|
void |
tally(RobotBuildAction robotBuildAction)
Count the totals in result tree and assign parent action.
|
doDurationGraph, doGraph, getDuplicateSafeName, getDurationDiff, getHumanReadableDuration, getOldFormatName, getOwner, getParentAction, getRelativeId, getRelativePackageName, getResultInBuild, isNeedToGenerate, setDuplicateSafeName, setParentAction, urlEncodepublic RobotTestObject findObjectById(String id)
id - path e.g. "suite/subsuite/testcase"public String getName()
getName in class RobotTestObject@Exported public long getCriticalPassed()
@Exported public long getCriticalFailed()
@Exported public long getCriticalTotal()
@Exported public long getOverallPassed()
@Exported public long getOverallFailed()
@Exported public long getOverallTotal()
public List<RobotResultStatistics> getStatsByCategory()
public void setStatsByCategory(List<RobotResultStatistics> statsByCategory)
@Exported public String getTimeStamp()
public void setTimeStamp(String timeStamp)
timeStamp - public double getPassPercentage(boolean onlyCritical)
onlyCritical - true if only critical tests are to be calculated@Exported public double getPassPercentage()
public String getDisplayName()
public String getSearchUrl()
public RobotSuiteResult getSuite(String name)
name - public void addSuite(RobotSuiteResult suite)
suite - @Exported public Collection<RobotSuiteResult> getSuites()
public List<RobotSuiteResult> getAllSuites()
@Exported public List<RobotCaseResult> getAllFailedCases()
public void tally(RobotBuildAction robotBuildAction)
robotBuildAction - public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
token - req - rsp - public hudson.model.DirectoryBrowserSupport doReport(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException,
InterruptedException
req - rsp - IOExceptionjavax.servlet.ServletExceptionInterruptedExceptionpublic RobotTestObject getParent()
getParent in class RobotTestObjectpublic long getDuration()
getDuration in class RobotTestObjectpublic RobotResult getPreviousResult()
getPreviousResult in class RobotTestObjectpublic int getFailed()
getFailed in class RobotTestObjectpublic int getPassed()
getPassed in class RobotTestObjectpublic hudson.model.Api getApi()
Copyright © 2004-2014. All Rights Reserved.