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

Side by Side Diff: source/test/intltest/nmfmtrt.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/measfmttest.cpp ('k') | source/test/intltest/nmfmtrt.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-2009, International Business Machines Corporation and 3 * Copyright (c) 1997-2015, International Business Machines Corporation and
4 * others. All Rights Reserved. 4 * others. All Rights Reserved.
5 ********************************************************************/ 5 ********************************************************************/
6 6
7 #ifndef _NUMBERFORMATROUNDTRIPTEST_ 7 #ifndef _NUMBERFORMATROUNDTRIPTEST_
8 #define _NUMBERFORMATROUNDTRIPTEST_ 8 #define _NUMBERFORMATROUNDTRIPTEST_
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
14 #include "unicode/numfmt.h" 14 #include "unicode/numfmt.h"
15 #include "unicode/fmtable.h" 15 #include "unicode/fmtable.h"
16 #include "intltest.h" 16 #include "intltest.h"
17 17
18 /** 18 /**
19 * Performs round-trip tests for NumberFormat 19 * Performs round-trip tests for NumberFormat
20 **/ 20 **/
21 class NumberFormatRoundTripTest : public IntlTest { 21 class NumberFormatRoundTripTest : public IntlTest {
22 22
23 // IntlTest override 23 // IntlTest override
24 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par ); 24 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
25 public: 25 public:
26 26
27 static UBool verbose; 27 static UBool verbose;
28 static UBool STRING_COMPARE; 28 static UBool STRING_COMPARE;
29 static UBool EXACT_NUMERIC_COMPARE; 29 static UBool EXACT_NUMERIC_COMPARE;
30 static UBool DEBUG; 30 static UBool DEBUG_VAR;
31 static double MAX_ERROR; 31 static double MAX_ERROR;
32 static double max_numeric_error; 32 static double max_numeric_error;
33 static double min_numeric_error; 33 static double min_numeric_error;
34 34
35 35
36 void start(void); 36 void start(void);
37 37
38 void test(NumberFormat *fmt); 38 void test(NumberFormat *fmt);
39 void test(NumberFormat *fmt, double value); 39 void test(NumberFormat *fmt, double value);
40 void test(NumberFormat *fmt, int32_t value); 40 void test(NumberFormat *fmt, int32_t value);
(...skipping 27 matching lines...) Expand all
68 68
69 protected: 69 protected:
70 UBool failure(UErrorCode status, const char* msg, UBool possibleDataError=FA LSE); 70 UBool failure(UErrorCode status, const char* msg, UBool possibleDataError=FA LSE);
71 71
72 }; 72 };
73 73
74 #endif /* #if !UCONFIG_NO_FORMATTING */ 74 #endif /* #if !UCONFIG_NO_FORMATTING */
75 75
76 #endif // _NUMBERFORMATROUNDTRIPTEST_ 76 #endif // _NUMBERFORMATROUNDTRIPTEST_
77 //eof 77 //eof
OLDNEW
« no previous file with comments | « source/test/intltest/measfmttest.cpp ('k') | source/test/intltest/nmfmtrt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698