]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | // © 2016 and later: Unicode, Inc. and others. |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
b75a7d8f A |
3 | /******************************************************************** |
4 | * COPYRIGHT: | |
73c04bcf | 5 | * Copyright (c) 1998-2005, International Business Machines Corporation and |
b75a7d8f A |
6 | * others. All Rights Reserved. |
7 | ********************************************************************/ | |
8 | ||
9 | #ifndef _TIMEZONEREGRESSIONTEST_ | |
10 | #define _TIMEZONEREGRESSIONTEST_ | |
11 | ||
12 | #include "unicode/utypes.h" | |
13 | ||
14 | #if !UCONFIG_NO_FORMATTING | |
15 | ||
16 | #include "unicode/timezone.h" | |
17 | #include "unicode/gregocal.h" | |
18 | #include "unicode/simpletz.h" | |
19 | #include "intltest.h" | |
20 | ||
21 | ||
22 | ||
23 | /** | |
24 | * Performs regression test for Calendar | |
25 | **/ | |
26 | class TimeZoneRegressionTest: public IntlTest { | |
27 | ||
28 | // IntlTest override | |
29 | void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par ); | |
30 | public: | |
31 | ||
32 | void Test4052967(void); | |
33 | void Test4073209(void); | |
34 | void Test4073215(void); | |
35 | void Test4084933(void); | |
36 | void Test4096952(void); | |
37 | void Test4109314(void); | |
38 | void Test4126678(void); | |
39 | void Test4151406(void); | |
40 | void Test4151429(void); | |
41 | void Test4154537(void); | |
42 | void Test4154542(void); | |
43 | void Test4154650(void); | |
44 | void Test4154525(void); | |
45 | void Test4162593(void); | |
73c04bcf | 46 | void Test4176686(void); |
b75a7d8f A |
47 | void TestJ186(void); |
48 | void TestJ449(void); | |
49 | void TestJDK12API(void); | |
73c04bcf | 50 | void Test4184229(void); |
b75a7d8f | 51 | UBool checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ); |
0f5d89e8 | 52 | void TestNegativeDaylightSaving(void); |
b75a7d8f A |
53 | |
54 | ||
55 | protected: | |
56 | UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max); | |
57 | UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max); | |
58 | UBool failure(UErrorCode status, const char* msg); | |
59 | }; | |
60 | ||
61 | #endif /* #if !UCONFIG_NO_FORMATTING */ | |
62 | ||
63 | #endif // _CALENDARREGRESSIONTEST_ | |
64 | //eof |