2010-01-14 02:23:46 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2012-02-14 00:42:04 +00:00
|
|
|
* Copyright (c) 2010-2012, International Business Machines Corporation
|
|
|
|
* and others. All Rights Reserved.
|
2010-01-14 02:23:46 +00:00
|
|
|
********************************************************************/
|
|
|
|
|
|
|
|
#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);
|
2010-01-15 02:35:02 +00:00
|
|
|
void TestUldnOpen(void);
|
|
|
|
void TestUldnOpenDialect(void);
|
|
|
|
void TestUldnWithKeywordsAndEverything(void);
|
|
|
|
void TestUldnComponents(void);
|
2010-01-21 02:45:53 +00:00
|
|
|
void TestRootEtc(void);
|
2012-02-14 00:42:04 +00:00
|
|
|
void TestKeywords(void);
|
|
|
|
void TestUntranslatedKeywords(void);
|
|
|
|
void TestPrivateUse(void);
|
2012-10-09 12:45:54 +00:00
|
|
|
void TestUldnDisplayContext(void);
|
2010-01-14 02:23:46 +00:00
|
|
|
#endif
|
|
|
|
};
|