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

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

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 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-2013, 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"
11 11
12 #if !UCONFIG_NO_FORMATTING 12 #if !UCONFIG_NO_FORMATTING
13 13
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 */ 224 */
225 void TestRelative(void); 225 void TestRelative(void);
226 /* void TestRelativeError(void); 226 /* void TestRelativeError(void);
227 void TestRelativeOther(void); 227 void TestRelativeOther(void);
228 */ 228 */
229 229
230 void TestDotAndAtLeniency(); 230 void TestDotAndAtLeniency();
231 231
232 void TestDateFormatLeniency(); 232 void TestDateFormatLeniency();
233 233
234 void TestParseMultiPatternMatch();
235
236 void TestParseLeniencyAPIs();
237
238 // test override NumberFormat
239 void TestNumberFormatOverride();
240
234 private: 241 private:
235 UBool showParse(DateFormat &format, const UnicodeString &formattedString); 242 UBool showParse(DateFormat &format, const UnicodeString &formattedString);
236 243
237 public: 244 public:
238 /** 245 /**
239 * Test parsing a number as a string 246 * Test parsing a number as a string
240 */ 247 */
241 void TestNumberAsStringParsing(void); 248 void TestNumberAsStringParsing(void);
242 249
243 private: 250 private:
244 void TestRelative(int daysdelta, 251 void TestRelative(int daysdelta,
245 const Locale& loc, 252 const Locale& loc,
246 const char *expectChars); 253 const char *expectChars);
247 254
248 private: 255 private:
249 void expectParse(const char** data, int32_t data_length, 256 void expectParse(const char** data, int32_t data_length,
250 const Locale& locale); 257 const Locale& locale);
251 258
252 void expect(const char** data, int32_t data_length, 259 void expect(const char** data, int32_t data_length,
253 const Locale& loc); 260 const Locale& loc);
254 261
255 void expectFormat(const char **data, int32_t data_length, 262 void expectFormat(const char **data, int32_t data_length,
256 const Locale &locale); 263 const Locale &locale);
257 }; 264 };
258 265
259 #endif /* #if !UCONFIG_NO_FORMATTING */ 266 #endif /* #if !UCONFIG_NO_FORMATTING */
260 267
261 #endif // _DATEFORMATTEST_ 268 #endif // _DATEFORMATTEST_
262 //eof 269 //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