Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: source/test/intltest/calregts.cpp

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/test/intltest/bidiconf.cpp ('k') | source/test/intltest/caltest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/calregts.cpp
diff --git a/source/test/intltest/calregts.cpp b/source/test/intltest/calregts.cpp
index 9a25c265187215b38ffb09da747c2c73907505f2..e773dbea65a8a6948d45b41b87c224fa5621a772 100644
--- a/source/test/intltest/calregts.cpp
+++ b/source/test/intltest/calregts.cpp
@@ -1,6 +1,6 @@
/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2013, International Business Machines Corporation
+ * Copyright (c) 1997-2014, International Business Machines Corporation
* and others. All Rights Reserved.
********************************************************************/
@@ -202,16 +202,16 @@ void
CalendarRegressionTest::Test9019()
{
UErrorCode status = U_ZERO_ERROR;
- LocalPointer<GregorianCalendar> cal1(new GregorianCalendar(status));
- LocalPointer<GregorianCalendar> cal2(new GregorianCalendar(status));
- cal1->set(UCAL_HOUR, 1);
- cal2->set(UCAL_HOUR,2);
- cal1->clear();
- cal2->clear();
+ LocalPointer<GregorianCalendar> cal1(new GregorianCalendar(status), status);
+ LocalPointer<GregorianCalendar> cal2(new GregorianCalendar(status), status);
if(U_FAILURE(status)) {
dataerrln("Error creating Calendar: %s", u_errorName(status));
return;
}
+ cal1->set(UCAL_HOUR, 1);
+ cal2->set(UCAL_HOUR,2);
+ cal1->clear();
+ cal2->clear();
failure(status, "new GregorianCalendar");
cal1->set(2011,UCAL_MAY,06);
cal2->set(2012,UCAL_JANUARY,06);
« no previous file with comments | « source/test/intltest/bidiconf.cpp ('k') | source/test/intltest/caltest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698