1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /***************************************************************************
5 * Copyright (C) 2000-2007, International Business Machines
6 * Corporation and others. All Rights Reserved.
8 ************************************************************************
9 * Date Name Description
10 * 01/03/2000 Madhu Creation.
11 * 03/2000 Madhu Added additional tests
12 ***********************************************************************/
14 * IntlTestTransliterator is the medium level test class for Transliterator
17 #include "unicode/utypes.h"
19 #if !UCONFIG_NO_TRANSLITERATION
30 #define CASE(id,test) case id: \
33 logln(#test "---"); logln(); \
39 void IntlTestTransliterator::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par )
41 if (exec) logln("TestSuite Transliterator");
43 CASE(0, TransliteratorTest);
44 CASE(1, TransliteratorAPITest);
45 CASE(2, CompoundTransliteratorTest);
46 CASE(3, TransliteratorRoundTripTest);
48 CASE(5, TransliteratorErrorTest);
49 CASE(6, ReplaceableTest);
50 #if !UCONFIG_NO_TRANSLITERATION && defined(U_USE_UNICODE_FILTER_LOGIC_OBSOLETE_2_8)
51 CASE(7, UnicodeFilterLogicTest);
54 default: name=""; break;
58 #endif /* #if !UCONFIG_NO_TRANSLITERATION */