• Home
  • Raw
  • Download

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()
2093 UnicodeString canonicalID, tmpCanonical; in TestCanonicalID() local
2122 canonicalID = tmpCanonical; in TestCanonicalID()
2123 } else if (canonicalID != tmpCanonical) { in TestCanonicalID()
2124 … errln("FAIL: getCanonicalID(" + tmp + ") returned " + tmpCanonical + " expected:" + canonicalID); in TestCanonicalID()
2127 if (canonicalID == tmp) { in TestCanonicalID()
2145 errln((UnicodeString)"FAIL: No timezone ids match the canonical ID " + canonicalID); in TestCanonicalID()
2174 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec); in TestCanonicalID()
2183 if (canonicalID != data[i].expected) { in TestCanonicalID()
2185 + "\") returned " + canonicalID + " - expected: " + data[i].expected); in TestCanonicalID()