Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp861 const char* ISO_STR[][11] = { in TestISOFormat() local
960 if (ISO_STR[i][j]) { in TestISOFormat()
961 if (result != UnicodeString(ISO_STR[i][j])) { in TestISOFormat()
963 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
983 for (int32_t i = 0; ISO_STR[i][0] != NULL; i++) { in TestISOFormat()
985 if (ISO_STR[i][j] == 0) { in TestISOFormat()
993 sdf->parse(UnicodeString(ISO_STR[i][j]), *(outcal.getAlias()), pos); in TestISOFormat()
995 if (pos.getIndex() != (int32_t)uprv_strlen(ISO_STR[i][j])) { in TestISOFormat()
996 … errln((UnicodeString)"FAIL: Failed to parse the entire input string: " + ISO_STR[i][j]); in TestISOFormat()
1003 …rrln((UnicodeString)"FAIL: Incorrect offset:" + outOffset + "ms for input string: " + ISO_STR[i][j] in TestISOFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java737 final String[][] ISO_STR = { in TestISOFormat() local
827 if (!result.equals(ISO_STR[i][j])) { in TestISOFormat()
829 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
832 if (ISO_STR[i][j] != null) { in TestISOFormat()
834 + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
842 for (int i = 0; i < ISO_STR.length; i++) { in TestISOFormat()
843 for (int j = 0; j < ISO_STR[i].length; j++) { in TestISOFormat()
844 if (ISO_STR[i][j] == null) { in TestISOFormat()
851 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
853 if (pos.getIndex() != ISO_STR[i][j].length()) { in TestISOFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java738 final String[][] ISO_STR = { in TestISOFormat() local
828 if (!result.equals(ISO_STR[i][j])) { in TestISOFormat()
830 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
833 if (ISO_STR[i][j] != null) { in TestISOFormat()
835 + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
843 for (int i = 0; i < ISO_STR.length; i++) { in TestISOFormat()
844 for (int j = 0; j < ISO_STR[i].length; j++) { in TestISOFormat()
845 if (ISO_STR[i][j] == null) { in TestISOFormat()
852 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
854 if (pos.getIndex() != ISO_STR[i][j].length()) { in TestISOFormat()
[all …]