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