]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | /******************************************************************** |
2 | * COPYRIGHT: | |
51004dcb | 3 | * Copyright (c) 1997-2013, International Business Machines Corporation and |
b75a7d8f A |
4 | * others. All Rights Reserved. |
5 | ********************************************************************/ | |
6 | ||
7 | #ifndef _INTLTESTDATEFORMATSYMBOLS | |
8 | #define _INTLTESTDATEFORMATSYMBOLS | |
9 | ||
10 | #include "unicode/utypes.h" | |
11 | ||
12 | #if !UCONFIG_NO_FORMATTING | |
13 | ||
14 | #include "intltest.h" | |
15 | ||
16 | /** | |
17 | * Tests for DateFormatSymbols | |
18 | **/ | |
19 | class IntlTestDateFormatSymbols: public IntlTest { | |
20 | void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); | |
21 | ||
22 | private: | |
23 | /** | |
24 | * Test the API of DateFormatSymbols; primarily a simple get/set set. | |
25 | */ | |
73c04bcf | 26 | void TestSymbols(/* char *par */); |
b75a7d8f A |
27 | /** |
28 | * Test getMonths. | |
29 | */ | |
30 | void TestGetMonths(void); | |
73c04bcf A |
31 | void TestGetMonths2(void); |
32 | ||
33 | void TestGetWeekdays2(void); | |
34 | void TestGetEraNames(void); | |
51004dcb A |
35 | void TestGetSetSpecificItems(void); |
36 | ||
37 | UBool UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const UnicodeString *prefixArray, const UnicodeString *baseArray); | |
b75a7d8f A |
38 | }; |
39 | ||
40 | #endif /* #if !UCONFIG_NO_FORMATTING */ | |
41 | ||
42 | #endif |