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

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

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 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/itercoll.cpp ('k') | source/test/intltest/itrbnf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/itformat.cpp
diff --git a/source/test/intltest/itformat.cpp b/source/test/intltest/itformat.cpp
index aa919d34aea1564220b1d3ac9fb1eecd004935e1..e8dc872c17b0b789f2de21cb39d89e5b46f15bd6 100644
--- a/source/test/intltest/itformat.cpp
+++ b/source/test/intltest/itformat.cpp
@@ -1,6 +1,6 @@
/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2013, International Business Machines
+ * Copyright (c) 1997-2014, International Business Machines
* Corporation and others. All Rights Reserved.
********************************************************************/
@@ -61,6 +61,12 @@
extern IntlTest *createCompactDecimalFormatTest();
extern IntlTest *createGenderInfoTest();
+#if !UCONFIG_NO_BREAK_ITERATION
+extern IntlTest *createRelativeDateTimeFormatterTest();
+#endif
+extern IntlTest *createMeasureFormatTest();
+extern IntlTest *createScientificFormatHelperTest();
+extern IntlTest *createNumberFormatSpecificationTest();
#define TESTCLASS(id, TestClass) \
case id: \
@@ -80,7 +86,7 @@ void IntlTestFormat::runIndexedTest( int32_t index, UBool exec, const char* &nam
Locale saveDefaultLocale = Locale::getDefault();
if (exec) {
saveDefaultTimeZone = TimeZone::createDefault();
- TimeZone *tz = TimeZone::createTimeZone("PST");
+ TimeZone *tz = TimeZone::createTimeZone("America/Los_Angeles");
TimeZone::setDefault(*tz);
delete tz;
UErrorCode status = U_ZERO_ERROR;
@@ -157,6 +163,44 @@ void IntlTestFormat::runIndexedTest( int32_t index, UBool exec, const char* &nam
}
break;
TESTCLASS(45,RegionTest);
+ case 46:
+#if !UCONFIG_NO_BREAK_ITERATION
+ name = "RelativeDateTimeFormatterTest";
+ if (exec) {
+ logln("RelativeDateTimeFormatterTest test---");
+ logln((UnicodeString)"");
+ LocalPointer<IntlTest> test(createRelativeDateTimeFormatterTest());
+ callTest(*test, par);
+ }
+#endif
+ break;
+ case 47:
+ name = "MeasureFormatTest";
+ if (exec) {
+ logln("MeasureFormatTest test---");
+ logln((UnicodeString)"");
+ LocalPointer<IntlTest> test(createMeasureFormatTest());
+ callTest(*test, par);
+ }
+ break;
+ case 48:
+ name = "ScientificFormatHelperTest";
+ if (exec) {
+ logln("ScientificFormatHelperTest test---");
+ logln((UnicodeString)"");
+ LocalPointer<IntlTest> test(createScientificFormatHelperTest());
+ callTest(*test, par);
+ }
+ break;
+ case 49:
+ name = "NumberFormatSpecificationTest";
+ if (exec) {
+ logln("NumberFormatSpecificationTest test---");
+ logln((UnicodeString)"");
+ LocalPointer<IntlTest> test(createNumberFormatSpecificationTest());
+ callTest(*test, par);
+ }
+ break;
default: name = ""; break; //needed to end loop
}
if (exec) {
« no previous file with comments | « source/test/intltest/itercoll.cpp ('k') | source/test/intltest/itrbnf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698