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