Home
last modified time | relevance | path

Searched refs:Pluralizer (Results 1 – 4 of 4) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/reporting/
DPluralizerTest.java16 assertEquals("0 times", Pluralizer.pluralize(0)); in pluralizes_number()
17 assertEquals("1 time", Pluralizer.pluralize(1)); in pluralizes_number()
18 assertEquals("2 times", Pluralizer.pluralize(2)); in pluralizes_number()
19 assertEquals("20 times", Pluralizer.pluralize(20)); in pluralizes_number()
24 assertEquals("were exactly 0 interactions", Pluralizer.were_exactly_x_interactions(0)); in pluralizes_interactions()
25 assertEquals("was exactly 1 interaction", Pluralizer.were_exactly_x_interactions(1)); in pluralizes_interactions()
26 assertEquals("were exactly 100 interactions", Pluralizer.were_exactly_x_interactions(100)); in pluralizes_interactions()
/external/mockito/src/main/java/org/mockito/internal/reporting/
DDiscrepancy.java22 return Pluralizer.pluralize(wantedCount); in getPluralizedWantedCount()
30 return Pluralizer.pluralize(actualCount); in getPluralizedActualCount()
DPluralizer.java7 public class Pluralizer { class
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java38 import static org.mockito.internal.reporting.Pluralizer.pluralize;
39 import static org.mockito.internal.reporting.Pluralizer.were_exactly_x_interactions;