Home
last modified time | relevance | path

Searched refs:testNum (Results 1 – 7 of 7) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Ditspoof.cpp587 for (int32_t testNum=0; testNum < UPRV_LENGTHOF(tests); testNum++) { in testRestrictionLevel() local
589 const Test &test = tests[testNum]; in testRestrictionLevel()
607 testNum, levelIndex, expectedValue, actualValue); in testRestrictionLevel()
648 for (int32_t testNum=0; testNum < UPRV_LENGTHOF(tests); testNum++) { in testMixedNumbers() local
650 sprintf(msgBuf, "testNum = %d ", testNum); in testMixedNumbers()
651 Test &test = tests[testNum]; in testMixedNumbers()
Dtztest.cpp2292 for (int testNum = 0; zoneDisplayTestData[testNum].zoneName != NULL; testNum++) { in TestDisplayNamesMeta() local
2293 Locale locale = Locale::createFromName(zoneDisplayTestData[testNum].localeName); in TestDisplayNamesMeta()
2294 TimeZone *zone = TimeZone::createTimeZone(zoneDisplayTestData[testNum].zoneName); in TestDisplayNamesMeta()
2296 zone->getDisplayName(zoneDisplayTestData[testNum].summerTime, in TestDisplayNamesMeta()
2297 zoneDisplayTestData[testNum].style, in TestDisplayNamesMeta()
2300 if (displayName != zoneDisplayTestData[testNum].expectedDisplayName) { in TestDisplayNamesMeta()
2309 " Got \"%s\"\n Error: %s", zoneDisplayTestData[testNum].zoneName, in TestDisplayNamesMeta()
2310 zoneDisplayTestData[testNum].localeName, in TestDisplayNamesMeta()
2311 zoneDisplayTestData[testNum].style==TimeZone::SHORT ? in TestDisplayNamesMeta()
2313 zoneDisplayTestData[testNum].summerTime, in TestDisplayNamesMeta()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dspreptst.c762 int32_t i, testNum = 0; in TestStringPrepProfiles() local
778 testNum = 0; in TestStringPrepProfiles()
783 testNum++; in TestStringPrepProfiles()
791 log_err("Error occurred on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
798 log_err("Error expected on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
802 … log_err("Results do not match expected on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java1791 for (int testNum = 0; testNum < zoneDisplayTestData.length; testNum++) { in TestDisplayNamesMeta()
1792 ULocale locale = new ULocale((String)zoneDisplayTestData[testNum][1]); in TestDisplayNamesMeta()
1793 TimeZone zone = TimeZone.getTimeZone((String)zoneDisplayTestData[testNum][0]); in TestDisplayNamesMeta()
1794 …String displayName = zone.getDisplayName(((Boolean)zoneDisplayTestData[testNum][2]).booleanValue(), in TestDisplayNamesMeta()
1795 ((Integer)zoneDisplayTestData[testNum][3]).intValue()); in TestDisplayNamesMeta()
1796 if (!displayName.equals(zoneDisplayTestData[testNum][4])) { in TestDisplayNamesMeta()
1798 … && (isICUTimeZone || !((Boolean)zoneDisplayTestData[testNum][2]).booleanValue())) { in TestDisplayNamesMeta()
1801 + zoneDisplayTestData[testNum][0] + ",\n" in TestDisplayNamesMeta()
1803 … + ", style = " + (zoneDisplayTestData[testNum][3] == TZSHORT ? "SHORT" : "LONG") in TestDisplayNamesMeta()
1804 + ", Summertime = " + zoneDisplayTestData[testNum][2] + "\n" in TestDisplayNamesMeta()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneTest.java1820 for (int testNum = 0; testNum < zoneDisplayTestData.length; testNum++) { in TestDisplayNamesMeta()
1821 ULocale locale = new ULocale((String)zoneDisplayTestData[testNum][1]); in TestDisplayNamesMeta()
1822 TimeZone zone = TimeZone.getTimeZone((String)zoneDisplayTestData[testNum][0]); in TestDisplayNamesMeta()
1823 …String displayName = zone.getDisplayName(((Boolean)zoneDisplayTestData[testNum][2]).booleanValue(), in TestDisplayNamesMeta()
1824 ((Integer)zoneDisplayTestData[testNum][3]).intValue()); in TestDisplayNamesMeta()
1825 if (!displayName.equals(zoneDisplayTestData[testNum][4])) { in TestDisplayNamesMeta()
1827 … && (isICUTimeZone || !((Boolean)zoneDisplayTestData[testNum][2]).booleanValue())) { in TestDisplayNamesMeta()
1830 + zoneDisplayTestData[testNum][0] + ",\n" in TestDisplayNamesMeta()
1832 … + ", style = " + (zoneDisplayTestData[testNum][3] == TZSHORT ? "SHORT" : "LONG") in TestDisplayNamesMeta()
1833 + ", Summertime = " + zoneDisplayTestData[testNum][2] + "\n" in TestDisplayNamesMeta()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatTest.java3939 int testNum = 1; in TestRoundingBehavior() local
3978 errln("Test case #" + testNum + ": ArithmeticException was thrown."); in TestRoundingBehavior()
3982 errln("Test case #" + testNum + in TestRoundingBehavior()
3986 assertEquals("Test case #" + testNum, testCase[5], s); in TestRoundingBehavior()
3990 testNum++; in TestRoundingBehavior()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java3936 int testNum = 1; in TestRoundingBehavior() local
3975 errln("Test case #" + testNum + ": ArithmeticException was thrown."); in TestRoundingBehavior()
3979 errln("Test case #" + testNum + in TestRoundingBehavior()
3983 assertEquals("Test case #" + testNum, testCase[5], s); in TestRoundingBehavior()
3987 testNum++; in TestRoundingBehavior()