1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 2012-2014, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
9 // file: alphaindextst.h
10 // Alphabetic Index Tests.
13 #ifndef ALPHAINDEXTST_H
14 #define ALPHAINDEXTST_H
18 class AlphabeticIndexTest: public IntlTest {
20 AlphabeticIndexTest();
21 virtual ~AlphabeticIndexTest();
23 virtual void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL );
25 virtual void APITest();
26 virtual void ManyLocalesTest();
27 virtual void HackPinyinTest();
28 virtual void TestBug9009();
29 void TestIndexCharactersList();
31 * Test AlphabeticIndex vs. root with script reordering.
35 * Test AlphabeticIndex vs. Pinyin with script reordering.
37 void TestPinyinFirst();
39 * Test labels with multiple primary weights.
43 * With no real labels, there should be only the underflow label.
47 * Test with the Bopomofo-phonetic tailoring.
49 void TestChineseZhuyin();
50 void TestJapaneseKanji();
51 void TestChineseUnihan();