2017-01-20 00:20:31 +00:00
|
|
|
// © 2016 and later: Unicode, Inc. and others.
|
2016-06-15 18:58:17 +00:00
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2005-08-15 16:11:39 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (c) 2005-2006, International Business Machines Corporation and
|
|
|
|
* others. All Rights Reserved.
|
2005-08-15 16:11:39 +00:00
|
|
|
********************************************************************/
|
|
|
|
#ifndef _ALIASTST
|
|
|
|
#define _ALIASTST
|
|
|
|
|
|
|
|
#include "intltest.h"
|
|
|
|
#include "unicode/locid.h"
|
|
|
|
#include "unicode/ures.h"
|
|
|
|
|
|
|
|
class LocaleAliasTest: public IntlTest {
|
|
|
|
public:
|
2005-08-23 15:51:48 +00:00
|
|
|
void TestCalendar();
|
|
|
|
void TestDateFormat();
|
|
|
|
void TestCollation();
|
|
|
|
void TestULocale();
|
|
|
|
void TestUResourceBundle();
|
2005-08-15 16:11:39 +00:00
|
|
|
void TestDisplayName();
|
|
|
|
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
|
|
|
|
LocaleAliasTest();
|
2006-03-23 03:57:20 +00:00
|
|
|
virtual ~LocaleAliasTest();
|
2005-08-15 16:11:39 +00:00
|
|
|
private:
|
|
|
|
UResourceBundle* resIndex;
|
|
|
|
UBool isLocaleAvailable(const char*);
|
2005-08-23 15:51:48 +00:00
|
|
|
Locale defLocale;
|
2005-08-15 16:11:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|