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