Imported Upstream version 58.1
[platform/upstream/icu.git] / source / test / intltest / tsdtfmsy.h
1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
4  * COPYRIGHT: 
5  * Copyright (c) 1997-2013, International Business Machines Corporation and
6  * others. All Rights Reserved.
7  ********************************************************************/
8
9 #ifndef _INTLTESTDATEFORMATSYMBOLS
10 #define _INTLTESTDATEFORMATSYMBOLS
11
12 #include "unicode/utypes.h"
13
14 #if !UCONFIG_NO_FORMATTING
15
16 #include "intltest.h"
17
18 /**
19  * Tests for DateFormatSymbols
20  **/
21 class IntlTestDateFormatSymbols: public IntlTest {
22     void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );  
23
24 private:
25     /**
26      * Test the API of DateFormatSymbols; primarily a simple get/set set.
27      */
28     void TestSymbols(/* char *par */);
29     /**
30      * Test getMonths.
31      */
32     void TestGetMonths(void);
33     void TestGetMonths2(void);
34
35     void TestGetWeekdays2(void);
36     void TestGetEraNames(void);
37     void TestGetSetSpecificItems(void);
38
39     UBool UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const UnicodeString *prefixArray, const UnicodeString *baseArray);
40 };
41
42 #endif /* #if !UCONFIG_NO_FORMATTING */
43
44 #endif