Schnittstelle StatisticsCoverage.CoverageChecker
- Umschließende Schnittstelle:
StatisticsCoverage
public static interface StatisticsCoverage.CoverageChecker
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidcount(BiConsumer<? super Integer, ? super Integer> countChecker) Check the number of occurrences using one or more assertions.voidcount(BiPredicate<? super Integer, ? super Integer> countChecker) Check the number of occurrences using one or more assertions.voidCheck the number of occurrences returning true (ok) or false (fail).voidCheck the number of occurrences returning true (ok) or false (fail)voidpercentage(Consumer<? super Double> percentageChecker) Check the number of occurrences returning true (ok) or false (fail).voidpercentage(Predicate<? super Double> percentageChecker) Check the percentage of occurrences returning true (ok) or false (fail)
-
Methodendetails
-
count
-
count
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
-
count
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
-
percentage
-