Home | History | Annotate | Download | only in intltest

Lines Matching full:unicodestring

87     UnicodeString id("NewGMT");
110 logln((UnicodeString)"TimeZone::createDefault() => " + saveDefault->getID(id));
118 logln(UnicodeString("Value returned from uprv_timezone = ") + tzoffset);
152 errln((UnicodeString)"FAIL: getTZDataVersion returned " + tzver);
154 logln((UnicodeString)"tzdata version: " + tzver);
201 errln((UnicodeString)"FAIL: Expected start computed as " + marchOne +
203 logln((UnicodeString)" Should be " + expMarchOne +
210 errln((UnicodeString)"FAIL: Expected start computed as " + julyOne +
212 logln((UnicodeString)" Should be " + expJulyOne +
240 UnicodeString id,s;
288 logln(UnicodeString("Binary Search Before: ") + uprv_floor(0.5 + min) + " = " + dateToString(min));
289 logln(UnicodeString("Binary Search After: ") + uprv_floor(0.5 + max) + " = " + dateToString(max));
296 logln(UnicodeString("PASS: Expected bdry: ") + expectedBoundary + " = " + dateToString(expectedBoundary));
298 errln(UnicodeString("FAIL: Expected bdry: ") + expectedBoundary + " = " + dateToString(expectedBoundary));
342 UnicodeString str;
374 const UnicodeString** ids = TimeZone::createAvailableIDs(numIDs);
378 UnicodeString buf("TimeZone::createAvailableIDs() = { ");
394 UnicodeString buf("TimeZone::createAvailableIDs(-8:00) = { ");
409 UnicodeString buf("TimeZone::createAvailableIDs(US) = { ");
421 UnicodeString str;
422 UnicodeString *buf = new UnicodeString("TimeZone::createEnumeration() = { ");
435 *buf += UnicodeString(s->next(NULL, ec), "");
459 const UnicodeString* id = s->snext(ec);
463 errln(UnicodeString("FAIL: createTimeZone(") +
466 errln(UnicodeString("FAIL: createTimeZone(") +
469 logln(UnicodeString("OK: createTimeZone(") +
514 UnicodeString temp;
534 const UnicodeString *id1, *id2;
535 UnicodeString canonicalID;
631 errln((UnicodeString)"FAIL: canonicalID [" + *id1 + "] is not in CANONICAL");
634 errln((UnicodeString)"FAIL: ANY contains non-system ID: " + *id1);
651 errln((UnicodeString)"FAIL: CANONICAL contains non-canonical ID: " + *id1);
654 errln((UnicodeString)"FAILE: CANONICAL contains non-system ID: " + *id1);
670 errln((UnicodeString)"FAIL: CANONICALLOC contains non location zone: " + *id1);
686 errln((UnicodeString)"FAIL: ANY_US contains non-US zone ID: " + *id1);
699 errln((UnicodeString)"FAIL: ANY_W5 contains a zone whose offset is not -05:00: " + *id1);
734 const UnicodeString *id1, *id2;
748 errln((UnicodeString)"FAIL: " + name1 + "does not contain "
754 errln((UnicodeString)"Error checkContainsAll for " + name1 + " - " + name2);
902 UnicodeString itsID(kReferenceList[i].id);
992 UnicodeString itsID;
1001 errln(UnicodeString("FAIL: Could not find short ID zone ") + zone1);
1004 errln(UnicodeString("FAIL: Could not find long ID zone ") + zone2);
1012 errln("FAIL: " + UnicodeString(zone1) +
1013 " != " + UnicodeString(zone2));
1015 logln("OK: " + UnicodeString(zone1) +
1016 " == " + UnicodeString(zone2));
1029 UnicodeString& TimeZoneTest::formatOffset(int32_t offset, UnicodeString &rv) {
1074 UnicodeString& TimeZoneTest::formatTZID(int32_t offset, UnicodeString &rv) {
1164 UnicodeString id(kData[i].customId);
1167 UnicodeString itsID, temp;
1174 UnicodeString offset, expectedID;
1330 UnicodeString fromName, toName;
1387 UnicodeString name;
1434 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name);
1443 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name);
1455 UnicodeString inDaylight;
1457 inDaylight = UnicodeString("TRUE");
1459 inDaylight = UnicodeString("FALSE");
1461 logln(UnicodeString("Modified PST inDaylightTime->") + inDaylight );
1464 dataerrln("Some sort of error..." + UnicodeString(u_errorName(status))); // REVISIT
1510 dataerrln(UnicodeString("Fail: Expected GMT-08:00 or something similar for PST in mt_MT but got ") + name );
1557 errln(UnicodeString("Got back a raw offset of ") + (tz->getRawOffset() / U_MILLIS_PER_HOUR) +
1562 errln(UnicodeString("Set DST offset to 0.5 hour, but got back ") + (tz->getDSTSavings() /
1568 errln(UnicodeString("The offset for 10 AM, 1/1/98 should have been -5 hours, but we got ")
1574 errln(UnicodeString("The offset for 10 AM, 6/1/98 should have been -4.5 hours, but we got ")
1581 errln(UnicodeString("The offset for 10 AM, 1/1/98 should have been -5 hours, but we got ")
1587 errln(UnicodeString("The offset for 10 AM, 6/1/98 (with a 1-hour DST offset) should have been -4 hours, but we got ")
1617 errln(UnicodeString("The offset for 10AM, 3/5/98 should have been -5 hours, but we got ")
1623 errln(UnicodeString("The offset for 10AM, 3/15/98 should have been -4 hours, but we got ")
1629 errln(UnicodeString("The offset for 10AM, 10/15/98 should have been -4 hours, but we got ") + (offset / U_MILLIS_PER_HOUR) + " hours.");
1634 errln(UnicodeString("The offset for 10AM, 10/25/98 should have been -5 hours, but we got ")
1648 errln(UnicodeString("The offset for 10AM, 3/11/98 should have been -5 hours, but we got ")
1654 errln(UnicodeString("The offset for 10AM, 3/14/98 should have been -4 hours, but we got ")
1660 errln(UnicodeString("The offset for 10AM, 10/15/98 should have been -4 hours, but we got ")
1666 errln(UnicodeString("The offset for 10AM, 10/17/98 should have been -5 hours, but we got ")
1674 UnicodeString id;
1677 dataerrln(UnicodeString("java reports dst savings of ") + expected +
1681 logln(UnicodeString("both java and icu report dst savings of ") + expected + " for tz " + tz_icu->getID(id));
1701 UnicodeString laZone("America/Los_Angeles", "");
1702 UnicodeString tokyoZone("Asia/Tokyo", "");
1710 const UnicodeString* id = s->snext(ec);
1729 const UnicodeString* id = s->snext(ec);
1744 const UnicodeString* id1 = s1->snext(ec);
1750 const UnicodeString* id2 = s2->snext(ec);
1794 UnicodeString s;
1797 } else if (tz->getID(s) != UnicodeString(id)) {
1798 dataerrln((UnicodeString)"FAIL: createTimeZone(" + id + ") => " + s);
1807 errln((UnicodeString)"FAIL: " + DATA[i].id + ".getOffset(" +
1812 logln((UnicodeString)"Ok: " + DATA[i].id + ".getOffset(" +
1825 dataerrln((UnicodeString)"FAIL: countEquivalentIDs(PST) = " + n);
1829 UnicodeString id = TimeZone::getEquivalentID("PST", i);
1830 logln((UnicodeString)"" + i + " : " + id);
1831 if (id == UnicodeString("America/Los_Angeles")) {
2001 UnicodeString canonicalID, tmpCanonical;
2004 const UnicodeString *tzid = s->snext(ec);
2015 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j);
2018 errln((UnicodeString)"FAIL: getCanonicalID(" + tmp + ") failed.");
2045 if (*tzid == UnicodeString(excluded2[k])) {
2053 errln((UnicodeString)"FAIL: No timezone ids match the canonical ID " + canonicalID);
2082 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec);
2085 errln((UnicodeString)"FAIL: getCanonicalID(\"" + data[i].id
2092 dataerrln((UnicodeString)"FAIL: getCanonicalID(\"" + data[i].id
2096 dataerrln((UnicodeString)"FAIL: getCanonicalID(\"" + data[i].id
2167 UnicodeString displayName;
2240 errln((UnicodeString)"Fail: getRegion(\"" + data[i].id + "\") returns "
2243 errln((UnicodeString)"Fail: getRegion(\"" + data[i].id + "\") returns "
2248 dataerrln((UnicodeString)"Fail: getRegion(\"" + data[i].id
2253 errln((UnicodeString)"Fail: getRegion(\"" + data[i].id
2296 UnicodeString expectedID = UNICODE_STRING_SIMPLE("Etc/Unknown");
2297 UnicodeString id;