Lines Matching refs:UnicodeString
30 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break
64 virtual const UnicodeString *snext(UErrorCode& status);
99 const UnicodeString*
104 unistr = UnicodeString(TESTZIDS[idx++], "");
309 errln(UnicodeString("FAIL: Invalid time zone offset: ") + offset + " /expected: 0");
323 errln(UnicodeString("FAIL: Invalid time zone raw offset: ") + offset + " /expected: -3600000");
326 errln(UnicodeString("FAIL: Invalid DST amount: ") + dstSavings + " /expected: 3600000");
348 errln((UnicodeString)"FAIL: Invalid time zone offset: " + offset + " /expected: -3600000");
362 errln((UnicodeString)"FAIL: Invalid time zone raw offset: " + offset + " /expected: -3600000");
365 errln((UnicodeString)"FAIL: Invalid DST amount: " + dstSavings + " /expected: 0");
371 errln((UnicodeString)"FAIL: Invalid time zone raw offset returned by getRawOffset: "
614 const UnicodeString *tzid = tzenum.snext(status);
649 const UnicodeString *tzid = tzenum.snext(status);
664 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid);
668 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid);
673 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid);
678 errln((UnicodeString)"FAIL: complete() failed for the RBTZ for " + *tzid);
786 const UnicodeString *tzid = tzenum.snext(status);
799 UnicodeString vtzdata;
803 errln((UnicodeString)"FAIL: error returned while writing time zone rules for " +
809 errln((UnicodeString)"FAIL: error returned while reading VTIMEZONE data for " + *tzid);
812 UnicodeString vtzdata1;
815 errln((UnicodeString)"FAIL: error returned while writing time zone rules for " +
820 errln((UnicodeString)"FAIL: different VTIMEZONE data after round trip for " + *tzid);
886 const UnicodeString *tzid = tzenum.snext(status);
897 UnicodeString vtzdata;
904 errln((UnicodeString)"FAIL: error returned while writing time zone rules for " +
910 errln((UnicodeString)"FAIL: error returned while reading VTIMEZONE data for " + *tzid
982 const UnicodeString *tzid = tzenum.snext(status);
992 UnicodeString vtzdata;
999 errln((UnicodeString)"FAIL: error returned while writing simple time zone rules for " +
1005 errln((UnicodeString)"FAIL: error returned while reading simple VTIMEZONE data for " + *tzid
1038 const UnicodeString TESTURL1("http://source.icu-project.org");
1039 const UnicodeString TESTURL2("http://www.ibm.com");
1042 UnicodeString tzurl;
1050 UnicodeString vtzdata;
1122 const UnicodeString *tzid = tzenum.snext(status);
1276 errln((UnicodeString)"FAIL: The start year of AnnualTimeZoneRule a1 must be 2000 - returned: " + startYear);
1282 errln((UnicodeString)"FAIL: The start year of AnnualTimeZoneRule a1 must be MAX_YEAR - returned: " + endYear);
1286 errln((UnicodeString)"FAIL: The start year of AnnualTimeZoneRule a3 must be 2010 - returned: " + endYear);
1543 errln((UnicodeString)"FAIL: countTransitionRules returned " + numTzRules);
1578 errln((UnicodeString)"FAIL: countTransitionRules returned " + numTzRules);
1621 UnicodeString TZID("Europe/Moscow");
1704 logln((UnicodeString)"OlsonTimeZone::hasSameRules(VTimeZone) should return FALSE always for now - actual: " + bSame);
1707 UnicodeString TZURL("http://icu-project.org/timezone");
1708 UnicodeString url;
1831 UnicodeString emptyData;
1840 UnicodeString asiaTokyoID("Asia/Tokyo");
1871 UnicodeString tzid;
1874 errln((UnicodeString)"FAIL: Invalid TZID: " + tzid);
1936 UnicodeString fooData2;
2091 /*static*/ const UnicodeString TestZones[] = {
2092 UnicodeString(tokyoTZ),
2093 UnicodeString(finalOverlap),
2094 UnicodeString(finalNonOverlap),
2095 UnicodeString()
2141 errln((UnicodeString)"FAIL: getOffset failed for time zone " + i + " at " + times[j]);
2145 errln((UnicodeString)"FAIL: Invalid offset at time(" + times[j] + "):" + offset + " Expected:" + Expected[i][j]);
2170 errln((UnicodeString)"FAIL: Wrong transition time returned by getNextTransition - "
2178 errln((UnicodeString)"FAIL: Wrong transition time returned by getPreviousTransition - "
2338 UnicodeString tzid;
2359 errln((UnicodeString)"FAIL: False transition returned by getNextTransition for "
2365 errln((UnicodeString)"FAIL: TO rule of the previous transition does not match FROM rule of this transtion at "
2392 errln((UnicodeString)"FAIL: False transition returned by getPreviousTransition for "
2399 errln((UnicodeString)"FAIL: TO rule of the next transition does not match FROM rule in this transtion at "
2413 UnicodeString zid1, zid2;
2442 errln((UnicodeString)"FAIL: " + zid1 + " does not have any transitions after "
2447 errln((UnicodeString)"FAIL: " + zid2 + " does not have any transitions after "
2452 errln((UnicodeString)"FAIL: First transition after " + dateToString(time) + " "
2470 UnicodeString zid1, zid2;
2499 errln((UnicodeString)"FAIL: " + zid1 + " does not have any transitions before "
2504 errln((UnicodeString)"FAIL: " + zid2 + " does not have any transitions before "
2509 errln((UnicodeString)"FAIL: Last transition before " + dateToString(time) + " "