Home
last modified time | relevance | path

Searched refs:zoneclone (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtztest.cpp94 TimeZone* zoneclone = zone->clone(); in TestGenericAPI() local
95 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
96 zoneclone->setID("abc"); in TestGenericAPI()
97 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()
98 delete zoneclone; in TestGenericAPI()
100 zoneclone = zone->clone(); in TestGenericAPI()
101 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
102 zoneclone->setRawOffset(45678); in TestGenericAPI()
103 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()
107 copy = *(SimpleTimeZone*)zoneclone; in TestGenericAPI()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java497 TimeZone zoneclone = (TimeZone)zone.clone(); in TestGenericAPI() local
498 if (!zoneclone.equals(zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
499 zoneclone.setID("abc"); in TestGenericAPI()
500 if (zoneclone.equals(zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()
503 zoneclone = (TimeZone)zone.clone(); in TestGenericAPI()
504 if (!zoneclone.equals(zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
505 zoneclone.setRawOffset(45678); in TestGenericAPI()
506 if (zoneclone.equals(zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java493 TimeZone zoneclone = (TimeZone)zone.clone(); in TestGenericAPI() local
494 if (!zoneclone.equals(zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
495 zoneclone.setID("abc"); in TestGenericAPI()
496 if (zoneclone.equals(zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()
499 zoneclone = (TimeZone)zone.clone(); in TestGenericAPI()
500 if (!zoneclone.equals(zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
501 zoneclone.setRawOffset(45678); in TestGenericAPI()
502 if (zoneclone.equals(zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()