]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/locnmtst.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 2010-2016, International Business Machines Corporation
6 * and others. All Rights Reserved.
7 ********************************************************************/
10 #include "unicode/locdspnm.h"
13 * Tests for the LocaleDisplayNames class
15 class LocaleDisplayNamesTest
: public IntlTest
{
17 LocaleDisplayNamesTest();
18 virtual ~LocaleDisplayNamesTest();
20 void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
22 #if !UCONFIG_NO_FORMATTING
24 * Test methods to set and get data fields
26 void TestCreate(void);
27 void TestCreateDialect(void);
28 void TestWithKeywordsAndEverything(void);
29 void TestUldnOpen(void);
30 void TestUldnOpenDialect(void);
31 void TestUldnWithKeywordsAndEverything(void);
32 void TestUldnComponents(void);
33 void TestRootEtc(void);
34 void TestCurrencyKeyword(void);
35 void TestUnknownCurrencyKeyword(void);
36 void TestUntranslatedKeywords(void);
37 void TestPrivateUse(void);
38 void TestUldnDisplayContext(void);
39 void TestUldnWithGarbage(void);
40 void TestSubstituteHandling(void);
42 void VerifySubstitute(LocaleDisplayNames
* ldn
);
43 void VerifyNoSubstitute(LocaleDisplayNames
* ldn
);