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