Searched refs:expectedText (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/test/java/awt/font/NumericShaper/ |
D | MTTest.java | 113 char[] expectedText; field in MTTest.Work 115 Work(NumericShaper ns, char[] expectedText) { in Work() argument 117 this.expectedText = expectedText; in Work() 134 if (!Arrays.equals(t, expectedText)) { in run() 137 System.err.println(" expected: " + String.valueOf(expectedText)); in run()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedFieldPrinter.java | 123 public void test_print_WeekBasedYear(String pattern, String expectedText, LocalDate date) { in test_print_WeekBasedYear() argument 127 …assertEquals(result, expectedText, "Incorrect formatting for " + pattern + ", weekDef: " + weekDef… in test_print_WeekBasedYear()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatter.java | 149 …rivate void assertGoodErrorDate(Function<TemporalAccessor, Object> function, String expectedText) { in assertGoodErrorDate() argument 157 assertTrue(msg.contains(expectedText), msg); in assertGoodErrorDate() 164 …rivate void assertGoodErrorTime(Function<TemporalAccessor, Object> function, String expectedText) { in assertGoodErrorTime() argument 172 assertTrue(msg.contains(expectedText), msg); in assertGoodErrorTime()
|
/libcore/ojluni/src/test/java/text/AttributedString/ |
D | AttributedStringTest.java | 140 …l void checkIteratorText(AttributedCharacterIterator iterator, String expectedText) throws Excepti… in checkIteratorText() argument 141 if (iterator.getEndIndex() - iterator.getBeginIndex() != expectedText.length()) { in checkIteratorText() 146 for (int i = 0; i < expectedText.length(); i++) { in checkIteratorText() 147 if (c != expectedText.charAt(i)) { in checkIteratorText()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 572 String expectedText = "one two " + DateFormat.getTimeInstance().format(date); in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local 574 …assertEquals("Choice not recursive:\n" + expectedText + "\n" + buffer, expectedText, buffer.toStri… in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() 578 assertEquals(expectedText + "zero", str.toString()); in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() 579 assertEquals(expectedText + "zero", buffer.toString()); in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
|