Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java673 final String[][] ISO_STR = { in TestISOFormat() local
763 if (!result.equals(ISO_STR[i][j])) { in TestISOFormat()
765 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
768 if (ISO_STR[i][j] != null) { in TestISOFormat()
770 + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
778 for (int i = 0; i < ISO_STR.length; i++) { in TestISOFormat()
779 for (int j = 0; j < ISO_STR[i].length; j++) { in TestISOFormat()
780 if (ISO_STR[i][j] == null) { in TestISOFormat()
787 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
789 if (pos.getIndex() != ISO_STR[i][j].length()) { in TestISOFormat()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp879 const char* ISO_STR[][11] = { in TestISOFormat() local
978 if (ISO_STR[i][j]) { in TestISOFormat()
979 if (result != UnicodeString(ISO_STR[i][j])) { in TestISOFormat()
981 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
1001 for (int32_t i = 0; ISO_STR[i][0] != NULL; i++) { in TestISOFormat()
1003 if (ISO_STR[i][j] == 0) { in TestISOFormat()
1011 sdf->parse(UnicodeString(ISO_STR[i][j]), *(outcal.getAlias()), pos); in TestISOFormat()
1013 if (pos.getIndex() != (int32_t)uprv_strlen(ISO_STR[i][j])) { in TestISOFormat()
1014 … errln((UnicodeString)"FAIL: Failed to parse the entire input string: " + ISO_STR[i][j]); in TestISOFormat()
1021 …rrln((UnicodeString)"FAIL: Incorrect offset:" + outOffset + "ms for input string: " + ISO_STR[i][j] in TestISOFormat()