Home
last modified time | relevance | path

Searched refs:pluralize (Results 1 – 19 of 19) 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.java38 import static org.mockito.internal.reporting.Pluralizer.pluralize;
371 "Wanted " + pluralize(wantedCount) + ":", in createTooManyInvocationsMessage()
373 "But was " + pluralize(actualCount) + ":", in createTooManyInvocationsMessage()
522 …return new MoreThanAllowedActualInvocations(join("Wanted at most " + pluralize(maxNumberOfInvocati… in wantedAtMostX()
/external/chromium-trace/catapult/third_party/polymer/components/polymer/
Dbuild.log404 pluralize: 1.2.1
/external/jcommander/src/main/java/com/beust/jcommander/
DJCommander.java353 … + pluralize(requiredFields.size(), "option is required: ", "options are required: ") in validateOptions()
366 private static String pluralize(int quantity, String singular, String plural) { in pluralize() method in JCommander
/external/python/jinja/docs/
Dtemplates.rst1616 To pluralize, specify both the singular and plural forms separated by
1617 the ``pluralize`` tag.
1623 {% pluralize %}
1629 variable used for pluralizing as a parameter to ``pluralize``.
1634 {% pluralize user_count %}...{% endtrans %}
/external/python/jinja/
DCHANGES.rst600 than the pluralize count will no longer raise a :exc:`KeyError`.
/external/e2fsprogs/po/
Dcs.po5347 # TODO pluralize
6208 # TODO: pluralize
6214 # TODO pluralize
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt152187 pluralize plˈʊrəlˌaɪz
Dinternal_raw_IPA.txt127713 pluralize %31343 plˈʊrəlˌaɪz