Imported Upstream version 51.1
[platform/upstream/icu.git] / source / test / intltest / tsdtfmsy.h
1 /********************************************************************
2  * COPYRIGHT: 
3  * Copyright (c) 1997-2013, International Business Machines Corporation and
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      */
26     void TestSymbols(/* char *par */);
27     /**
28      * Test getMonths.
29      */
30     void TestGetMonths(void);
31     void TestGetMonths2(void);
32
33     void TestGetWeekdays2(void);
34     void TestGetEraNames(void);
35     void TestGetSetSpecificItems(void);
36
37     UBool UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const UnicodeString *prefixArray, const UnicodeString *baseArray);
38 };
39
40 #endif /* #if !UCONFIG_NO_FORMATTING */
41
42 #endif