blob: 2a0f64283273643665517c6ffb37f1fc13fc9fee [file] [log] [blame]
/*
********************************************************************
* COPYRIGHT:
* (C) Copyright International Business Machines Corporation, 1998
* Licensed Material - Program-Property of IBM - All Rights Reserved.
* US Government Users Restricted Rights - Use, duplication, or disclosure
* restricted by GSA ADP Schedule Contract with IBM Corp.
*
********************************************************************
*/
#ifndef _CALENDARREGRESSIONTEST_
#define _CALENDARREGRESSIONTEST_
#include "utypes.h"
#include "calendar.h"
#include "intltest.h"
class GregorianCalendar;
/**
* Performs regression test for Calendar
**/
class CalendarRegressionTest: public IntlTest {
// IntlTest override
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par );
public:
void test4100311(void);
void test4074758(void);
void test4028518(void);
void test4031502(void) ;
void test4035301(void) ;
void test4040996(void) ;
void test4051765(void) ;
void test4059654(void) ;
void test4061476(void) ;
void test4070502(void) ;
void test4071197(void) ;
void test4071385(void) ;
void test4073929(void) ;
void test4083167(void) ;
void test4086724(void) ;
void test4092362(void) ;
void test4095407(void) ;
void test4096231(void) ;
void test4096539(void) ;
void test41003112(void) ;
void test4103271(void) ;
void test4106136(void) ;
void test4108764(void) ;
void test4114578(void) ;
void test4118384(void) ;
void test4125881(void) ;
void test4125892(void) ;
void test4141665(void) ;
void test4142933(void) ;
void test4145158(void) ;
void test4145983(void) ;
void test4147269(void) ;
void Test4149677(void) ;
void Test4162587(void) ;
void Test4165343(void) ;
void Test4166109(void) ;
void Test4167060(void) ;
void printdate(GregorianCalendar *cal, char *string);
void dowTest(bool_t lenient) ;
static UDate getAssociatedDate(UDate d, UErrorCode& status);
static UDate makeDate(int32_t y, int32_t m = 0, int32_t d = 0, int32_t hr = 0, int32_t min = 0, int32_t sec = 0);
static const UDate EARLIEST_SUPPORTED_MILLIS;
static const UDate LATEST_SUPPORTED_MILLIS;
protected:
const char* errorName(UErrorCode code);
bool_t failure(UErrorCode status, const char* msg);
};
#endif // _CALENDARREGRESSIONTEST_
//eof