Searched refs:zoneDisplayTestData (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | tztest.cpp | 2204 zoneDisplayTestData [] = { variable 2256 for (int testNum = 0; zoneDisplayTestData[testNum].zoneName != NULL; testNum++) { in TestDisplayNamesMeta() 2257 Locale locale = Locale::createFromName(zoneDisplayTestData[testNum].localeName); in TestDisplayNamesMeta() 2258 TimeZone *zone = TimeZone::createTimeZone(zoneDisplayTestData[testNum].zoneName); in TestDisplayNamesMeta() 2260 zone->getDisplayName(zoneDisplayTestData[testNum].summerTime, in TestDisplayNamesMeta() 2261 zoneDisplayTestData[testNum].style, in TestDisplayNamesMeta() 2264 if (displayName != zoneDisplayTestData[testNum].expectedDisplayName) { in TestDisplayNamesMeta() 2273 " Got \"%s\"\n Error: %s", zoneDisplayTestData[testNum].zoneName, in TestDisplayNamesMeta() 2274 zoneDisplayTestData[testNum].localeName, in TestDisplayNamesMeta() 2275 zoneDisplayTestData[testNum].style==TimeZone::SHORT ? in TestDisplayNamesMeta() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 1742 final Object[][] zoneDisplayTestData = { in TestDisplayNamesMeta() local 1789 for (int testNum = 0; testNum < zoneDisplayTestData.length; testNum++) { in TestDisplayNamesMeta() 1790 ULocale locale = new ULocale((String)zoneDisplayTestData[testNum][1]); in TestDisplayNamesMeta() 1791 TimeZone zone = TimeZone.getTimeZone((String)zoneDisplayTestData[testNum][0]); in TestDisplayNamesMeta() 1792 …String displayName = zone.getDisplayName(((Boolean)zoneDisplayTestData[testNum][2]).booleanValue(), in TestDisplayNamesMeta() 1793 ((Integer)zoneDisplayTestData[testNum][3]).intValue()); in TestDisplayNamesMeta() 1794 if (!displayName.equals(zoneDisplayTestData[testNum][4])) { in TestDisplayNamesMeta() 1796 … && (isICUTimeZone || !((Boolean)zoneDisplayTestData[testNum][2]).booleanValue())) { in TestDisplayNamesMeta() 1799 + zoneDisplayTestData[testNum][0] + ",\n" in TestDisplayNamesMeta() 1801 … + ", style = " + (zoneDisplayTestData[testNum][3] == TZSHORT ? "SHORT" : "LONG") in TestDisplayNamesMeta() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 1746 final Object[][] zoneDisplayTestData = { in TestDisplayNamesMeta() local 1793 for (int testNum = 0; testNum < zoneDisplayTestData.length; testNum++) { in TestDisplayNamesMeta() 1794 ULocale locale = new ULocale((String)zoneDisplayTestData[testNum][1]); in TestDisplayNamesMeta() 1795 TimeZone zone = TimeZone.getTimeZone((String)zoneDisplayTestData[testNum][0]); in TestDisplayNamesMeta() 1796 …String displayName = zone.getDisplayName(((Boolean)zoneDisplayTestData[testNum][2]).booleanValue(), in TestDisplayNamesMeta() 1797 ((Integer)zoneDisplayTestData[testNum][3]).intValue()); in TestDisplayNamesMeta() 1798 if (!displayName.equals(zoneDisplayTestData[testNum][4])) { in TestDisplayNamesMeta() 1800 … && (isICUTimeZone || !((Boolean)zoneDisplayTestData[testNum][2]).booleanValue())) { in TestDisplayNamesMeta() 1803 + zoneDisplayTestData[testNum][0] + ",\n" in TestDisplayNamesMeta() 1805 … + ", style = " + (zoneDisplayTestData[testNum][3] == TZSHORT ? "SHORT" : "LONG") in TestDisplayNamesMeta() [all …]
|