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()
        Description copied from interface: Reportable
        Returns name of the element that will be displayed to user.
        Specified by:
        getName in interface Reportable
      • getFeatures

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

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

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

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

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

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

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

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

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

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

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

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

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