1 /******************************************************************** 2 * COPYRIGHT: 3 * Copyright (c) 2012-2014, International Business Machines Corporation and 4 * others. All Rights Reserved. 5 ********************************************************************/ 6 // 7 // file: alphaindextst.h 8 // Alphabetic Index Tests. 9 // 10 11 #ifndef ALPHAINDEXTST_H 12 #define ALPHAINDEXTST_H 13 14 #include "intltest.h" 15 16 class AlphabeticIndexTest: public IntlTest { 17 public: 18 AlphabeticIndexTest(); 19 virtual ~AlphabeticIndexTest(); 20 21 virtual void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL ); 22 23 virtual void APITest(); 24 virtual void ManyLocalesTest(); 25 virtual void HackPinyinTest(); 26 virtual void TestBug9009(); 27 void TestIndexCharactersList(); 28 /** 29 * Test AlphabeticIndex vs. root with script reordering. 30 */ 31 void TestHaniFirst(); 32 /** 33 * Test AlphabeticIndex vs. Pinyin with script reordering. 34 */ 35 void TestPinyinFirst(); 36 /** 37 * Test labels with multiple primary weights. 38 */ 39 void TestSchSt(); 40 /** 41 * With no real labels, there should be only the underflow label. 42 */ 43 void TestNoLabels(); 44 /** 45 * Test with the Bopomofo-phonetic tailoring. 46 */ 47 void TestChineseZhuyin(); 48 void TestJapaneseKanji(); 49 }; 50 51 #endif 52