Lines Matching refs:canonicalID

533     UnicodeString canonicalID;  in TestGetAvailableIDsNew()  local
624 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
628 if (*id1 == canonicalID) { in TestGetAvailableIDsNew()
644 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
648 if (*id1 != canonicalID) { in TestGetAvailableIDsNew()
1952 UnicodeString canonicalID; in TestCanonicalIDAPI() local
1954 UnicodeString *pResult = &TimeZone::getCanonicalID(bogus, canonicalID, ec); in TestCanonicalIDAPI()
1956 …sertTrue("TimeZone::getCanonicalID(bogus) should return the dest string", pResult == &canonicalID); in TestCanonicalIDAPI()
1961 pResult = &TimeZone::getCanonicalID(berlin, canonicalID, ec); in TestCanonicalIDAPI()
1963 …rtTrue("TimeZone::getCanonicalID(failure) should return the dest string", pResult == &canonicalID); in TestCanonicalIDAPI()
1966 canonicalID.setToBogus(); in TestCanonicalIDAPI()
1968 pResult = &TimeZone::getCanonicalID(berlin, canonicalID, ec); in TestCanonicalIDAPI()
1970 …rue("TimeZone::getCanonicalID(bogus dest) should return the dest string", pResult == &canonicalID); in TestCanonicalIDAPI()
1971 …assertFalse("TimeZone::getCanonicalID(bogus dest) should un-bogus the dest string", canonicalID.is… in TestCanonicalIDAPI()
1972 … assertEquals("TimeZone::getCanonicalID(bogus dest) unexpected result", canonicalID, berlin, TRUE); in TestCanonicalIDAPI()
2092 UnicodeString canonicalID, tmpCanonical; in TestCanonicalID() local
2121 canonicalID = tmpCanonical; in TestCanonicalID()
2122 } else if (canonicalID != tmpCanonical) { in TestCanonicalID()
2123 … errln("FAIL: getCanonicalID(" + tmp + ") returned " + tmpCanonical + " expected:" + canonicalID); in TestCanonicalID()
2126 if (canonicalID == tmp) { in TestCanonicalID()
2144 errln((UnicodeString)"FAIL: No timezone ids match the canonical ID " + canonicalID); in TestCanonicalID()
2173 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec); in TestCanonicalID()
2182 if (canonicalID != data[i].expected) { in TestCanonicalID()
2184 + "\") returned " + canonicalID + " - expected: " + data[i].expected); in TestCanonicalID()