]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/trnserr.h
1 /********************************************************************
3 * Copyright (c) 2001-2005, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6 /************************************************************************
7 * This test program is intended for testing error conditions of the
8 * transliterator APIs to make sure the exceptions are raised where
11 * Date Name Description
12 * 11/14/2001 hshih Creation.
14 ************************************************************************/
20 #include "unicode/utypes.h"
22 #if !UCONFIG_NO_TRANSLITERATION
24 #include "unicode/translit.h"
29 * @summary Error condition tests of Transliterator
31 class TransliteratorErrorTest
: public IntlTest
{
33 void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
=NULL
);
35 /*Tests the returned error codes on all the APIs according to the API documentation. */
36 void TestTransliteratorErrors(void);
38 void TestUnicodeSetErrors(void);
40 //void TestUniToHexErrors(void);
42 void TestRBTErrors(void);
44 //void TestHexToUniErrors(void);
46 // JitterBug 4452, for coverage. The reason to put this method here is
47 // this class is comparable smaller than other Transliterator*Test classes
48 void TestCoverage(void);
52 #endif /* #if !UCONFIG_NO_TRANSLITERATION */