Searched refs:expectedText (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatter.java | 144 …rivate void assertGoodErrorDate(Function<TemporalAccessor, Object> function, String expectedText) { in assertGoodErrorDate() argument 152 assertTrue(msg.contains(expectedText), msg); in assertGoodErrorDate() 159 …rivate void assertGoodErrorTime(Function<TemporalAccessor, Object> function, String expectedText) { in assertGoodErrorTime() argument 167 assertTrue(msg.contains(expectedText), msg); in assertGoodErrorTime()
|
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 571 String expectedText = "one two " + DateFormat.getTimeInstance().format(date); in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local 573 …assertEquals("Choice not recursive:\n" + expectedText + "\n" + buffer, expectedText, buffer.toStri… in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() 577 assertEquals(expectedText + "zero", str.toString()); in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() 578 assertEquals(expectedText + "zero", buffer.toString()); in test_format$Ljava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
|