]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/alphaindextst.h
1 // © 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
16 #include "unicode/uscript.h"
19 class AlphabeticIndexTest
: public IntlTest
{
21 AlphabeticIndexTest();
22 virtual ~AlphabeticIndexTest();
24 virtual void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
26 virtual void APITest();
27 virtual void ManyLocalesTest();
28 virtual void HackPinyinTest();
29 virtual void TestBug9009();
30 void TestIndexCharactersList();
32 * Test AlphabeticIndex vs. root with script reordering.
36 * Test AlphabeticIndex vs. Pinyin with script reordering.
38 void TestPinyinFirst();
40 * Test labels with multiple primary weights.
44 * With no real labels, there should be only the underflow label.
48 * Test with the Bopomofo-phonetic tailoring.
50 void TestChineseZhuyin();
51 void TestJapaneseKanji();
52 void TestChineseUnihan();
54 void testHasBuckets();
55 void checkHasBuckets(const Locale
&locale
, UScriptCode script
);