]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/alphaindextst.h
ICU-64252.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / alphaindextst.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
4388f060
A
3/********************************************************************
4 * COPYRIGHT:
57a6839d 5 * Copyright (c) 2012-2014, International Business Machines Corporation and
4388f060
A
6 * others. All Rights Reserved.
7 ********************************************************************/
8//
57a6839d 9// file: alphaindextst.h
4388f060
A
10// Alphabetic Index Tests.
11//
12
13#ifndef ALPHAINDEXTST_H
14#define ALPHAINDEXTST_H
15
0f5d89e8 16#include "unicode/uscript.h"
4388f060
A
17#include "intltest.h"
18
19class AlphabeticIndexTest: public IntlTest {
20public:
21 AlphabeticIndexTest();
22 virtual ~AlphabeticIndexTest();
23
24 virtual void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL );
25
26 virtual void APITest();
27 virtual void ManyLocalesTest();
28 virtual void HackPinyinTest();
29 virtual void TestBug9009();
51004dcb
A
30 void TestIndexCharactersList();
31 /**
32 * Test AlphabeticIndex vs. root with script reordering.
33 */
34 void TestHaniFirst();
35 /**
36 * Test AlphabeticIndex vs. Pinyin with script reordering.
37 */
38 void TestPinyinFirst();
39 /**
40 * Test labels with multiple primary weights.
41 */
42 void TestSchSt();
43 /**
44 * With no real labels, there should be only the underflow label.
45 */
46 void TestNoLabels();
47 /**
48 * Test with the Bopomofo-phonetic tailoring.
49 */
50 void TestChineseZhuyin();
57a6839d 51 void TestJapaneseKanji();
b331163b 52 void TestChineseUnihan();
0f5d89e8
A
53
54 void testHasBuckets();
55 void checkHasBuckets(const Locale &locale, UScriptCode script);
4388f060
A
56};
57
58#endif