Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKZoneIdPrinterParser.java211 …public void test_parseSuccess_plain(String text, int expectedIndex, int expectedErrorIndex, ZoneId… in test_parseSuccess_plain() argument
214 … assertEquals(pos.getErrorIndex(), expectedErrorIndex, "Incorrect error index parsing: " + text); in test_parseSuccess_plain() local
226 …public void test_parseSuccess_prefix(String text, int expectedIndex, int expectedErrorIndex, ZoneI… in test_parseSuccess_prefix() argument
231 …assertEquals(pos.getErrorIndex(), expectedErrorIndex >= 0 ? expectedErrorIndex + 3 : expectedErro… in test_parseSuccess_prefix()
243 …public void test_parseSuccess_suffix(String text, int expectedIndex, int expectedErrorIndex, ZoneI… in test_parseSuccess_suffix() argument
247 …assertEquals(pos.getErrorIndex(), expectedErrorIndex, "Incorrect error index parsing: " + suffixTe… in test_parseSuccess_suffix() local
259 …est_parseSuccess_caseSensitive(String text, int expectedIndex, int expectedErrorIndex, ZoneId expe… in test_parseSuccess_caseSensitive() argument
270 … assertEquals(pos.getErrorIndex(), expectedErrorIndex, "Incorrect error index parsing: " + lcText); in test_parseSuccess_caseSensitive() local
282 …t_parseSuccess_caseInsensitive(String text, int expectedIndex, int expectedErrorIndex, ZoneId expe… in test_parseSuccess_caseInsensitive() argument
286 … assertEquals(pos.getErrorIndex(), expectedErrorIndex, "Incorrect error index parsing: " + lcText); in test_parseSuccess_caseInsensitive() local
DTCKPadPrinterParser.java130 …public void test_parseStrict(String text, int expectedIndex, int expectedErrorIndex, Number expect… in test_parseStrict() argument
134 assertEquals(pos.getErrorIndex(), expectedErrorIndex); in test_parseStrict() local
171 …public void test_parseLenient(String text, int expectedIndex, int expectedErrorIndex, Number expec… in test_parseLenient() argument
175 assertEquals(pos.getErrorIndex(), expectedErrorIndex); in test_parseLenient() local