1 /***************************************************************************
3 * Copyright (C) 2000-2004, 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
29 #define CASE(id,test) case id: \
32 logln(#test "---"); logln(""); \
38 void IntlTestTransliterator::runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
)
40 if (exec
) logln("TestSuite Transliterator");
42 CASE(0, TransliteratorTest
);
43 CASE(1, TransliteratorAPITest
);
44 CASE(2, CompoundTransliteratorTest
);
45 CASE(3, TransliteratorRoundTripTest
);
46 CASE(4, UnicodeSetTest
);
48 CASE(6, TransliteratorErrorTest
);
49 CASE(7, ReplaceableTest
);
50 #if !UCONFIG_NO_TRANSLITERATION && defined(U_USE_UNICODE_FILTER_LOGIC_OBSOLETE_2_8)
51 CASE(10, UnicodeFilterLogicTest
);
54 default: name
=""; break;
58 #endif /* #if !UCONFIG_NO_TRANSLITERATION */