• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 **********************************************************************
5 *   Copyright (C) 2001-2004, International Business Machines
6 *   Corporation and others.  All Rights Reserved.
7 **********************************************************************
8 *   Date        Name        Description
9 *   05/23/00    aliu        Creation.
10 **********************************************************************
11 */
12 #ifndef TRANSRT_H
13 #define TRANSRT_H
14 
15 #include "unicode/utypes.h"
16 
17 #if !UCONFIG_NO_TRANSLITERATION
18 
19 #include "unicode/translit.h"
20 #include "intltest.h"
21 
22 /**
23  * @test
24  * @summary Round trip test of Transliterator
25  */
26 class TransliteratorRoundTripTest : public IntlTest {
27 
28     void runIndexedTest(int32_t index, UBool exec, const char* &name,
29                         char* par=NULL);
30 
31     void TestKana(void);
32     void TestHiragana(void);
33     void TestKatakana(void);
34     void TestJamo(void);
35     void TestHangul(void);
36     void TestHan(void);
37     void TestGreek(void);
38     void TestGreekUNGEGN(void);
39     void Testel(void);
40     void TestCyrillic(void);
41     void TestDevanagariLatin(void);
42     void TestInterIndic(void);
43     void TestHebrew(void);
44     void TestArabic(void);
45     void TestDebug(const char* name,const char fromSet[],
46                    const char* toSet,const char* exclusions);
47 };
48 
49 #endif /* #if !UCONFIG_NO_TRANSLITERATION */
50 
51 #endif
52