summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/test/cintltst/ncnvfbts.h
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-03-04 13:26:36 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-03-04 13:26:36 +0000
commit53790d2a0c50915d8cec71df3e89cd24d887b2fe (patch)
tree16f6b4df067eb3c2024e0a7735cb7ccea86b3aba /Build/source/libs/icu-xetex/test/cintltst/ncnvfbts.h
parentf483a5de9331a257f597282e611ecfb63f5ab118 (diff)
update icu-xetex to 3.8.1-based code from xetex repository
git-svn-id: svn://tug.org/texlive/trunk@6842 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu-xetex/test/cintltst/ncnvfbts.h')
-rw-r--r--Build/source/libs/icu-xetex/test/cintltst/ncnvfbts.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/Build/source/libs/icu-xetex/test/cintltst/ncnvfbts.h b/Build/source/libs/icu-xetex/test/cintltst/ncnvfbts.h
new file mode 100644
index 00000000000..a47e141ccfc
--- /dev/null
+++ b/Build/source/libs/icu-xetex/test/cintltst/ncnvfbts.h
@@ -0,0 +1,36 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2001, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+/********************************************************************************
+*
+* File NCCBTST.H
+*
+* Modification History:
+* Name Description
+* Madhu Katragadda creation
+*********************************************************************************
+*/
+#ifndef _NCNVFBTS
+#define _NCNVFBTS
+/* C API TEST FOR FALL BACK ROUTINES OF CODESET CONVERSION COMPONENT */
+#include "cintltst.h"
+#include "unicode/utypes.h"
+
+static void TestConverterFallBack(void);
+static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize );
+static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
+ const char *codepage, UBool fallback, const int32_t *expectOffsets);
+static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen,
+ const char *codepage, UBool fallback, const int32_t *expectOffsets);
+
+
+static void printSeq(const unsigned char* a, int len);
+static void printUSeq(const UChar* a, int len);
+static void printSeqErr(const unsigned char* a, int len);
+static void printUSeqErr(const UChar* a, int len);
+static void setNuConvTestName(const char *codepage, const char *direction);
+
+
+#endif