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

Side by Side Diff: source/test/intltest/convtest.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/compactdecimalformattest.cpp ('k') | source/test/intltest/convtest.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 ******************************************************************************* 2 *******************************************************************************
3 * 3 *
4 * Copyright (C) 2003-2007, International Business Machines 4 * Copyright (C) 2003-2014, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ******************************************************************************* 7 *******************************************************************************
8 * file name: convtest.h 8 * file name: convtest.h
9 * encoding: US-ASCII 9 * encoding: US-ASCII
10 * tab size: 8 (not used) 10 * tab size: 8 (not used)
11 * indentation:4 11 * indentation:4
12 * 12 *
13 * created on: 2003jul15 13 * created on: 2003jul15
14 * created by: Markus W. Scherer 14 * created by: Markus W. Scherer
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 public: 66 public:
67 ConversionTest(); 67 ConversionTest();
68 virtual ~ConversionTest(); 68 virtual ~ConversionTest();
69 69
70 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par= 0); 70 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par= 0);
71 71
72 void TestToUnicode(); 72 void TestToUnicode();
73 void TestFromUnicode(); 73 void TestFromUnicode();
74 void TestGetUnicodeSet(); 74 void TestGetUnicodeSet();
75 void TestGetUnicodeSet2(); 75 void TestGetUnicodeSet2();
76 void TestDefaultIgnorableCallback();
76 77
77 private: 78 private:
78 UBool 79 UBool
79 ToUnicodeCase(ConversionCase &cc, UConverterToUCallback callback, const char *option); 80 ToUnicodeCase(ConversionCase &cc, UConverterToUCallback callback, const char *option);
80 81
81 UBool 82 UBool
82 FromUnicodeCase(ConversionCase &cc, UConverterFromUCallback callback, const char *option); 83 FromUnicodeCase(ConversionCase &cc, UConverterFromUCallback callback, const char *option);
83 84
84 UBool 85 UBool
85 checkToUnicode(ConversionCase &cc, UConverter *cnv, const char *name, 86 checkToUnicode(ConversionCase &cc, UConverter *cnv, const char *name,
(...skipping 10 matching lines...) Expand all
96 UConverter * 97 UConverter *
97 cnv_open(const char *name, UErrorCode &errorCode); 98 cnv_open(const char *name, UErrorCode &errorCode);
98 99
99 /* for testing direct UTF-8 conversion */ 100 /* for testing direct UTF-8 conversion */
100 UConverter *utf8Cnv; 101 UConverter *utf8Cnv;
101 }; 102 };
102 103
103 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */ 104 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */
104 105
105 #endif 106 #endif
OLDNEW
« no previous file with comments | « source/test/intltest/compactdecimalformattest.cpp ('k') | source/test/intltest/convtest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698