Lines Matching refs:UnicodeString
30 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break
62 virtual const UnicodeString *snext(UErrorCode& status);
97 const UnicodeString*
102 unistr = UnicodeString(TESTZIDS[idx++], "");
308 errln(UnicodeString("FAIL: Invalid time zone offset: ") + offset + " /expected: 0");
322 errln(UnicodeString("FAIL: Invalid time zone raw offset: ") + offset + " /expected: -3600000");
325 errln(UnicodeString("FAIL: Invalid DST amount: ") + dstSavings + " /expected: 3600000");
347 errln((UnicodeString)"FAIL: Invalid time zone offset: " + offset + " /expected: -3600000");
361 errln((UnicodeString)"FAIL: Invalid time zone raw offset: " + offset + " /expected: -3600000");
364 errln((UnicodeString)"FAIL: Invalid DST amount: " + dstSavings + " /expected: 0");
370 errln((UnicodeString)"FAIL: Invalid time zone raw offset returned by getRawOffset: "
613 const UnicodeString *tzid = tzenum.snext(status);
648 const UnicodeString *tzid = tzenum.snext(status);
663 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid);
667 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid);
672 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid);
677 errln((UnicodeString)"FAIL: complete() failed for the RBTZ for " + *tzid);
785 const UnicodeString *tzid = tzenum.snext(status);
798 UnicodeString vtzdata;
802 errln((UnicodeString)"FAIL: error returned while writing time zone rules for " +
808 errln((UnicodeString)"FAIL: error returned while reading VTIMEZONE data for " + *tzid);
811 UnicodeString vtzdata1;
814 errln((UnicodeString)"FAIL: error returned while writing time zone rules for " +
819 errln((UnicodeString)"FAIL: different VTIMEZONE data after round trip for " + *tzid);
885 const UnicodeString *tzid = tzenum.snext(status);
896 UnicodeString vtzdata;
903 errln((UnicodeString)"FAIL: error returned while writing time zone rules for " +
909 errln((UnicodeString)"FAIL: error returned while reading VTIMEZONE data for " + *tzid
981 const UnicodeString *tzid = tzenum.snext(status);
991 UnicodeString vtzdata;
998 errln((UnicodeString)"FAIL: error returned while writing simple time zone rules for " +
1004 errln((UnicodeString)"FAIL: error returned while reading simple VTIMEZONE data for " + *tzid
1037 const UnicodeString TESTURL1("http://source.icu-project.org");
1038 const UnicodeString TESTURL2("http://www.ibm.com");
1041 UnicodeString tzurl;
1049 UnicodeString vtzdata;
1121 const UnicodeString *tzid = tzenum.snext(status);
1275 errln((UnicodeString)"FAIL: The start year of AnnualTimeZoneRule a1 must be 2000 - returned: " + startYear);
1281 errln((UnicodeString)"FAIL: The start year of AnnualTimeZoneRule a1 must be MAX_YEAR - returned: " + endYear);
1285 errln((UnicodeString)"FAIL: The start year of AnnualTimeZoneRule a3 must be 2010 - returned: " + endYear);
1542 errln((UnicodeString)"FAIL: countTransitionRules returned " + numTzRules);
1577 errln((UnicodeString)"FAIL: countTransitionRules returned " + numTzRules);
1620 UnicodeString TZID("Europe/Moscow");
1703 logln((UnicodeString)"OlsonTimeZone::hasSameRules(VTimeZone) should return FALSE always for now - actual: " + bSame);
1706 UnicodeString TZURL("http://icu-project.org/timezone");
1707 UnicodeString url;
1830 UnicodeString emptyData;
1839 UnicodeString asiaTokyoID("Asia/Tokyo");
1870 UnicodeString tzid;
1873 errln((UnicodeString)"FAIL: Invalid TZID: " + tzid);
1935 UnicodeString fooData2;
2090 /*static*/ const UnicodeString TestZones[] = {
2091 UnicodeString(tokyoTZ),
2092 UnicodeString(finalOverlap),
2093 UnicodeString(finalNonOverlap),
2094 UnicodeString()
2140 errln((UnicodeString)"FAIL: getOffset failed for time zone " + i + " at " + times[j]);
2144 errln((UnicodeString)"FAIL: Invalid offset at time(" + times[j] + "):" + offset + " Expected:" + Expected[i][j]);
2169 errln((UnicodeString)"FAIL: Wrong transition time returned by getNextTransition - "
2177 errln((UnicodeString)"FAIL: Wrong transition time returned by getPreviousTransition - "
2337 UnicodeString tzid;
2358 errln((UnicodeString)"FAIL: False transition returned by getNextTransition for "
2364 errln((UnicodeString)"FAIL: TO rule of the previous transition does not match FROM rule of this transtion at "
2391 errln((UnicodeString)"FAIL: False transition returned by getPreviousTransition for "
2398 errln((UnicodeString)"FAIL: TO rule of the next transition does not match FROM rule in this transtion at "
2412 UnicodeString zid1, zid2;
2441 errln((UnicodeString)"FAIL: " + zid1 + " does not have any transitions after "
2446 errln((UnicodeString)"FAIL: " + zid2 + " does not have any transitions after "
2451 errln((UnicodeString)"FAIL: First transition after " + dateToString(time) + " "
2469 UnicodeString zid1, zid2;
2498 errln((UnicodeString)"FAIL: " + zid1 + " does not have any transitions before "
2503 errln((UnicodeString)"FAIL: " + zid2 + " does not have any transitions before "
2508 errln((UnicodeString)"FAIL: Last transition before " + dateToString(time) + " "
2623 UnicodeString id("Ekaterinburg Time");
2624 UnicodeString stdName("Ekaterinburg Standard Time");
2625 UnicodeString dstName("Ekaterinburg Daylight Time");
2655 errln(UnicodeString("Fail: Wrong offsets: ") + raw + "/" + dst + " Expected: 21600000/0");