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

Side by Side Diff: source/test/intltest/reldatefmttest.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 unified diff | Download patch
« no previous file with comments | « source/test/intltest/regiontst.cpp ('k') | source/test/intltest/scientificformathelpertest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ******************************************************************************* 2 *******************************************************************************
3 * Copyright (C) 2013-2014, International Business Machines Corporation and * 3 * Copyright (C) 2013-2015, International Business Machines Corporation and *
4 * others. All Rights Reserved. * 4 * others. All Rights Reserved. *
5 ******************************************************************************* 5 *******************************************************************************
6 * 6 *
7 * File RELDATEFMTTEST.CPP 7 * File RELDATEFMTTEST.CPP
8 * 8 *
9 ******************************************************************************* 9 *******************************************************************************
10 */ 10 */
11 #include <stdio.h> 11 #include <stdio.h>
12 #include <stdlib.h> 12 #include <stdlib.h>
13 13
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_THURSDAY, "T"}, 455 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_THURSDAY, "T"},
456 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_FRIDAY, "F"}, 456 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_FRIDAY, "F"},
457 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_SATURDAY, "S"}, 457 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_SATURDAY, "S"},
458 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_SUNDAY, "S"}, 458 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_SUNDAY, "S"},
459 459
460 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_NOW, "now"} 460 {UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_NOW, "now"}
461 }; 461 };
462 462
463 static WithoutQuantityExpected kSpanishNoQuantity[] = { 463 static WithoutQuantityExpected kSpanishNoQuantity[] = {
464 {UDAT_DIRECTION_NEXT_2, UDAT_ABSOLUTE_DAY, "pasado ma\\u00F1ana"}, 464 {UDAT_DIRECTION_NEXT_2, UDAT_ABSOLUTE_DAY, "pasado ma\\u00F1ana"},
465 {UDAT_DIRECTION_LAST_2, UDAT_ABSOLUTE_DAY, "antes de ayer"} 465 {UDAT_DIRECTION_LAST_2, UDAT_ABSOLUTE_DAY, "anteayer"}
466 }; 466 };
467 467
468 class RelativeDateTimeFormatterTest : public IntlTest { 468 class RelativeDateTimeFormatterTest : public IntlTest {
469 public: 469 public:
470 RelativeDateTimeFormatterTest() { 470 RelativeDateTimeFormatterTest() {
471 } 471 }
472 472
473 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par= 0); 473 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par= 0);
474 private: 474 private:
475 void TestEnglish(); 475 void TestEnglish();
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 return kUndefined; 1000 return kUndefined;
1001 } 1001 }
1002 return kUndefined; 1002 return kUndefined;
1003 } 1003 }
1004 1004
1005 extern IntlTest *createRelativeDateTimeFormatterTest() { 1005 extern IntlTest *createRelativeDateTimeFormatterTest() {
1006 return new RelativeDateTimeFormatterTest(); 1006 return new RelativeDateTimeFormatterTest();
1007 } 1007 }
1008 1008
1009 #endif 1009 #endif
OLDNEW
« no previous file with comments | « source/test/intltest/regiontst.cpp ('k') | source/test/intltest/scientificformathelpertest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698