Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java724 final String[][] ISO_STR = { in TestISOFormat() local
814 if (!result.equals(ISO_STR[i][j])) { in TestISOFormat()
816 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
819 if (ISO_STR[i][j] != null) { in TestISOFormat()
821 + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
829 for (int i = 0; i < ISO_STR.length; i++) { in TestISOFormat()
830 for (int j = 0; j < ISO_STR[i].length; j++) { in TestISOFormat()
831 if (ISO_STR[i][j] == null) { in TestISOFormat()
838 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
840 if (pos.getIndex() != ISO_STR[i][j].length()) { in TestISOFormat()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java720 final String[][] ISO_STR = { in TestISOFormat() local
810 if (!result.equals(ISO_STR[i][j])) { in TestISOFormat()
812 + result + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
815 if (ISO_STR[i][j] != null) { in TestISOFormat()
817 + " (expected: " + ISO_STR[i][j] + ")"); in TestISOFormat()
825 for (int i = 0; i < ISO_STR.length; i++) { in TestISOFormat()
826 for (int j = 0; j < ISO_STR[i].length; j++) { in TestISOFormat()
827 if (ISO_STR[i][j] == null) { in TestISOFormat()
834 sdf.parse(ISO_STR[i][j], outcal, pos); in TestISOFormat()
836 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()