public class TestNGProjectAction
extends hudson.tasks.test.TestResultProjectAction
implements hudson.model.ProminentProjectAction
Constructor and Description |
---|
TestNGProjectAction(hudson.model.AbstractProject<?,?> project,
boolean escapeTestDescp,
boolean escapeExceptionMsg,
boolean showFailedBuilds) |
Modifier and Type | Method and Description |
---|---|
void |
doGraph(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Generates the graph that shows test pass/fail ratio
|
void |
doGraphMap(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
protected Class<TestNGTestResultBuildAction> |
getBuildActionClass() |
String |
getDisplayName() |
boolean |
getEscapeExceptionMsg() |
boolean |
getEscapeTestDescp() |
int |
getGraphHeight()
Getter for property 'graphHeight'.
|
String |
getGraphName()
Getter for property 'graphName'.
|
int |
getGraphWidth()
Getter for property 'graphWidth'.
|
String |
getIconFileName() |
TestNGTestResultBuildAction |
getLastCompletedBuildAction() |
hudson.model.AbstractProject<?,?> |
getProject()
Getter for property 'project'.
|
String |
getSearchUrl() |
String |
getUrlName() |
boolean |
isGraphActive()
Returns
true if there is a graph to plot. |
protected void |
populateDataSetBuilder(hudson.util.DataSetBuilder<String,hudson.util.ChartUtil.NumberOnlyBuildLabel> dataset) |
public TestNGProjectAction(hudson.model.AbstractProject<?,?> project, boolean escapeTestDescp, boolean escapeExceptionMsg, boolean showFailedBuilds)
protected Class<TestNGTestResultBuildAction> getBuildActionClass()
public boolean getEscapeTestDescp()
public boolean getEscapeExceptionMsg()
public hudson.model.AbstractProject<?,?> getProject()
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
getIconFileName
in class hudson.tasks.test.TestResultProjectAction
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
getDisplayName
in class hudson.tasks.test.TestResultProjectAction
public String getGraphName()
public String getUrlName()
getUrlName
in interface hudson.model.Action
getUrlName
in class hudson.tasks.test.TestResultProjectAction
public String getSearchUrl()
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
IOException
public boolean isGraphActive()
true
if there is a graph to plot.public TestNGTestResultBuildAction getLastCompletedBuildAction()
protected void populateDataSetBuilder(hudson.util.DataSetBuilder<String,hudson.util.ChartUtil.NumberOnlyBuildLabel> dataset)
public int getGraphWidth()
public int getGraphHeight()
Copyright © 2004-2016. All Rights Reserved.