Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java746 final String[][] ISO_STR = { in TestISOFormat() local
836 if (!result.equals(ISO_STR[i][j])) { in TestISOFormat()
838 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
841 if (ISO_STR[i][j] != null) { in TestISOFormat()
843 + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
851 for (int i = 0; i < ISO_STR.length; i++) { in TestISOFormat()
852 for (int j = 0; j < ISO_STR[i].length; j++) { in TestISOFormat()
853 if (ISO_STR[i][j] == null) { in TestISOFormat()
860 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
862 if (pos.getIndex() != ISO_STR[i][j].length()) { in TestISOFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java749 final String[][] ISO_STR = { in TestISOFormat() local
839 if (!result.equals(ISO_STR[i][j])) { in TestISOFormat()
841 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
844 if (ISO_STR[i][j] != null) { in TestISOFormat()
846 + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
854 for (int i = 0; i < ISO_STR.length; i++) { in TestISOFormat()
855 for (int j = 0; j < ISO_STR[i].length; j++) { in TestISOFormat()
856 if (ISO_STR[i][j] == null) { in TestISOFormat()
863 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
865 if (pos.getIndex() != ISO_STR[i][j].length()) { in TestISOFormat()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp869 const char* ISO_STR[][11] = { in TestISOFormat() local
968 if (ISO_STR[i][j]) { in TestISOFormat()
969 if (result != UnicodeString(ISO_STR[i][j])) { in TestISOFormat()
971 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
991 for (int32_t i = 0; ISO_STR[i][0] != NULL; i++) { in TestISOFormat()
993 if (ISO_STR[i][j] == 0) { in TestISOFormat()
1001 sdf->parse(UnicodeString(ISO_STR[i][j]), *(outcal.getAlias()), pos); in TestISOFormat()
1003 if (pos.getIndex() != (int32_t)uprv_strlen(ISO_STR[i][j])) { in TestISOFormat()
1004 … errln((UnicodeString)"FAIL: Failed to parse the entire input string: " + ISO_STR[i][j]); in TestISOFormat()
1011 …rrln((UnicodeString)"FAIL: Incorrect offset:" + outOffset + "ms for input string: " + ISO_STR[i][j] in TestISOFormat()