1/******************************************************************** 2 * COPYRIGHT: 3 * Copyright (c) 2005-2006, International Business Machines Corporation and 4 * others. All Rights Reserved. 5 ********************************************************************/ 6#ifndef _ALIASTST 7#define _ALIASTST 8 9#include "intltest.h" 10#include "unicode/locid.h" 11#include "unicode/ures.h" 12 13class LocaleAliasTest: public IntlTest { 14public: 15 void TestCalendar(); 16 void TestDateFormat(); 17 void TestCollation(); 18 void TestULocale(); 19 void TestUResourceBundle(); 20 void TestDisplayName(); 21 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); 22 LocaleAliasTest(); 23 virtual ~LocaleAliasTest(); 24private: 25 UResourceBundle* resIndex; 26 UBool isLocaleAvailable(const char*); 27 Locale defLocale; 28}; 29 30#endif 31