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