Class TagObject
java.lang.Object
net.masterthought.cucumber.json.support.TagObject
- All Implemented Interfaces:
Reportable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddElement(Element element) longintintintintgetName()intgetNumberOfStatus(Status status) intintintintintintintgetSteps()int
-
Constructor Details
-
TagObject
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceReportable- Returns:
- name of the element that will be displayed to user.
-
getReportFileName
-
addElement
-
getElements
-
getFeatures
public int getFeatures()- Specified by:
getFeaturesin interfaceReportable- Returns:
- number of features for this element.
-
getPassedFeatures
public int getPassedFeatures()- Specified by:
getPassedFeaturesin interfaceReportable- Returns:
- number of passed features for this element.
-
getFailedFeatures
public int getFailedFeatures()- Specified by:
getFailedFeaturesin interfaceReportable- Returns:
- number of failed features for this element.
-
getScenarios
public int getScenarios()- Specified by:
getScenariosin interfaceReportable- Returns:
- number of scenarios for this element.
-
getPassedScenarios
public int getPassedScenarios()- Specified by:
getPassedScenariosin interfaceReportable- Returns:
- number of passed scenarios for this element.
-
getFailedScenarios
public int getFailedScenarios()- Specified by:
getFailedScenariosin interfaceReportable- Returns:
- number of failed scenarios for this element.
-
getDuration
public long getDuration()- Specified by:
getDurationin interfaceReportable- Returns:
- duration as milliseconds for this element.
-
getFormattedDuration
- Specified by:
getFormattedDurationin interfaceReportable- Returns:
- formatted duration for this element.
-
getSteps
public int getSteps()- Specified by:
getStepsin interfaceReportable- Returns:
- number of all steps for this element.
-
getNumberOfStatus
-
getPassedSteps
public int getPassedSteps()- Specified by:
getPassedStepsin interfaceReportable- Returns:
- number of passed steps for this element.
-
getFailedSteps
public int getFailedSteps()- Specified by:
getFailedStepsin interfaceReportable- Returns:
- number of failed steps for this element.
-
getSkippedSteps
public int getSkippedSteps()- Specified by:
getSkippedStepsin interfaceReportable- Returns:
- number of skipped steps for this element.
-
getUndefinedSteps
public int getUndefinedSteps()- Specified by:
getUndefinedStepsin interfaceReportable- Returns:
- number of undefined steps for this element.
-
getPendingSteps
public int getPendingSteps()- Specified by:
getPendingStepsin interfaceReportable- Returns:
- number of pending steps for this element.
-
getStatus
- Specified by:
getStatusin interfaceReportable- Returns:
- status for this element.
-
getRawStatus
-