org.jenkinsci.plugins.cucumber.jsontestsupport
Class CucumberTestResultAction
java.lang.Object
hudson.tasks.test.AbstractTestResultAction<CucumberTestResultAction>
org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, org.kohsuke.stapler.StaplerProxy
public class CucumberTestResultAction
- extends hudson.tasks.test.AbstractTestResultAction<CucumberTestResultAction>
- implements org.kohsuke.stapler.StaplerProxy
Action that displays the Cucumber test result.
The actual test reports are isolated by WeakReference
so that it doesn't eat up too much memory.
- Author:
- James Nord, Kohsuke Kawaguchi (original junit support)
| Fields inherited from class hudson.tasks.test.AbstractTestResultAction |
owner |
| Methods inherited from class hudson.tasks.test.AbstractTestResultAction |
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getDescription, getFailedTests, getFailureDiffString, getIconFileName, getPreviousResult, getTestResultPath, readResolve, setDescription |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CucumberTestResultAction
public CucumberTestResultAction(hudson.model.AbstractBuild owner,
CucumberTestResult result,
hudson.model.BuildListener listener)
setResult
public void setResult(CucumberTestResult result,
hudson.model.BuildListener listener)
- Overwrites the
CucumberTestResult by a new data set.
getFailCount
@Exported(visibility=2)
public int getFailCount()
- Specified by:
getFailCount in class hudson.tasks.test.AbstractTestResultAction<CucumberTestResultAction>
getTotalCount
@Exported(visibility=2)
public int getTotalCount()
- Specified by:
getTotalCount in class hudson.tasks.test.AbstractTestResultAction<CucumberTestResultAction>
getSkipCount
@Exported(visibility=2)
public int getSkipCount()
- Overrides:
getSkipCount in class hudson.tasks.test.AbstractTestResultAction<CucumberTestResultAction>
getResult
public CucumberTestResult getResult()
- Specified by:
getResult in class hudson.tasks.test.AbstractTestResultAction<CucumberTestResultAction>
getTarget
public Object getTarget()
- Specified by:
getTarget in interface org.kohsuke.stapler.StaplerProxy
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject- Overrides:
getDisplayName in class hudson.tasks.test.AbstractTestResultAction<CucumberTestResultAction>
getUrlName
public String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action- Overrides:
getUrlName in class hudson.tasks.test.AbstractTestResultAction<CucumberTestResultAction>
Copyright © 2013-2014. All Rights Reserved.