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

Side by Side Diff: source/test/intltest/dcfmapts.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/dadrcoll.cpp ('k') | source/test/intltest/dcfmapts.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 7
8 #ifndef _INTLTESTDECIMALFORMATAPI 8 #ifndef _INTLTESTDECIMALFORMATAPI
9 #define _INTLTESTDECIMALFORMATAPI 9 #define _INTLTESTDECIMALFORMATAPI
10 10
11 #include "unicode/utypes.h" 11 #include "unicode/utypes.h"
12 12
13 #if !UCONFIG_NO_FORMATTING 13 #if !UCONFIG_NO_FORMATTING
14 14
15 #include "unicode/unistr.h" 15 #include "unicode/unistr.h"
16 #include "intltest.h" 16 #include "intltest.h"
17 17
18 18
19 class IntlTestDecimalFormatAPI: public IntlTest { 19 class IntlTestDecimalFormatAPI: public IntlTest {
20 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); 20 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
21 21
22 public: 22 public:
23 /** 23 /**
24 * Tests basic functionality of various API functions for DecimalFormat 24 * Tests basic functionality of various API functions for DecimalFormat
25 **/ 25 **/
26 void testAPI(/*char *par*/); 26 void testAPI(/*char *par*/);
27 void testRounding(/*char *par*/); 27 void testRounding(/*char *par*/);
28 void testRoundingInc(/*char *par*/); 28 void testRoundingInc(/*char *par*/);
29 void TestCurrencyPluralInfo(); 29 void TestCurrencyPluralInfo();
30 void TestScale(); 30 void TestScale();
31 void TestFixedDecimal(); 31 void TestFixedDecimal();
32 void TestBadFastpath();
33 void TestRequiredDecimalPoint();
32 private: 34 private:
33 /*Helper functions */ 35 /*Helper functions */
34 void verify(const UnicodeString& message, const UnicodeString& got, double e xpected); 36 void verify(const UnicodeString& message, const UnicodeString& got, double e xpected);
35 void verifyString(const UnicodeString& message, const UnicodeString& got, Un icodeString& expected); 37 void verifyString(const UnicodeString& message, const UnicodeString& got, Un icodeString& expected);
36 }; 38 };
37 39
38 #endif /* #if !UCONFIG_NO_FORMATTING */ 40 #endif /* #if !UCONFIG_NO_FORMATTING */
39 41
40 #endif 42 #endif
OLDNEW
« no previous file with comments | « source/test/intltest/dadrcoll.cpp ('k') | source/test/intltest/dcfmapts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698