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

Side by Side Diff: source/test/intltest/tztest.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/tzrulets.cpp ('k') | source/test/intltest/tztest.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 * Copyright (c) 1997-2013, International Business Machines 3 * Copyright (c) 1997-2014, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************/ 5 ********************************************************************/
6 6
7 #ifndef __TimeZoneTest__ 7 #ifndef __TimeZoneTest__
8 #define __TimeZoneTest__ 8 #define __TimeZoneTest__
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void TestHistorical(void); 83 void TestHistorical(void);
84 84
85 void TestEquivalentIDs(void); 85 void TestEquivalentIDs(void);
86 86
87 void TestAliasedNames(void); 87 void TestAliasedNames(void);
88 88
89 void TestFractionalDST(void); 89 void TestFractionalDST(void);
90 90
91 void TestFebruary(void); 91 void TestFebruary(void);
92 92
93 void TestCanonicalIDAPI();
93 void TestCanonicalID(void); 94 void TestCanonicalID(void);
94 95
95 virtual void TestDisplayNamesMeta(); 96 virtual void TestDisplayNamesMeta();
96 97
97 void TestGetRegion(void); 98 void TestGetRegion(void);
98 void TestGetUnknown(); 99 void TestGetUnknown();
99 100
100 void TestGetWindowsID(void); 101 void TestGetWindowsID(void);
101 void TestGetIDForWindowsID(void); 102 void TestGetIDForWindowsID(void);
102 103
103 static const UDate INTERVAL; 104 static const UDate INTERVAL;
104 105
105 private: 106 private:
106 // internal functions 107 // internal functions
107 static UnicodeString& formatOffset(int32_t offset, UnicodeString& rv); 108 static UnicodeString& formatOffset(int32_t offset, UnicodeString& rv);
108 static UnicodeString& formatTZID(int32_t offset, UnicodeString& rv); 109 static UnicodeString& formatTZID(int32_t offset, UnicodeString& rv);
109 110
110 // Some test case data is current date/tzdata version sensitive and producin g errors 111 // Some test case data is current date/tzdata version sensitive and producin g errors
111 // when year/rule are changed. 112 // when year/rule are changed.
112 static const int32_t REFERENCE_YEAR; 113 static const int32_t REFERENCE_YEAR;
113 static const char *REFERENCE_DATA_VERSION; 114 static const char *REFERENCE_DATA_VERSION;
114 115
115 void checkContainsAll(StringEnumeration *s1, const char *name1, 116 void checkContainsAll(StringEnumeration *s1, const char *name1,
116 StringEnumeration *s2, const char *name2); 117 StringEnumeration *s2, const char *name2);
117 }; 118 };
118 119
119 #endif /* #if !UCONFIG_NO_FORMATTING */ 120 #endif /* #if !UCONFIG_NO_FORMATTING */
120 121
121 #endif // __TimeZoneTest__ 122 #endif // __TimeZoneTest__
OLDNEW
« no previous file with comments | « source/test/intltest/tzrulets.cpp ('k') | source/test/intltest/tztest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698