1 /***************************************************************************
3 * Copyright (C) 2000-2007, International Business Machines
4 * Corporation and others. All Rights Reserved.
6 ************************************************************************
7 * Date Name Description
8 * 01/03/2000 Madhu Creation.
9 * 03/2000 Madhu Added additional tests
10 ***********************************************************************/
12 * IntlTestTransliterator is the medium level test class for Transliterator
15 #include "unicode/utypes.h"
17 #if !UCONFIG_NO_TRANSLITERATION
28 #define CASE(id,test) case id: \
31 logln(#test "---"); logln(); \
37 void IntlTestTransliterator::runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
)
39 if (exec
) logln("TestSuite Transliterator");
41 CASE(0, TransliteratorTest
);
42 CASE(1, TransliteratorAPITest
);
43 CASE(2, CompoundTransliteratorTest
);
44 CASE(3, TransliteratorRoundTripTest
);
46 CASE(5, TransliteratorErrorTest
);
47 CASE(6, ReplaceableTest
);
48 #if !UCONFIG_NO_TRANSLITERATION && defined(U_USE_UNICODE_FILTER_LOGIC_OBSOLETE_2_8)
49 CASE(7, UnicodeFilterLogicTest
);
52 default: name
=""; break;
56 #endif /* #if !UCONFIG_NO_TRANSLITERATION */