org.jenkinsci.plugins.cucumber.jsontestsupport
Class StepResult

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.tasks.junit.TestObject
          extended by hudson.tasks.test.TestObject
              extended by hudson.tasks.test.TestResult
                  extended by org.jenkinsci.plugins.cucumber.jsontestsupport.StepResult
All Implemented Interfaces:
hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, Serializable

public class StepResult
extends hudson.tasks.test.TestResult

Represents a Step belonging to a Scenario from Cucumber.

Author:
James Nord
See Also:
Serialized Form

Method Summary
 hudson.tasks.test.TestResult findCorrespondingResult(String id)
           
 String getDisplayName()
           
 float getDuration()
           
 int getFailCount()
          Gets the total number of failed tests.
 hudson.model.AbstractBuild<?,?> getOwner()
           
 ScenarioResult getParent()
           
 int getPassCount()
          Gets the total number of passed tests.
 int getSkipCount()
          Gets the total number of skipped tests.
protected  void setParent(ScenarioResult parent)
           
 
Methods inherited from class hudson.tasks.test.TestResult
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getFailedTests, getParentAction, getPassedTests, getPreviousResult, getResultInBuild, getSkippedTests, getStderr, getStdout, getTitle, isPassed, setParent, setParentAction, tally, toPrettyString
 
Methods inherited from class hudson.tasks.test.TestObject
doSubmitDescription, getApi, getDescription, getDurationString, getDynamic, getHistory, getId, getName, getRelativePathFrom, getSafeName, 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
 

Method Detail

getDisplayName

public String getDisplayName()

getOwner

public hudson.model.AbstractBuild<?,?> getOwner()
Specified by:
getOwner in class hudson.tasks.test.TestObject

getParent

public ScenarioResult getParent()
Overrides:
getParent in class hudson.tasks.test.TestObject

setParent

protected void setParent(ScenarioResult parent)

findCorrespondingResult

public hudson.tasks.test.TestResult findCorrespondingResult(String id)
Specified by:
findCorrespondingResult in class hudson.tasks.test.TestObject

getDuration

public float getDuration()
Overrides:
getDuration in class hudson.tasks.test.TestResult

getPassCount

public int getPassCount()
Gets the total number of passed tests.

Overrides:
getPassCount in class hudson.tasks.test.TestResult

getFailCount

public int getFailCount()
Gets the total number of failed tests.

Overrides:
getFailCount in class hudson.tasks.test.TestResult

getSkipCount

public int getSkipCount()
Gets the total number of skipped tests.

Overrides:
getSkipCount in class hudson.tasks.test.TestResult


Copyright © 2013-2014. All Rights Reserved.