• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // © 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=nullptr) override;
30 
31     void TestKana();
32     void TestHiragana();
33     void TestKatakana();
34     void TestJamo();
35     void TestHangul();
36     void TestHan();
37     void TestGreek();
38     void TestGreekUNGEGN();
39     void Testel();
40     void TestCyrillic();
41     void TestDevanagariLatin();
42     void TestInterIndic();
43     void TestHebrew();
44     void TestArabic();
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