Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtztest.cpp96 TimeZone* zoneclone = zone->clone(); in TestGenericAPI() local
97 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
98 zoneclone->setID("abc"); in TestGenericAPI()
99 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()
100 delete zoneclone; in TestGenericAPI()
102 zoneclone = zone->clone(); in TestGenericAPI()
103 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
104 zoneclone->setRawOffset(45678); in TestGenericAPI()
105 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()
109 copy = *(SimpleTimeZone*)zoneclone; in TestGenericAPI()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java499 TimeZone zoneclone = (TimeZone)zone.clone(); in TestGenericAPI() local
500 if (!zoneclone.equals(zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
501 zoneclone.setID("abc"); in TestGenericAPI()
502 if (zoneclone.equals(zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()
505 zoneclone = (TimeZone)zone.clone(); in TestGenericAPI()
506 if (!zoneclone.equals(zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
507 zoneclone.setRawOffset(45678); in TestGenericAPI()
508 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.java498 TimeZone zoneclone = (TimeZone)zone.clone(); in TestGenericAPI() local
499 if (!zoneclone.equals(zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
500 zoneclone.setID("abc"); in TestGenericAPI()
501 if (zoneclone.equals(zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()
504 zoneclone = (TimeZone)zone.clone(); in TestGenericAPI()
505 if (!zoneclone.equals(zone)) errln("FAIL: clone or operator== failed"); in TestGenericAPI()
506 zoneclone.setRawOffset(45678); in TestGenericAPI()
507 if (zoneclone.equals(zone)) errln("FAIL: clone or operator!= failed"); in TestGenericAPI()