]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/transapi.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / intltest / transapi.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
b75a7d8f
A
3/********************************************************************
4 * COPYRIGHT:
73c04bcf 5 * Copyright (c) 2001-2005, International Business Machines Corporation and
b75a7d8f
A
6 * others. All Rights Reserved.
7 ********************************************************************/
8/************************************************************************
9* Date Name Description
10* 1/03/2000 Madhu Creation.
11************************************************************************/
12
13#ifndef TRANSAPI_H
14#define TRANSAPI_H
15
16#include "unicode/utypes.h"
17
18#if !UCONFIG_NO_TRANSLITERATION
19
20#include "unicode/translit.h"
21#include "intltest.h"
22
23/**
24 * @test
25 * @summary General test of Transliterator
26 */
27class TransliteratorAPITest : public IntlTest {
28public:
29 void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par=NULL);
30
31 /*Tests the function getDisplayName() */
32 void TestGetDisplayName(void);
33
34 void TestgetID(void);
35
36 void TestgetInverse(void);
37
38 void TestClone(void);
39
40 void TestTransliterate1(void);
41
42 void TestTransliterate2(void);
43
44 void TestTransliterate3(void);
45
46 void TestSimpleKeyboardTransliterator(void);
47
48 void TestKeyboardTransliterator1(void);
49
50 void TestKeyboardTransliterator2(void);
51
52 void TestKeyboardTransliterator3(void);
53
54 void TestGetAdoptFilter(void);
55
56 void TestNullTransliterator(void);
57
58 void TestRegisterUnregister(void);
59
60 void TestLatinDevanagari(void);
61
62 void TestDevanagariLatinRT(void);
63
73c04bcf
A
64 void TestUnicodeFunctor(void);
65
b75a7d8f
A
66 /*Internal functions used*/
67 void doTest(const UnicodeString& , const UnicodeString& , const UnicodeString& );
68
69 void keyboardAux(Transliterator*, UnicodeString[] , UnicodeString&, int32_t, int32_t);
70
71 void displayOutput(const UnicodeString&, const UnicodeString&, UnicodeString&,
72 UTransPosition&);
73
374ca955
A
74 void callEverything(const Transliterator *t, int line);
75
b75a7d8f
A
76};
77
78#endif /* #if !UCONFIG_NO_TRANSLITERATION */
79
80#endif