summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/test/intltest/trnserr.h
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2006-07-25 12:37:43 +0000
committerJonathan Kew <jfkthame@googlemail.com>2006-07-25 12:37:43 +0000
commit10c60368cd42904bd991453f02b684ebe02ef915 (patch)
treec6fb06ccf22a81c80af08f79df1b436120703de4 /Build/source/libs/icu-xetex/test/intltest/trnserr.h
parent4d8b2aac6036acbb6878236c27e2fb110dad8643 (diff)
adding ICU library sources used by xetex
git-svn-id: svn://tug.org/texlive/trunk@1915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu-xetex/test/intltest/trnserr.h')
-rw-r--r--Build/source/libs/icu-xetex/test/intltest/trnserr.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/Build/source/libs/icu-xetex/test/intltest/trnserr.h b/Build/source/libs/icu-xetex/test/intltest/trnserr.h
new file mode 100644
index 00000000000..ab34a6d6b34
--- /dev/null
+++ b/Build/source/libs/icu-xetex/test/intltest/trnserr.h
@@ -0,0 +1,50 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 2001-2004, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+/************************************************************************
+* This test program is intended for testing error conditions of the
+* transliterator APIs to make sure the exceptions are raised where
+* necessary.
+*
+* Date Name Description
+* 11/14/2001 hshih Creation.
+*
+************************************************************************/
+
+
+#ifndef TRNSERR_H
+#define TRNSERR_H
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_TRANSLITERATION
+
+#include "unicode/translit.h"
+#include "intltest.h"
+
+/**
+ * @test
+ * @summary Error condition tests of Transliterator
+ */
+class TransliteratorErrorTest : public IntlTest {
+public:
+ void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par=NULL);
+
+ /*Tests the returned error codes on all the APIs according to the API documentation. */
+ void TestTransliteratorErrors(void);
+
+ void TestUnicodeSetErrors(void);
+
+ //void TestUniToHexErrors(void);
+
+ void TestRBTErrors(void);
+
+ //void TestHexToUniErrors(void);
+
+};
+
+#endif /* #if !UCONFIG_NO_TRANSLITERATION */
+
+#endif