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

Unified Diff: source/test/intltest/sdtfmtts.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
Index: source/test/intltest/sdtfmtts.cpp
diff --git a/source/test/intltest/sdtfmtts.cpp b/source/test/intltest/sdtfmtts.cpp
index ce043b21d58025dbd1f6bc38b8747aa17d02636d..546b43ccac9f4ad475346bb9f4230100f4fb5635 100644
--- a/source/test/intltest/sdtfmtts.cpp
+++ b/source/test/intltest/sdtfmtts.cpp
@@ -1,7 +1,7 @@
/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2012, International Business Machines Corporation and
+ * Copyright (c) 1997-2014, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
@@ -269,6 +269,12 @@ void IntlTestSimpleDateFormatAPI::testAPI(/*char *par*/)
if ((double)udDate == 0.0) {
errln("ERROR: Parsing failed using 'Y' and 'e'");
}
+
+// ====== Test ticket 11295 getNumberFormatForField returns wild pointer
+ if (object.getNumberFormatForField('B') != NULL) {
+ errln("B is not a valid field, "
+ "getNumberFormatForField should return NULL");
+ }
}
#endif /* #if !UCONFIG_NO_FORMATTING */
« no previous file with comments | « source/test/intltest/scientificnumberformattertest.cpp ('k') | source/test/intltest/simplepatternformattertest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698