org.jenkinsci.plugins.cucumber.jsontestsupport
Class FeatureResult
java.lang.Object
hudson.model.AbstractModelObject
hudson.tasks.junit.TestObject
hudson.tasks.test.TestObject
hudson.tasks.test.TestResult
hudson.tasks.test.TabulatedResult
hudson.tasks.test.MetaTabulatedResult
org.jenkinsci.plugins.cucumber.jsontestsupport.FeatureResult
- All Implemented Interfaces:
- hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, Serializable
@ExportedBean
public class FeatureResult
- extends hudson.tasks.test.MetaTabulatedResult
Represents a single Feature in Cucumber.
- Author:
- James Nord
- See Also:
- Serialized Form
| Methods inherited from class hudson.tasks.test.TestResult |
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getParentAction, getPassedTests, getPreviousResult, getResultInBuild, getSkippedTests, getStderr, getStdout, getTitle, isPassed, setParent, setParentAction, toPrettyString |
| Methods inherited from class hudson.tasks.test.TestObject |
doSubmitDescription, getApi, getDescription, getDurationString, getHistory, getId, getRelativePathFrom, getSearchUrl, getTestAction, getTestActions, getTestResult, getTestResultAction, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyName |
| 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 |
getDisplayName
public String getDisplayName()
getName
@Exported(visibility=9)
public String getName()
- Overrides:
getName in class hudson.tasks.test.TestObject
getChildren
public Collection<ScenarioResult> getChildren()
- Specified by:
getChildren in class hudson.tasks.test.TabulatedResult
getScenarioResults
@Exported(visibility=9)
public Collection<ScenarioResult> getScenarioResults()
getChildTitle
public String getChildTitle()
- Overrides:
getChildTitle in class hudson.tasks.test.TabulatedResult
hasChildren
public boolean hasChildren()
- Specified by:
hasChildren in class hudson.tasks.test.TabulatedResult
getOwner
public hudson.model.AbstractBuild<?,?> getOwner()
- Specified by:
getOwner in class hudson.tasks.test.TestObject
setOwner
public void setOwner(hudson.model.AbstractBuild<?,?> owner)
getParent
public hudson.tasks.test.TestObject getParent()
- Overrides:
getParent in class hudson.tasks.test.TestObject
setParent
protected void setParent(CucumberTestResult parent)
findCorrespondingResult
public hudson.tasks.test.TestResult findCorrespondingResult(String id)
- Specified by:
findCorrespondingResult in class hudson.tasks.test.TestObject
getFailedTests
public Collection<ScenarioResult> getFailedTests()
- Specified by:
getFailedTests in class hudson.tasks.test.MetaTabulatedResult
getURI
public String getURI()
getFeature
public gherkin.formatter.model.Feature getFeature()
getSafeName
public String getSafeName()
- Overrides:
getSafeName in class hudson.tasks.test.TestObject
tally
public void tally()
- Overrides:
tally in class hudson.tasks.test.TestResult
getFailCount
public int getFailCount()
- Overrides:
getFailCount in class hudson.tasks.test.TestResult
getPassCount
public int getPassCount()
- Overrides:
getPassCount in class hudson.tasks.test.TestResult
getDuration
public float getDuration()
- Overrides:
getDuration in class hudson.tasks.test.TestResult
getSkipCount
public int getSkipCount()
- Overrides:
getSkipCount in class hudson.tasks.test.TestResult
getDynamic
public Object getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
- Overrides:
getDynamic in class hudson.tasks.test.TestObject
Copyright © 2013. All Rights Reserved.