|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.tasks.test.AbstractTestResultAction
hudson.plugins.robot.RobotBuildAction
public class RobotBuildAction
| Field Summary |
|---|
| Fields inherited from class hudson.tasks.test.AbstractTestResultAction |
|---|
owner |
| Constructor Summary | |
|---|---|
RobotBuildAction(hudson.model.AbstractBuild<?,?> build,
RobotResult result,
java.lang.String outputPath,
hudson.model.BuildListener listener,
java.lang.String logFileLink)
Create new Robot build action |
|
| Method Summary | |
|---|---|
void |
doGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Return robot trend graph in the request. |
void |
doIndex(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Serves Robot html report via robot url. |
RobotTestObject |
findObjectById(java.lang.String id)
Find test object from the results object tree |
double |
getCriticalPassPercentage()
Get ratio of passed tests per total tests. |
java.lang.String |
getDisplayName()
|
int |
getFailCount()
|
java.lang.String |
getIconFileName()
|
java.lang.String |
getLogFileLink()
Get filename to link to |
double |
getOverallPassPercentage()
Get ratio of passed tests per total tests. |
hudson.model.AbstractBuild<?,?> |
getOwner()
Get build associated to action |
java.lang.String |
getReportFileName()
Get file name for Robot html report. |
RobotResult |
getResult()
Returns Robotresult. |
hudson.FilePath |
getRobotDir()
Return path of robot files in build |
java.lang.Object |
getTarget()
Get the result object which is responsible for UI. |
int |
getTotalCount()
|
java.lang.String |
getUrlName()
|
void |
setResult(RobotResult result,
hudson.model.BuildListener listener)
Loads new data to RobotResult. |
| Methods inherited from class hudson.tasks.test.AbstractTestResultAction |
|---|
doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getDescription, getFailedTests, getFailureDiffString, getPreviousResult, getSkipCount, getTestResultPath, readResolve, setDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RobotBuildAction(hudson.model.AbstractBuild<?,?> build,
RobotResult result,
java.lang.String outputPath,
hudson.model.BuildListener listener,
java.lang.String logFileLink)
build - Build which this action is associated toresult - Robot resultoutputPath - Path where the Robot report is stored relative to build rootreportFileName - Name of Robot html report file stored| Method Detail |
|---|
public hudson.model.AbstractBuild<?,?> getOwner()
public java.lang.String getLogFileLink()
public void setResult(RobotResult result,
hudson.model.BuildListener listener)
RobotResult.
public RobotResult getResult()
getResult in class hudson.tasks.test.AbstractTestResultActionpublic java.lang.String getReportFileName()
public double getOverallPassPercentage()
public double getCriticalPassPercentage()
public RobotTestObject findObjectById(java.lang.String id)
id - path e.g. "suite/nestedsuite/testcase"
public java.lang.Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxy
public void doIndex(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException,
java.lang.InterruptedException
req - rsp -
java.io.IOException
javax.servlet.ServletException
java.lang.InterruptedException
public void doGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
doGraph in class hudson.tasks.test.AbstractTestResultActionreq - rsp -
java.io.IOExceptionpublic hudson.FilePath getRobotDir()
public int getFailCount()
getFailCount in class hudson.tasks.test.AbstractTestResultActionpublic int getTotalCount()
getTotalCount in class hudson.tasks.test.AbstractTestResultActionpublic java.lang.String getIconFileName()
getIconFileName in interface hudson.model.ActiongetIconFileName in class hudson.tasks.test.AbstractTestResultActionpublic java.lang.String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectgetDisplayName in class hudson.tasks.test.AbstractTestResultActionpublic java.lang.String getUrlName()
getUrlName in interface hudson.model.ActiongetUrlName in class hudson.tasks.test.AbstractTestResultAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||