home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / intltest / calregts.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-15  |  2.3 KB  |  87 lines

  1. /*
  2. ********************************************************************
  3. * COPYRIGHT: 
  4. * (C) Copyright International Business Machines Corporation, 1998
  5. * Licensed Material - Program-Property of IBM - All Rights Reserved. 
  6. * US Government Users Restricted Rights - Use, duplication, or disclosure 
  7. * restricted by GSA ADP Schedule Contract with IBM Corp. 
  8. *
  9. ********************************************************************
  10. */
  11.  
  12. #ifndef _CALENDARREGRESSIONTEST_
  13. #define _CALENDARREGRESSIONTEST_
  14.  
  15. #include "utypes.h"
  16. #include "calendar.h"
  17.  
  18. #include "intltest.h"
  19.  
  20. class GregorianCalendar;
  21.  
  22. /** 
  23.  * Performs regression test for Calendar
  24.  **/
  25. class CalendarRegressionTest: public IntlTest {    
  26.     
  27.     // IntlTest override
  28.     void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par );
  29. public:
  30.     void test4100311(void);
  31.     void test4074758(void);
  32.     void test4028518(void);
  33.     void test4031502(void) ;
  34.     void test4035301(void) ;
  35.     void test4040996(void) ;
  36.     void test4051765(void) ;
  37.     void test4059654(void) ;
  38.     void test4061476(void) ;
  39.     void test4070502(void) ;
  40.     void test4071197(void) ;
  41.     void test4071385(void) ;
  42.     void test4073929(void) ;
  43.     void test4083167(void) ;
  44.     void test4086724(void) ;
  45.     void test4092362(void) ;
  46.     void test4095407(void) ;
  47.     void test4096231(void) ;
  48.     void test4096539(void) ;
  49.     void test41003112(void) ;
  50.     void test4103271(void) ;
  51.     void test4106136(void) ;
  52.     void test4108764(void) ;
  53.     void test4114578(void) ;
  54.     void test4118384(void) ;
  55.     void test4125881(void) ;
  56.     void test4125892(void) ;
  57.     void test4141665(void) ;
  58.     void test4142933(void) ;
  59.     void test4145158(void) ;
  60.     void test4145983(void) ;
  61.     void test4147269(void) ;
  62.  
  63.     void Test4149677(void) ;
  64.     void Test4162587(void) ;
  65.     void Test4165343(void) ;
  66.     void Test4166109(void) ;
  67.     void Test4167060(void) ;
  68.     void Test4197699();
  69.  
  70.     void printdate(GregorianCalendar *cal, char *string);
  71.     void dowTest(bool_t lenient) ;
  72.  
  73.  
  74.     static UDate getAssociatedDate(UDate d, UErrorCode& status);
  75.     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);
  76.  
  77.     static const UDate EARLIEST_SUPPORTED_MILLIS;
  78.     static const UDate LATEST_SUPPORTED_MILLIS;
  79.  
  80. protected:
  81.     bool_t failure(UErrorCode status, const char* msg);
  82. };
  83.  
  84.  
  85. #endif // _CALENDARREGRESSIONTEST_
  86. //eof
  87.