Class ResultCount


  • public class ResultCount
    extends Object
    The aggregated results.
    • Constructor Detail

      • ResultCount

        public ResultCount()
        Default constructor resetting all counts.
    • Method Detail

      • addPassed

        public void addPassed​(int passedCount)
        Add an amount of passed entries to the overall results.
        Parameters:
        passedCount - The number of passed entries to add.
      • addFailed

        public void addFailed​(int failedCount)
        Add an amount of failed entries to the overall results.
        Parameters:
        failedCount - The number of failed entries to add.
      • addSkipped

        public void addSkipped​(int skippedCount)
        Add an amount of skipped entries to the overall results.
        Parameters:
        skippedCount - The number of skipped entries to add.
      • getPassed

        public int getPassed()
        Get the total amount of passed entries.
        Returns:
        The count.
      • getFailed

        public int getFailed()
        Get the total amount of passed entries.
        Returns:
        The count.
      • getSkipped

        public int getSkipped()
        Get the total amount of passed entries.
        Returns:
        The count.
      • getTotal

        public int getTotal()
        Get the total amount of all entries.
        Returns:
        The count.