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

Side by Side Diff: third_party/icu38/source/test/intltest/convtest.h

Issue 52030: Apply ICU patches for ICU tickets 6175 (ISO-2022 and ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 ******************************************************************************* 2 *******************************************************************************
3 * 3 *
4 * Copyright (C) 2003-2007, International Business Machines 4 * Copyright (C) 2003-2007, 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)
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 class ConversionTest : public IntlTest { 65 class ConversionTest : public IntlTest {
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 76
76 private: 77 private:
77 UBool 78 UBool
78 ToUnicodeCase(ConversionCase &cc, UConverterToUCallback callback, const char *option); 79 ToUnicodeCase(ConversionCase &cc, UConverterToUCallback callback, const char *option);
79 80
80 UBool 81 UBool
81 FromUnicodeCase(ConversionCase &cc, UConverterFromUCallback callback, const char *option); 82 FromUnicodeCase(ConversionCase &cc, UConverterFromUCallback callback, const char *option);
82 83
83 UBool 84 UBool
84 checkToUnicode(ConversionCase &cc, UConverter *cnv, const char *name, 85 checkToUnicode(ConversionCase &cc, UConverter *cnv, const char *name,
(...skipping 10 matching lines...) Expand all
95 UConverter * 96 UConverter *
96 cnv_open(const char *name, UErrorCode &errorCode); 97 cnv_open(const char *name, UErrorCode &errorCode);
97 98
98 /* for testing direct UTF-8 conversion */ 99 /* for testing direct UTF-8 conversion */
99 UConverter *utf8Cnv; 100 UConverter *utf8Cnv;
100 }; 101 };
101 102
102 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */ 103 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */
103 104
104 #endif 105 #endif
OLDNEW
« no previous file with comments | « third_party/icu38/source/test/cintltst/nucnvtst.c ('k') | third_party/icu38/source/test/intltest/convtest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698