Home
last modified time | relevance | path

Searched refs:pluralize (Results 1 – 14 of 14) 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()
/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.java9 public static String pluralize(int number) { in pluralize() method in Pluralizer
/external/testng/src/main/java/org/testng/reporters/jq/
DBannerPanel.java17 String testResult = failedCount > 0 ? ", " + pluralize(failedCount, "failed test") : ""; in generate()
18 String subTitle = pluralize(getModel().getSuites().size(), "suite") in generate()
DTestPanel.java35 String name = test.getName() + " (" + pluralize(count, "class") + ")"; in getContent()
46 return pluralize(suite.getXmlSuite().getTests().size(), "test"); in getNavigatorLink()
DBasePanel.java26 protected static String pluralize(int count, String singular) { in pluralize() method in BasePanel
DGroupPanel.java47 return pluralize(getModel().getGroups(suite.getName()).size(), "group"); in getNavigatorLink()
DIgnoredMethodsPanel.java23 return pluralize(suite.getExcludedMethods().size(), "ignored method"); in getHeader()
DNavigatorPanel.java101 pluralize(total, "method"), in generateResult()
/external/testng/src/main/java/org/testng/reporters/
DJqReporter.java89 pluralize(total, "method"), failed, skipped, passed); in generateSuites()
99 header.addOptional(S, String.format("%s ", pluralize(results.values().size(), "test"), in generateSuites()
230 private String pluralize(int count, String singular) { in pluralize() method in JqReporter
DSuiteHTMLReporter.java601 .append(suiteResults.size()).append(" ").append(pluralize(suiteResults.size(), "test")) in generateTableOfContents()
605 .append(m_classes.size() + " " + pluralize(m_classes.size(), "class")) in generateTableOfContents()
608 .append("<td>" + methodCount + " " + pluralize(methodCount, "method") + ":<br/>\n") in generateTableOfContents()
616 …et='mainFrame' href='").append(GROUPS).append("'>").append(groupCount + pluralize(groupCount, " gr… in generateTableOfContents()
672 private String pluralize(int count, String singular) { in pluralize() method in SuiteHTMLReporter
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java31 import static org.mockito.internal.reporting.Pluralizer.pluralize;
362 "Wanted " + pluralize(wantedCount) + ":", in createTooManyInvocationsMessage()
364 "But was " + pluralize(actualCount) + ". Undesired invocation:", in createTooManyInvocationsMessage()
503 …return new MockitoAssertionError(join("Wanted at most " + pluralize(maxNumberOfInvocations) + " bu… in wantedAtMostX()
/external/jcommander/src/main/java/com/beust/jcommander/
DJCommander.java322 + pluralize(m_requiredFields.size(), "option is required: ", "options are required: ") in validateOptions()
335 private static String pluralize(int quantity, String singular, String plural) { in pluralize() method in JCommander
/external/e2fsprogs/po/
Dcs.po5357 # TODO pluralize
6188 # TODO pluralize