Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtztest.cpp2206 zoneDisplayTestData [] = { variable
2258 for (int testNum = 0; zoneDisplayTestData[testNum].zoneName != NULL; testNum++) { in TestDisplayNamesMeta()
2259 Locale locale = Locale::createFromName(zoneDisplayTestData[testNum].localeName); in TestDisplayNamesMeta()
2260 TimeZone *zone = TimeZone::createTimeZone(zoneDisplayTestData[testNum].zoneName); in TestDisplayNamesMeta()
2262 zone->getDisplayName(zoneDisplayTestData[testNum].summerTime, in TestDisplayNamesMeta()
2263 zoneDisplayTestData[testNum].style, in TestDisplayNamesMeta()
2266 if (displayName != zoneDisplayTestData[testNum].expectedDisplayName) { in TestDisplayNamesMeta()
2275 " Got \"%s\"\n Error: %s", zoneDisplayTestData[testNum].zoneName, in TestDisplayNamesMeta()
2276 zoneDisplayTestData[testNum].localeName, in TestDisplayNamesMeta()
2277 zoneDisplayTestData[testNum].style==TimeZone::SHORT ? in TestDisplayNamesMeta()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java1768 final Object[][] zoneDisplayTestData = { in TestDisplayNamesMeta() local
1815 for (int testNum = 0; testNum < zoneDisplayTestData.length; testNum++) { in TestDisplayNamesMeta()
1816 ULocale locale = new ULocale((String)zoneDisplayTestData[testNum][1]); in TestDisplayNamesMeta()
1817 TimeZone zone = TimeZone.getTimeZone((String)zoneDisplayTestData[testNum][0]); in TestDisplayNamesMeta()
1818 …String displayName = zone.getDisplayName(((Boolean)zoneDisplayTestData[testNum][2]).booleanValue(), in TestDisplayNamesMeta()
1819 ((Integer)zoneDisplayTestData[testNum][3]).intValue()); in TestDisplayNamesMeta()
1820 if (!displayName.equals(zoneDisplayTestData[testNum][4])) { in TestDisplayNamesMeta()
1822 … && (isICUTimeZone || !((Boolean)zoneDisplayTestData[testNum][2]).booleanValue())) { in TestDisplayNamesMeta()
1825 + zoneDisplayTestData[testNum][0] + ",\n" in TestDisplayNamesMeta()
1827 … + ", style = " + (zoneDisplayTestData[testNum][3] == TZSHORT ? "SHORT" : "LONG") in TestDisplayNamesMeta()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java1767 final Object[][] zoneDisplayTestData = { in TestDisplayNamesMeta() local
1814 for (int testNum = 0; testNum < zoneDisplayTestData.length; testNum++) { in TestDisplayNamesMeta()
1815 ULocale locale = new ULocale((String)zoneDisplayTestData[testNum][1]); in TestDisplayNamesMeta()
1816 TimeZone zone = TimeZone.getTimeZone((String)zoneDisplayTestData[testNum][0]); in TestDisplayNamesMeta()
1817 …String displayName = zone.getDisplayName(((Boolean)zoneDisplayTestData[testNum][2]).booleanValue(), in TestDisplayNamesMeta()
1818 ((Integer)zoneDisplayTestData[testNum][3]).intValue()); in TestDisplayNamesMeta()
1819 if (!displayName.equals(zoneDisplayTestData[testNum][4])) { in TestDisplayNamesMeta()
1821 … && (isICUTimeZone || !((Boolean)zoneDisplayTestData[testNum][2]).booleanValue())) { in TestDisplayNamesMeta()
1824 + zoneDisplayTestData[testNum][0] + ",\n" in TestDisplayNamesMeta()
1826 … + ", style = " + (zoneDisplayTestData[testNum][3] == TZSHORT ? "SHORT" : "LONG") in TestDisplayNamesMeta()
[all …]