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

Side by Side Diff: source/test/intltest/dtifmtts.h

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/dtfmttst.cpp ('k') | source/test/intltest/dtifmtts.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 * COPYRIGHT: 2 * COPYRIGHT:
3 * Copyright (c) 2008-2013 International Business Machines Corporation and 3 * Copyright (c) 2008-2015 International Business Machines Corporation and
4 * others. All Rights Reserved. 4 * others. All Rights Reserved.
5 ********************************************************************/ 5 ********************************************************************/
6 6
7 #ifndef _INTLTESTDATEINTERVALFORMAT 7 #ifndef _INTLTESTDATEINTERVALFORMAT
8 #define _INTLTESTDATEINTERVALFORMAT 8 #define _INTLTESTDATEINTERVALFORMAT
9 9
10 #include "unicode/utypes.h" 10 #include "unicode/utypes.h"
11 #include "unicode/locid.h" 11 #include "unicode/locid.h"
12 12
13 #if !UCONFIG_NO_FORMATTING 13 #if !UCONFIG_NO_FORMATTING
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 /** 45 /**
46 * Tests different year formats. 46 * Tests different year formats.
47 */ 47 */
48 void testYearFormats(); 48 void testYearFormats();
49 49
50 /** 50 /**
51 * Stress test -- stress test formatting on 40 locales 51 * Stress test -- stress test formatting on 40 locales
52 */ 52 */
53 void testStress(); 53 void testStress();
54 54
55 void testTicket11583_2();
56
55 private: 57 private:
56 /** 58 /**
57 * Test formatting against expected result 59 * Test formatting against expected result
58 */ 60 */
59 void expect(const char** data, int32_t data_length); 61 void expect(const char** data, int32_t data_length);
60 62
61 /** 63 /**
62 * Test formatting against expected result using user defined 64 * Test formatting against expected result using user defined
63 * DateIntervalInfo 65 * DateIntervalInfo
64 */ 66 */
65 void expectUserDII(const char** data, int32_t data_length); 67 void expectUserDII(const char** data, int32_t data_length);
66 68
67 /** 69 /**
68 * Stress test formatting 70 * Stress test formatting
69 */ 71 */
70 void stress(const char** data, int32_t data_length, const Locale& loc, 72 void stress(const char** data, int32_t data_length, const Locale& loc,
71 const char* locName); 73 const char* locName);
72 }; 74 };
73 75
74 #endif /* #if !UCONFIG_NO_FORMATTING */ 76 #endif /* #if !UCONFIG_NO_FORMATTING */
75 77
76 #endif 78 #endif
OLDNEW
« no previous file with comments | « source/test/intltest/dtfmttst.cpp ('k') | source/test/intltest/dtifmtts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698