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