2017-01-20 00:20:31 +00:00
|
|
|
// © 2016 and later: Unicode, Inc. and others.
|
2016-06-15 18:58:17 +00:00
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2011-02-25 22:21:30 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (c) 2012-2014, International Business Machines Corporation and
|
|
|
|
* others. All Rights Reserved.
|
2011-02-25 22:21:30 +00:00
|
|
|
********************************************************************/
|
|
|
|
//
|
2014-02-25 21:21:49 +00:00
|
|
|
// file: alphaindextst.h
|
2011-02-25 22:21:30 +00:00
|
|
|
// Alphabetic Index Tests.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ALPHAINDEXTST_H
|
|
|
|
#define ALPHAINDEXTST_H
|
|
|
|
|
|
|
|
#include "intltest.h"
|
|
|
|
|
|
|
|
class AlphabeticIndexTest: public IntlTest {
|
|
|
|
public:
|
|
|
|
AlphabeticIndexTest();
|
|
|
|
virtual ~AlphabeticIndexTest();
|
|
|
|
|
|
|
|
virtual void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL );
|
|
|
|
|
|
|
|
virtual void APITest();
|
|
|
|
virtual void ManyLocalesTest();
|
|
|
|
virtual void HackPinyinTest();
|
2012-02-18 00:11:03 +00:00
|
|
|
virtual void TestBug9009();
|
2013-02-15 22:11:33 +00:00
|
|
|
void TestIndexCharactersList();
|
|
|
|
/**
|
|
|
|
* Test AlphabeticIndex vs. root with script reordering.
|
|
|
|
*/
|
|
|
|
void TestHaniFirst();
|
|
|
|
/**
|
|
|
|
* Test AlphabeticIndex vs. Pinyin with script reordering.
|
|
|
|
*/
|
|
|
|
void TestPinyinFirst();
|
|
|
|
/**
|
|
|
|
* Test labels with multiple primary weights.
|
|
|
|
*/
|
|
|
|
void TestSchSt();
|
|
|
|
/**
|
|
|
|
* With no real labels, there should be only the underflow label.
|
|
|
|
*/
|
|
|
|
void TestNoLabels();
|
|
|
|
/**
|
|
|
|
* Test with the Bopomofo-phonetic tailoring.
|
|
|
|
*/
|
|
|
|
void TestChineseZhuyin();
|
2014-02-25 21:21:49 +00:00
|
|
|
void TestJapaneseKanji();
|
2014-08-14 18:47:27 +00:00
|
|
|
void TestChineseUnihan();
|
2011-02-25 22:21:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|