Schnittstelle StatisticsCoverage.CoverageChecker

Umschließende Schnittstelle:
StatisticsCoverage

public static interface StatisticsCoverage.CoverageChecker
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    count(BiConsumer<? super Integer,? super Integer> countChecker)
    Check the number of occurrences using one or more assertions.
    void
    count(BiPredicate<? super Integer,? super Integer> countChecker)
    Check the number of occurrences using one or more assertions.
    void
    count(Consumer<? super Integer> countChecker)
    Check the number of occurrences returning true (ok) or false (fail).
    void
    count(Predicate<? super Integer> countChecker)
    Check the number of occurrences returning true (ok) or false (fail)
    void
    percentage(Consumer<? super Double> percentageChecker)
    Check the number of occurrences returning true (ok) or false (fail).
    void
    percentage(Predicate<? super Double> percentageChecker)
    Check the percentage of occurrences returning true (ok) or false (fail)
  • Methodendetails

    • count

      void count(Predicate<? super Integer> countChecker)
      Check the number of occurrences returning true (ok) or false (fail)
      Parameter:
      countChecker - a predicate to accept a selected value set's number of occurrences
    • count

      void count(BiPredicate<? super Integer,? super Integer> countChecker)
      Check the number of occurrences using one or more assertions.
      Parameter:
      countChecker - a consumer to accept a selected value set's number of occurrences and the count of all submitted value sets to compare with or make a calculation
    • count

      void count(Consumer<? super Integer> countChecker)
      Check the number of occurrences returning true (ok) or false (fail).
      Parameter:
      countChecker - a predicate to accept a selected value set's number of occurrences
    • count

      void count(BiConsumer<? super Integer,? super Integer> countChecker)
      Check the number of occurrences using one or more assertions.
      Parameter:
      countChecker - a predicate to accept a selected value set's number of occurrences and the count of all submitted value sets to compare with or make a calculation
    • percentage

      void percentage(Predicate<? super Double> percentageChecker)
      Check the percentage of occurrences returning true (ok) or false (fail)
      Parameter:
      percentageChecker - a predicate to accept a selected value set's percentage (0.0 - 100.0) of occurrences
    • percentage

      void percentage(Consumer<? super Double> percentageChecker)
      Check the number of occurrences returning true (ok) or false (fail).
      Parameter:
      percentageChecker - a predicate to accept a selected value set's percentage (0.0 - 100.0) of occurrences