| /******************************************************************** |
| * COPYRIGHT: |
| * Copyright (c) 2010-2014, International Business Machines Corporation |
| * and others. All Rights Reserved. |
| ********************************************************************/ |
| |
| #include "intltest.h" |
| #include "unicode/locdspnm.h" |
| |
| /** |
| * Tests for the LocaleDisplayNames class |
| **/ |
| class LocaleDisplayNamesTest: public IntlTest { |
| public: |
| LocaleDisplayNamesTest(); |
| virtual ~LocaleDisplayNamesTest(); |
| |
| void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL); |
| |
| #if !UCONFIG_NO_FORMATTING |
| /** |
| * Test methods to set and get data fields |
| **/ |
| void TestCreate(void); |
| void TestCreateDialect(void); |
| void TestWithKeywordsAndEverything(void); |
| void TestUldnOpen(void); |
| void TestUldnOpenDialect(void); |
| void TestUldnWithKeywordsAndEverything(void); |
| void TestUldnComponents(void); |
| void TestRootEtc(void); |
| void TestCurrencyKeyword(void); |
| void TestUnknownCurrencyKeyword(void); |
| void TestUntranslatedKeywords(void); |
| void TestPrivateUse(void); |
| void TestUldnDisplayContext(void); |
| #endif |
| }; |