~ubuntu-branches/ubuntu/gutsy/icu/gutsy-updates

« back to all changes in this revision

Viewing changes to source/test/intltest/calregts.h

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2005-11-19 11:29:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20051119112931-vcizkrp10tli4enw
Tags: 3.4-3
Explicitly build with g++ 3.4.  The current ICU fails its test suite
with 4.0 but not with 3.4.  Future versions should work properly with
4.0.

Show diffs side-by-side

added added

removed removed

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