12e5b6d6dSopenharmony_ci// © 2016 and later: Unicode, Inc. and others.
22e5b6d6dSopenharmony_ci// License & terms of use: http://www.unicode.org/copyright.html
32e5b6d6dSopenharmony_ci/********************************************************************
42e5b6d6dSopenharmony_ci * COPYRIGHT:
52e5b6d6dSopenharmony_ci * Copyright (c) 2005-2006, International Business Machines Corporation and
62e5b6d6dSopenharmony_ci * others. All Rights Reserved.
72e5b6d6dSopenharmony_ci ********************************************************************/
82e5b6d6dSopenharmony_ci#ifndef _ALIASTST
92e5b6d6dSopenharmony_ci#define _ALIASTST
102e5b6d6dSopenharmony_ci
112e5b6d6dSopenharmony_ci#include "intltest.h"
122e5b6d6dSopenharmony_ci#include "unicode/locid.h"
132e5b6d6dSopenharmony_ci#include "unicode/ures.h"
142e5b6d6dSopenharmony_ci
152e5b6d6dSopenharmony_ciclass LocaleAliasTest: public IntlTest {
162e5b6d6dSopenharmony_cipublic:
172e5b6d6dSopenharmony_ci    void TestCalendar();
182e5b6d6dSopenharmony_ci    void TestDateFormat();
192e5b6d6dSopenharmony_ci    void TestCollation();
202e5b6d6dSopenharmony_ci    void TestULocale();
212e5b6d6dSopenharmony_ci    void TestUResourceBundle();
222e5b6d6dSopenharmony_ci    void TestDisplayName();
232e5b6d6dSopenharmony_ci    void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ) override;
242e5b6d6dSopenharmony_ci    LocaleAliasTest();
252e5b6d6dSopenharmony_ci    virtual ~LocaleAliasTest();
262e5b6d6dSopenharmony_ciprivate:
272e5b6d6dSopenharmony_ci    UResourceBundle* resIndex;
282e5b6d6dSopenharmony_ci    UBool isLocaleAvailable(const char*);
292e5b6d6dSopenharmony_ci    Locale defLocale;
302e5b6d6dSopenharmony_ci};
312e5b6d6dSopenharmony_ci
322e5b6d6dSopenharmony_ci#endif
33