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

Side by Side Diff: source/test/intltest/dtfmttst.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/dtfmtrtts.cpp ('k') | source/test/intltest/dtfmttst.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) 1997-2014, International Business Machines Corporation and 3 * Copyright (c) 1997-2014, International Business Machines Corporation and
4 * others. All Rights Reserved. 4 * others. All Rights Reserved.
5 ********************************************************************/ 5 ********************************************************************/
6 6
7 #ifndef _DATEFORMATTEST_ 7 #ifndef _DATEFORMATTEST_
8 #define _DATEFORMATTEST_ 8 #define _DATEFORMATTEST_
9 9
10 #include "unicode/utypes.h" 10 #include "unicode/utypes.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void TestTimeZoneStringsAPI(void); 143 void TestTimeZoneStringsAPI(void);
144 144
145 void TestGMTParsing(void); 145 void TestGMTParsing(void);
146 146
147 public: // package 147 public: // package
148 /** 148 /**
149 * Test the formatting of dates in different locales. 149 * Test the formatting of dates in different locales.
150 */ 150 */
151 virtual void TestLocaleDateFormat(void); 151 virtual void TestLocaleDateFormat(void);
152 152
153 virtual void TestFormattingLocaleTimeSeparator(void);
154
153 virtual void TestDateFormatCalendar(void); 155 virtual void TestDateFormatCalendar(void);
154 156
155 virtual void TestSpaceParsing(void); 157 virtual void TestSpaceParsing(void);
156 158
157 void TestExactCountFormat(void); 159 void TestExactCountFormat(void);
158 160
159 void TestWhiteSpaceParsing(void); 161 void TestWhiteSpaceParsing(void);
160 162
161 void TestInvalidPattern(void); 163 void TestInvalidPattern(void);
162 164
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 void TestStandAloneMonths(void); 209 void TestStandAloneMonths(void);
208 210
209 void TestQuarters(void); 211 void TestQuarters(void);
210 212
211 void TestZTimeZoneParsing(void); 213 void TestZTimeZoneParsing(void);
212 214
213 void TestRelativeClone(void); 215 void TestRelativeClone(void);
214 216
215 void TestHostClone(void); 217 void TestHostClone(void);
216 218
219 void TestHebrewClone(void);
220
221 void TestDateFormatSymbolsClone(void);
222
217 void TestTimeZoneDisplayName(void); 223 void TestTimeZoneDisplayName(void);
218 224
219 void TestRoundtripWithCalendar(void); 225 void TestRoundtripWithCalendar(void);
220 226
221 public: 227 public:
222 /*** 228 /***
223 * Test Relative Dates 229 * Test Relative Dates
224 */ 230 */
225 void TestRelative(void); 231 void TestRelative(void);
226 /* void TestRelativeError(void); 232 /* void TestRelativeError(void);
227 void TestRelativeOther(void); 233 void TestRelativeOther(void);
228 */ 234 */
229 235
230 void TestDotAndAtLeniency(); 236 void TestDotAndAtLeniency();
231 237
232 void TestDateFormatLeniency(); 238 void TestDateFormatLeniency();
233 239
234 void TestParseMultiPatternMatch(); 240 void TestParseMultiPatternMatch();
235 241
236 void TestParseLeniencyAPIs(); 242 void TestParseLeniencyAPIs();
237 243
238 // test override NumberFormat 244 // test override NumberFormat
239 void TestNumberFormatOverride(); 245 void TestNumberFormatOverride();
246 void TestCreateInstanceForSkeleton();
247 void TestCreateInstanceForSkeletonDefault();
248 void TestCreateInstanceForSkeletonWithCalendar();
249 void TestDFSCreateForLocaleNonGregorianLocale();
250 void TestDFSCreateForLocaleWithCalendarInLocale();
251 void TestChangeCalendar();
240 252
241 private: 253 private:
242 UBool showParse(DateFormat &format, const UnicodeString &formattedString); 254 UBool showParse(DateFormat &format, const UnicodeString &formattedString);
243 255
244 public: 256 public:
245 /** 257 /**
246 * Test parsing a number as a string 258 * Test parsing a number as a string
247 */ 259 */
248 void TestNumberAsStringParsing(void); 260 void TestNumberAsStringParsing(void);
249 261
(...skipping 10 matching lines...) Expand all
260 const Locale& loc); 272 const Locale& loc);
261 273
262 void expectFormat(const char **data, int32_t data_length, 274 void expectFormat(const char **data, int32_t data_length,
263 const Locale &locale); 275 const Locale &locale);
264 }; 276 };
265 277
266 #endif /* #if !UCONFIG_NO_FORMATTING */ 278 #endif /* #if !UCONFIG_NO_FORMATTING */
267 279
268 #endif // _DATEFORMATTEST_ 280 #endif // _DATEFORMATTEST_
269 //eof 281 //eof
OLDNEW
« no previous file with comments | « source/test/intltest/dtfmtrtts.cpp ('k') | source/test/intltest/dtfmttst.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698