Package net.masterthought.cucumber
Class EmptyReportable
- java.lang.Object
-
- net.masterthought.cucumber.EmptyReportable
-
- All Implemented Interfaces:
Reportable
public class EmptyReportable extends Object implements Reportable
Defines empty reportable that is usded when the build fails.- Author:
- Damian Szczepanik (damianszczepanik@github)
-
-
Constructor Summary
Constructors Constructor Description EmptyReportable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDuration()
int
getFailedFeatures()
int
getFailedScenarios()
int
getFailedSteps()
int
getFeatures()
String
getFormattedDuration()
String
getName()
int
getPassedFeatures()
int
getPassedScenarios()
int
getPassedSteps()
int
getPendingSteps()
int
getScenarios()
int
getSkippedSteps()
Status
getStatus()
int
getSteps()
int
getUndefinedSteps()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceReportable
- Returns:
- name of the element that will be displayed to user.
-
getFeatures
public int getFeatures()
- Specified by:
getFeatures
in interfaceReportable
- Returns:
- number of features for this element.
-
getPassedFeatures
public int getPassedFeatures()
- Specified by:
getPassedFeatures
in interfaceReportable
- Returns:
- number of passed features for this element.
-
getFailedFeatures
public int getFailedFeatures()
- Specified by:
getFailedFeatures
in interfaceReportable
- Returns:
- number of failed features for this element.
-
getScenarios
public int getScenarios()
- Specified by:
getScenarios
in interfaceReportable
- Returns:
- number of scenarios for this element.
-
getPassedScenarios
public int getPassedScenarios()
- Specified by:
getPassedScenarios
in interfaceReportable
- Returns:
- number of passed scenarios for this element.
-
getFailedScenarios
public int getFailedScenarios()
- Specified by:
getFailedScenarios
in interfaceReportable
- Returns:
- number of failed scenarios for this element.
-
getSteps
public int getSteps()
- Specified by:
getSteps
in interfaceReportable
- Returns:
- number of all steps for this element.
-
getPassedSteps
public int getPassedSteps()
- Specified by:
getPassedSteps
in interfaceReportable
- Returns:
- number of passed steps for this element.
-
getFailedSteps
public int getFailedSteps()
- Specified by:
getFailedSteps
in interfaceReportable
- Returns:
- number of failed steps for this element.
-
getSkippedSteps
public int getSkippedSteps()
- Specified by:
getSkippedSteps
in interfaceReportable
- Returns:
- number of skipped steps for this element.
-
getUndefinedSteps
public int getUndefinedSteps()
- Specified by:
getUndefinedSteps
in interfaceReportable
- Returns:
- number of undefined steps for this element.
-
getPendingSteps
public int getPendingSteps()
- Specified by:
getPendingSteps
in interfaceReportable
- Returns:
- number of pending steps for this element.
-
getDuration
public long getDuration()
- Specified by:
getDuration
in interfaceReportable
- Returns:
- duration as milliseconds for this element.
-
getFormattedDuration
public String getFormattedDuration()
- Specified by:
getFormattedDuration
in interfaceReportable
- Returns:
- formatted duration for this element.
-
getStatus
public Status getStatus()
- Specified by:
getStatus
in interfaceReportable
- Returns:
- status for this element.
-
-