Class 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 Detail

      • EmptyReportable

        public EmptyReportable()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface Reportable
        Returns:
        name of the element that will be displayed to user.
      • getFeatures

        public int getFeatures()
        Specified by:
        getFeatures in interface Reportable
        Returns:
        number of features for this element.
      • getPassedFeatures

        public int getPassedFeatures()
        Specified by:
        getPassedFeatures in interface Reportable
        Returns:
        number of passed features for this element.
      • getFailedFeatures

        public int getFailedFeatures()
        Specified by:
        getFailedFeatures in interface Reportable
        Returns:
        number of failed features for this element.
      • getScenarios

        public int getScenarios()
        Specified by:
        getScenarios in interface Reportable
        Returns:
        number of scenarios for this element.
      • getPassedScenarios

        public int getPassedScenarios()
        Specified by:
        getPassedScenarios in interface Reportable
        Returns:
        number of passed scenarios for this element.
      • getFailedScenarios

        public int getFailedScenarios()
        Specified by:
        getFailedScenarios in interface Reportable
        Returns:
        number of failed scenarios for this element.
      • getSteps

        public int getSteps()
        Specified by:
        getSteps in interface Reportable
        Returns:
        number of all steps for this element.
      • getPassedSteps

        public int getPassedSteps()
        Specified by:
        getPassedSteps in interface Reportable
        Returns:
        number of passed steps for this element.
      • getFailedSteps

        public int getFailedSteps()
        Specified by:
        getFailedSteps in interface Reportable
        Returns:
        number of failed steps for this element.
      • getSkippedSteps

        public int getSkippedSteps()
        Specified by:
        getSkippedSteps in interface Reportable
        Returns:
        number of skipped steps for this element.
      • getUndefinedSteps

        public int getUndefinedSteps()
        Specified by:
        getUndefinedSteps in interface Reportable
        Returns:
        number of undefined steps for this element.
      • getPendingSteps

        public int getPendingSteps()
        Specified by:
        getPendingSteps in interface Reportable
        Returns:
        number of pending steps for this element.
      • getDuration

        public long getDuration()
        Specified by:
        getDuration in interface Reportable
        Returns:
        duration as milliseconds for this element.