2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2005-11-04 21:57:24 +00:00
|
|
|
* Copyright (c) 1998-2005, International Business Machines Corporation and
|
2000-01-15 02:00:06 +00:00
|
|
|
* others. All Rights Reserved.
|
|
|
|
********************************************************************/
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
#ifndef _TIMEZONEREGRESSIONTEST_
|
|
|
|
#define _TIMEZONEREGRESSIONTEST_
|
|
|
|
|
2002-09-21 00:43:14 +00:00
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_FORMATTING
|
|
|
|
|
1999-12-28 23:57:50 +00:00
|
|
|
#include "unicode/timezone.h"
|
2001-10-08 23:26:58 +00:00
|
|
|
#include "unicode/gregocal.h"
|
|
|
|
#include "unicode/simpletz.h"
|
1999-08-16 21:50:52 +00:00
|
|
|
#include "intltest.h"
|
|
|
|
|
|
|
|
|
1999-12-09 06:19:30 +00:00
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
/**
|
|
|
|
* Performs regression test for Calendar
|
|
|
|
**/
|
|
|
|
class TimeZoneRegressionTest: public IntlTest {
|
|
|
|
|
|
|
|
// IntlTest override
|
2000-08-14 21:42:36 +00:00
|
|
|
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
|
1999-08-16 21:50:52 +00:00
|
|
|
public:
|
|
|
|
|
|
|
|
void Test4052967(void);
|
|
|
|
void Test4073209(void);
|
|
|
|
void Test4073215(void);
|
|
|
|
void Test4084933(void);
|
|
|
|
void Test4096952(void);
|
|
|
|
void Test4109314(void);
|
|
|
|
void Test4126678(void);
|
|
|
|
void Test4151406(void);
|
|
|
|
void Test4151429(void);
|
|
|
|
void Test4154537(void);
|
|
|
|
void Test4154542(void);
|
|
|
|
void Test4154650(void);
|
|
|
|
void Test4154525(void);
|
|
|
|
void Test4162593(void);
|
2005-11-04 21:57:24 +00:00
|
|
|
void Test4176686(void);
|
1999-12-09 06:19:30 +00:00
|
|
|
void TestJ186(void);
|
2000-09-27 19:16:54 +00:00
|
|
|
void TestJ449(void);
|
1999-08-16 21:50:52 +00:00
|
|
|
void TestJDK12API(void);
|
2005-11-04 21:57:24 +00:00
|
|
|
void Test4184229(void);
|
2000-05-18 22:08:39 +00:00
|
|
|
UBool checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ);
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
protected:
|
1999-12-09 06:19:30 +00:00
|
|
|
UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max);
|
|
|
|
UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
|
2000-05-18 22:08:39 +00:00
|
|
|
UBool failure(UErrorCode status, const char* msg);
|
1999-08-16 21:50:52 +00:00
|
|
|
};
|
|
|
|
|
2002-09-21 00:43:14 +00:00
|
|
|
#endif /* #if !UCONFIG_NO_FORMATTING */
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
#endif // _CALENDARREGRESSIONTEST_
|
|
|
|
//eof
|