OLD | NEW |
1 /******************************************************************** | 1 /******************************************************************** |
2 * COPYRIGHT: | 2 * COPYRIGHT: |
3 * Copyright (c) 2010-2012, International Business Machines Corporation | 3 * Copyright (c) 2010-2014, International Business Machines Corporation |
4 * and others. All Rights Reserved. | 4 * and others. All Rights Reserved. |
5 ********************************************************************/ | 5 ********************************************************************/ |
6 | 6 |
7 #include "intltest.h" | 7 #include "intltest.h" |
8 #include "unicode/locdspnm.h" | 8 #include "unicode/locdspnm.h" |
9 | 9 |
10 /** | 10 /** |
11 * Tests for the LocaleDisplayNames class | 11 * Tests for the LocaleDisplayNames class |
12 **/ | 12 **/ |
13 class LocaleDisplayNamesTest: public IntlTest { | 13 class LocaleDisplayNamesTest: public IntlTest { |
14 public: | 14 public: |
15 LocaleDisplayNamesTest(); | 15 LocaleDisplayNamesTest(); |
16 virtual ~LocaleDisplayNamesTest(); | 16 virtual ~LocaleDisplayNamesTest(); |
17 | 17 |
18 void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par
= NULL); | 18 void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par
= NULL); |
19 | 19 |
20 #if !UCONFIG_NO_FORMATTING | 20 #if !UCONFIG_NO_FORMATTING |
21 /** | 21 /** |
22 * Test methods to set and get data fields | 22 * Test methods to set and get data fields |
23 **/ | 23 **/ |
24 void TestCreate(void); | 24 void TestCreate(void); |
25 void TestCreateDialect(void); | 25 void TestCreateDialect(void); |
26 void TestWithKeywordsAndEverything(void); | 26 void TestWithKeywordsAndEverything(void); |
27 void TestUldnOpen(void); | 27 void TestUldnOpen(void); |
28 void TestUldnOpenDialect(void); | 28 void TestUldnOpenDialect(void); |
29 void TestUldnWithKeywordsAndEverything(void); | 29 void TestUldnWithKeywordsAndEverything(void); |
30 void TestUldnComponents(void); | 30 void TestUldnComponents(void); |
31 void TestRootEtc(void); | 31 void TestRootEtc(void); |
32 void TestKeywords(void); | 32 void TestCurrencyKeyword(void); |
| 33 void TestUnknownCurrencyKeyword(void); |
33 void TestUntranslatedKeywords(void); | 34 void TestUntranslatedKeywords(void); |
34 void TestPrivateUse(void); | 35 void TestPrivateUse(void); |
35 void TestUldnDisplayContext(void); | 36 void TestUldnDisplayContext(void); |
36 #endif | 37 #endif |
37 }; | 38 }; |
OLD | NEW |