]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/trnserr.h
ICU-6.2.6.tar.gz
[apple/icu.git] / icuSources / test / intltest / trnserr.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
374ca955 3 * Copyright (c) 2001-2004, International Business Machines Corporation and
b75a7d8f
A
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
9* necessary.
10*
11* Date Name Description
12* 11/14/2001 hshih Creation.
13*
14************************************************************************/
15
16
17#ifndef TRNSERR_H
18#define TRNSERR_H
19
20#include "unicode/utypes.h"
21
22#if !UCONFIG_NO_TRANSLITERATION
23
24#include "unicode/translit.h"
25#include "intltest.h"
26
27/**
28 * @test
29 * @summary Error condition tests of Transliterator
30 */
31class TransliteratorErrorTest : public IntlTest {
32public:
33 void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par=NULL);
34
35 /*Tests the returned error codes on all the APIs according to the API documentation. */
36 void TestTransliteratorErrors(void);
37
38 void TestUnicodeSetErrors(void);
39
374ca955 40 //void TestUniToHexErrors(void);
b75a7d8f
A
41
42 void TestRBTErrors(void);
43
374ca955 44 //void TestHexToUniErrors(void);
b75a7d8f
A
45
46};
47
48#endif /* #if !UCONFIG_NO_TRANSLITERATION */
49
50#endif