]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/transapi.h
1 /********************************************************************
3 * Copyright (c) 2001-2005, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6 /************************************************************************
7 * Date Name Description
8 * 1/03/2000 Madhu Creation.
9 ************************************************************************/
14 #include "unicode/utypes.h"
16 #if !UCONFIG_NO_TRANSLITERATION
18 #include "unicode/translit.h"
23 * @summary General test of Transliterator
25 class TransliteratorAPITest
: public IntlTest
{
27 void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
=NULL
);
29 /*Tests the function getDisplayName() */
30 void TestGetDisplayName(void);
34 void TestgetInverse(void);
38 void TestTransliterate1(void);
40 void TestTransliterate2(void);
42 void TestTransliterate3(void);
44 void TestSimpleKeyboardTransliterator(void);
46 void TestKeyboardTransliterator1(void);
48 void TestKeyboardTransliterator2(void);
50 void TestKeyboardTransliterator3(void);
52 void TestGetAdoptFilter(void);
54 void TestNullTransliterator(void);
56 void TestRegisterUnregister(void);
58 void TestLatinDevanagari(void);
60 void TestDevanagariLatinRT(void);
62 void TestUnicodeFunctor(void);
64 /*Internal functions used*/
65 void doTest(const UnicodeString
& , const UnicodeString
& , const UnicodeString
& );
67 void keyboardAux(Transliterator
*, UnicodeString
[] , UnicodeString
&, int32_t, int32_t);
69 void displayOutput(const UnicodeString
&, const UnicodeString
&, UnicodeString
&,
72 void callEverything(const Transliterator
*t
, int line
);
76 #endif /* #if !UCONFIG_NO_TRANSLITERATION */