public class RobotCaseResult extends RobotTestObject
duration| Constructor and Description |
|---|
RobotCaseResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
doDurationGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Return duration graph of the case in the request.
|
void |
doGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Return duration graph of the case in the request.
|
int |
getAge()
Get the number of builds this test case has failed for
|
String |
getDisplayName() |
long |
getDuration()
Get duration of this testobject run
|
String |
getEndtime() |
String |
getErrorMsg() |
int |
getFailed() |
int |
getFailedSince()
Gives the buildnumber of the build that this case first failed in
|
hudson.model.Run<?,?> |
getFailedSinceRun()
Gives the run that this case first failed in
|
String |
getName() |
RobotTestObject |
getParent() |
int |
getPassed() |
RobotCaseResult |
getPreviousResult()
Gives the corresponding caseresult from previous build
|
String |
getSearchUrl() |
String |
getStarttime() |
boolean |
isCritical() |
boolean |
isPassed() |
void |
setCritical(boolean critical) |
void |
setEndtime(String endtime) |
void |
setErrorMsg(String errorMsg) |
void |
setFailedSince(int failedSince) |
void |
setName(String name) |
void |
setParent(RobotSuiteResult parent) |
void |
setPassed(boolean passed) |
void |
setStarttime(String starttime) |
static long |
timeDifference(String time1,
String time2)
Difference between string timevalues in format yyyyMMdd HH:mm:ss.SS (Java DateFormat).
|
getDuplicateSafeName, getDurationDiff, getHumanReadableDuration, getOldFormatName, getOwner, getParentAction, getRelativeId, getRelativePackageName, getResultInBuild, isNeedToGenerate, setDuplicateSafeName, setParentAction, urlEncodepublic static long timeDifference(String time1, String time2) throws ParseException
time1 - time2 - ParseExceptionpublic String getName()
getName in class RobotTestObjectpublic void setName(String name)
public RobotTestObject getParent()
getParent in class RobotTestObjectpublic void setParent(RobotSuiteResult parent)
public long getDuration()
RobotTestObjectgetDuration in class RobotTestObjectpublic String getStarttime()
public void setStarttime(String starttime)
public String getEndtime()
public void setEndtime(String endtime)
public String getErrorMsg()
public void setErrorMsg(String errorMsg)
public void setPassed(boolean passed)
public void setCritical(boolean critical)
public String getDisplayName()
public String getSearchUrl()
public boolean isPassed()
public boolean isCritical()
public int getFailedSince()
public void setFailedSince(int failedSince)
public RobotCaseResult getPreviousResult()
getPreviousResult in class RobotTestObjectpublic hudson.model.Run<?,?> getFailedSinceRun()
public int getAge()
public void doDurationGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
req - rsp - IOExceptionpublic void doGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
req - rsp - IOExceptionpublic int getFailed()
getFailed in class RobotTestObjectpublic int getPassed()
getPassed in class RobotTestObjectCopyright © 2004-2014. All Rights Reserved.