]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/transapi.h
801c8f171dafa5a23f78ba3934f1c1e79604c70f
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 2001-2005, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
8 /************************************************************************
9 * Date Name Description
10 * 1/03/2000 Madhu Creation.
11 ************************************************************************/
16 #include "unicode/utypes.h"
18 #if !UCONFIG_NO_TRANSLITERATION
20 #include "unicode/translit.h"
25 * @summary General test of Transliterator
27 class TransliteratorAPITest
: public IntlTest
{
29 void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
=NULL
);
31 /*Tests the function getDisplayName() */
32 void TestGetDisplayName(void);
36 void TestgetInverse(void);
40 void TestTransliterate1(void);
42 void TestTransliterate2(void);
44 void TestTransliterate3(void);
46 void TestSimpleKeyboardTransliterator(void);
48 void TestKeyboardTransliterator1(void);
50 void TestKeyboardTransliterator2(void);
52 void TestKeyboardTransliterator3(void);
54 void TestGetAdoptFilter(void);
56 void TestNullTransliterator(void);
58 void TestRegisterUnregister(void);
60 void TestLatinDevanagari(void);
62 void TestDevanagariLatinRT(void);
64 void TestUnicodeFunctor(void);
66 /*Internal functions used*/
67 void doTest(const UnicodeString
& , const UnicodeString
& , const UnicodeString
& );
69 void keyboardAux(Transliterator
*, UnicodeString
[] , UnicodeString
&, int32_t, int32_t);
71 void displayOutput(const UnicodeString
&, const UnicodeString
&, UnicodeString
&,
74 void callEverything(const Transliterator
*t
, int line
);
78 #endif /* #if !UCONFIG_NO_TRANSLITERATION */