|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.plugins.testng.results.BaseResult
hudson.plugins.testng.results.MethodResult
public class MethodResult
Field Summary |
---|
Fields inherited from class hudson.plugins.testng.results.BaseResult |
---|
fullName, name, owner, parent |
Constructor Summary | |
---|---|
MethodResult(String name,
String status,
String description,
String duration,
Date startedAt,
String isConfig,
String testRunId,
String parentTestName,
String parentSuiteName,
String testInstanceName)
|
Method Summary | |
---|---|
void |
doGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates test method execution history graph |
void |
doGraphMap(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates map to make the graph clickable |
String |
getClassName()
Added only to expose class name as part of method result via .../api/xxx |
Object |
getCssClass()
|
String |
getDescription()
|
String |
getDisplayDescription()
Used on jelly page to display the proper (un)escaped version of description |
String |
getDisplayDuration()
Used on jelly page to display duration in human readable form |
String |
getDisplayExceptionMessage()
Used on jelly page to display the proper (un)escaped version of excp msg |
String |
getDisplayGroups()
Used on jelly page to display comma separate list of groups |
long |
getDuration()
|
MethodResultException |
getException()
|
String |
getExceptionString()
Added only to expose possible exception via .../api/xxx |
String |
getFullUrl()
|
List<String> |
getGroups()
|
List<String> |
getParameters()
|
String |
getParentSuiteName()
|
String |
getParentTestName()
|
Date |
getStartedAt()
|
String |
getStatus()
|
String |
getTestInstanceName()
|
String |
getTestRunId()
|
String |
getTestUuid()
|
String |
getUrl()
|
boolean |
isConfig()
|
void |
setException(MethodResultException exception)
|
void |
setGroups(List<String> groups)
|
void |
setParameters(List<String> parameters)
|
void |
setTestUuid(String testUuid)
|
Methods inherited from class hudson.plugins.testng.results.BaseResult |
---|
getApi, getDisplayName, getName, getOwner, getParent, setOwner, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodResult(String name, String status, String description, String duration, Date startedAt, String isConfig, String testRunId, String parentTestName, String parentSuiteName, String testInstanceName)
Method Detail |
---|
public String getTestUuid()
public void setTestUuid(String testUuid)
public String getTestInstanceName()
public String getParentTestName()
public String getParentSuiteName()
public String getTestRunId()
@Exported public Date getStartedAt()
public String getFullUrl()
public MethodResultException getException()
public void setException(MethodResultException exception)
public String getUrl()
getUrl
in class BaseResult
@Exported public long getDuration()
@Exported(visibility=9) public String getStatus()
@Exported public String getDescription()
@Exported public List<String> getGroups()
@Exported public List<String> getParameters()
@Exported(name="exception") public String getExceptionString()
@Exported(name="className") public String getClassName()
public void setGroups(List<String> groups)
public void setParameters(List<String> parameters)
public String getDisplayDescription()
public String getDisplayExceptionMessage()
public String getDisplayDuration()
public String getDisplayGroups()
public boolean isConfig()
public void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
req
- rsp
-
IOException
public void doGraphMap(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
req
- rsp
-
IOException
public Object getCssClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |