Home
last modified time | relevance | path

Searched refs:expectedStr (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DDecimalFormatTest.java164 String expectedStr = "999,999,999,999,999,999,999,999"; in testFieldPosition() local
165 assertFieldPosition(df, bigInteger, NumberFormat.Field.INTEGER, expectedStr, 0, in testFieldPosition()
166 expectedStr.length()); in testFieldPosition()
167 expectedStr = "$" + expectedStr + ".00"; in testFieldPosition()
168 assertFieldPosition(currencyDf, bigInteger, NumberFormat.Field.INTEGER, expectedStr, 1, in testFieldPosition()
169 expectedStr.length() - 3); in testFieldPosition()
170 assertFieldPosition(currencyDf, bigInteger, NumberFormat.Field.CURRENCY, expectedStr, 0, 1); in testFieldPosition()
183 String expectedStr, int expectedBeginIndex, int expectedEndIndex) { in assertFieldPosition4Types() argument
184 assertFieldPosition(df, num, field, expectedStr, expectedBeginIndex, expectedEndIndex); in assertFieldPosition4Types()
185 assertFieldPosition(df, (double) num, field, expectedStr, expectedBeginIndex, in assertFieldPosition4Types()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKSignStyle.java119 …oid test_signStyle(LocalDate localDate, SignStyle style, Class<?> expectedEx, String expectedStr) { in test_signStyle() argument
126 assertEquals(output, expectedStr); in test_signStyle()