/external/mockito/src/test/java/org/mockito/internal/reporting/ |
D | PluralizerTest.java | 16 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/ |
D | Discrepancy.java | 22 return Pluralizer.pluralize(wantedCount); in getPluralizedWantedCount() 30 return Pluralizer.pluralize(actualCount); in getPluralizedActualCount()
|
D | Pluralizer.java | 9 public static String pluralize(int number) { in pluralize() method in Pluralizer
|
/external/testng/src/main/java/org/testng/reporters/jq/ |
D | BannerPanel.java | 17 String testResult = failedCount > 0 ? ", " + pluralize(failedCount, "failed test") : ""; in generate() 18 String subTitle = pluralize(getModel().getSuites().size(), "suite") in generate()
|
D | TestPanel.java | 35 String name = test.getName() + " (" + pluralize(count, "class") + ")"; in getContent() 46 return pluralize(suite.getXmlSuite().getTests().size(), "test"); in getNavigatorLink()
|
D | BasePanel.java | 26 protected static String pluralize(int count, String singular) { in pluralize() method in BasePanel
|
D | GroupPanel.java | 47 return pluralize(getModel().getGroups(suite.getName()).size(), "group"); in getNavigatorLink()
|
D | IgnoredMethodsPanel.java | 23 return pluralize(suite.getExcludedMethods().size(), "ignored method"); in getHeader()
|
D | NavigatorPanel.java | 101 pluralize(total, "method"), in generateResult()
|
/external/testng/src/main/java/org/testng/reporters/ |
D | JqReporter.java | 89 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
|
D | SuiteHTMLReporter.java | 601 .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/ |
D | Reporter.java | 31 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/ |
D | JCommander.java | 322 + 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/ |
D | cs.po | 5357 # TODO pluralize 6188 # TODO pluralize
|