|
||||||||||
| 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.RobotCaseResult
public class RobotCaseResult
| Constructor Summary | |
|---|---|
RobotCaseResult(RobotSuiteResult parent,
org.dom4j.Element testCase)
Create new case result from |
|
RobotCaseResult(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
doDurationGraph(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 |
java.lang.String |
getDisplayName()
|
long |
getDuration()
|
java.lang.String |
getErrorMsg()
|
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 |
java.lang.String |
getName()
|
RobotTestObject |
getParent()
|
RobotCaseResult |
getPreviousResult()
Gives the corresponding caseresult from previous build |
java.lang.String |
getSearchUrl()
|
boolean |
isCritical()
|
boolean |
isPassed()
|
void |
setCritical(boolean critical)
|
void |
setDuration(long duration)
|
void |
setErrorMsg(java.lang.String errorMsg)
|
void |
setPassed(boolean passed)
|
protected long |
timeDifference(java.lang.String time1,
java.lang.String time2)
Difference between string timevalues in format yyyyMMdd HH:mm:ss.SS (Java DateFormat). |
| 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 RobotCaseResult(java.lang.String name)
public RobotCaseResult(RobotSuiteResult parent,
org.dom4j.Element testCase)
parent - parent suite objecttestCase - testcase elemen in xml| Method Detail |
|---|
protected long timeDifference(java.lang.String time1,
java.lang.String time2)
time1 - time2 -
public java.lang.String getName()
getName in class RobotTestObjectpublic RobotTestObject getParent()
getParent in class RobotTestObjectpublic long getDuration()
public void setDuration(long duration)
public java.lang.String getErrorMsg()
public void setErrorMsg(java.lang.String errorMsg)
public void setPassed(boolean passed)
public void setCritical(boolean critical)
public java.lang.String getDisplayName()
public java.lang.String getSearchUrl()
public boolean isPassed()
public boolean isCritical()
public int getFailedSince()
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 java.io.IOException
req - rsp -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||