Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtztest.cpp2231 zoneDisplayTestData [] = { variable
2283 for (int testNum = 0; zoneDisplayTestData[testNum].zoneName != NULL; testNum++) { in TestDisplayNamesMeta()
2284 Locale locale = Locale::createFromName(zoneDisplayTestData[testNum].localeName); in TestDisplayNamesMeta()
2285 TimeZone *zone = TimeZone::createTimeZone(zoneDisplayTestData[testNum].zoneName); in TestDisplayNamesMeta()
2287 zone->getDisplayName(zoneDisplayTestData[testNum].summerTime, in TestDisplayNamesMeta()
2288 zoneDisplayTestData[testNum].style, in TestDisplayNamesMeta()
2291 if (displayName != zoneDisplayTestData[testNum].expectedDisplayName) { in TestDisplayNamesMeta()
2300 " Got \"%s\"\n Error: %s", zoneDisplayTestData[testNum].zoneName, in TestDisplayNamesMeta()
2301 zoneDisplayTestData[testNum].localeName, in TestDisplayNamesMeta()
2302 zoneDisplayTestData[testNum].style==TimeZone::SHORT ? in TestDisplayNamesMeta()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java1763 final Object[][] zoneDisplayTestData = { in TestDisplayNamesMeta() local
1810 for (int testNum = 0; testNum < zoneDisplayTestData.length; testNum++) { in TestDisplayNamesMeta()
1811 ULocale locale = new ULocale((String)zoneDisplayTestData[testNum][1]); in TestDisplayNamesMeta()
1812 TimeZone zone = TimeZone.getTimeZone((String)zoneDisplayTestData[testNum][0]); in TestDisplayNamesMeta()
1813 …String displayName = zone.getDisplayName(((Boolean)zoneDisplayTestData[testNum][2]).booleanValue(), in TestDisplayNamesMeta()
1814 ((Integer)zoneDisplayTestData[testNum][3]).intValue()); in TestDisplayNamesMeta()
1815 if (!displayName.equals(zoneDisplayTestData[testNum][4])) { in TestDisplayNamesMeta()
1817 … && (isICUTimeZone || !((Boolean)zoneDisplayTestData[testNum][2]).booleanValue())) { in TestDisplayNamesMeta()
1820 + zoneDisplayTestData[testNum][0] + ",\n" in TestDisplayNamesMeta()
1822 … + ", style = " + (zoneDisplayTestData[testNum][3] == TZSHORT ? "SHORT" : "LONG") in TestDisplayNamesMeta()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java1766 final Object[][] zoneDisplayTestData = { in TestDisplayNamesMeta() local
1813 for (int testNum = 0; testNum < zoneDisplayTestData.length; testNum++) { in TestDisplayNamesMeta()
1814 ULocale locale = new ULocale((String)zoneDisplayTestData[testNum][1]); in TestDisplayNamesMeta()
1815 TimeZone zone = TimeZone.getTimeZone((String)zoneDisplayTestData[testNum][0]); in TestDisplayNamesMeta()
1816 …String displayName = zone.getDisplayName(((Boolean)zoneDisplayTestData[testNum][2]).booleanValue(), in TestDisplayNamesMeta()
1817 ((Integer)zoneDisplayTestData[testNum][3]).intValue()); in TestDisplayNamesMeta()
1818 if (!displayName.equals(zoneDisplayTestData[testNum][4])) { in TestDisplayNamesMeta()
1820 … && (isICUTimeZone || !((Boolean)zoneDisplayTestData[testNum][2]).booleanValue())) { in TestDisplayNamesMeta()
1823 + zoneDisplayTestData[testNum][0] + ",\n" in TestDisplayNamesMeta()
1825 … + ", style = " + (zoneDisplayTestData[testNum][3] == TZSHORT ? "SHORT" : "LONG") in TestDisplayNamesMeta()
[all …]