summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-xetex/test/cintltst/calldata.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-20 18:13:48 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-20 18:13:48 +0000
commite5786f530f9555469c01435f86039b06aa53feba (patch)
treec868e8d32282422d7d445b729db95c3fcdafb6d0 /Build/source/libs/icu/icu-xetex/test/cintltst/calldata.h
parentebaa1768b43c8606d923d2e861b5286b74207b3e (diff)
new build system: build icu libs and xetex plus misc updates
git-svn-id: svn://tug.org/texlive/trunk@12759 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu/icu-xetex/test/cintltst/calldata.h')
-rw-r--r--Build/source/libs/icu/icu-xetex/test/cintltst/calldata.h109
1 files changed, 109 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-xetex/test/cintltst/calldata.h b/Build/source/libs/icu/icu-xetex/test/cintltst/calldata.h
new file mode 100644
index 00000000000..4d3cb3983d2
--- /dev/null
+++ b/Build/source/libs/icu/icu-xetex/test/cintltst/calldata.h
@@ -0,0 +1,109 @@
+/********************************************************************
+ * COPYRIGHT:
+ * Copyright (c) 1997-2003, International Business Machines Corporation and
+ * others. All Rights Reserved.
+ ********************************************************************/
+
+#ifndef COLLATION_TEST_DATA
+#define COLLATION_TEST_DATA
+
+#define COUNT_TEST_CASES 13
+
+const UChar testSourceCases[][16] = {
+ {0x61, 0x62, 0x27, 0x63, 0},
+ {0x63, 0x6f, 0x2d, 0x6f, 0x70, 0},
+ {0x61, 0x62, 0},
+ {0x61, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x61, 0x64, 0},
+ {0x61, 0x6c, 0x6c, 0},
+ {0x66, 0x6f, 0x75, 0x72, 0},
+ {0x66, 0x69, 0x76, 0x65, 0},
+ {0x31, 0},
+ {0x31, 0},
+ {0x31, 0}, /* 10 */
+ {0x32, 0},
+ {0x32, 0},
+ {0x48, 0x65, 0x6c, 0x6c, 0x6f, 0},
+ {0x61, 0x3c, 0x62, 0},
+ {0x61, 0x3c, 0x62, 0},
+ {0x61, 0x63, 0x63, 0},
+ {0x61, 0x63, 0x48, 0x63, 0}, /* simple test */
+ {0x70, 0x00EA, 0x63, 0x68, 0x65, 0},
+ {0x61, 0x62, 0x63, 0},
+ {0x61, 0x62, 0x63, 0}, /* 20 */
+ {0x61, 0x62, 0x63, 0},
+ {0x61, 0x62, 0x63, 0},
+ {0x61, 0x62, 0x63, 0},
+ {0x61, 0x00E6, 0x63, 0},
+ {0x61, 0x63, 0x48, 0x63, 0}, /* primary test */
+ {0x62, 0x6c, 0x61, 0x63, 0x6b, 0},
+ {0x66, 0x6f, 0x75, 0x72, 0},
+ {0x66, 0x69, 0x76, 0x65, 0},
+ {0x31, 0},
+ {0x61, 0x62, 0x63, 0}, /* 30 */
+ {0x61, 0x62, 0x63, 0},
+ {0x61, 0x62, 0x63, 0x48, 0},
+ {0x61, 0x62, 0x63, 0},
+ {0x61, 0x63, 0x48, 0x63, 0}, /* 34 */
+ {0x61, 0x63, 0x65, 0x30},
+ {0x31, 0x30},
+ {0x70, 0x00EA,0x30} /* 37 */
+};
+
+const UChar testTargetCases[][16] = {
+ {0x61, 0x62, 0x63, 0x27, 0},
+ {0x43, 0x4f, 0x4f, 0x50, 0},
+ {0x61, 0x62, 0x63, 0},
+ {0x26, 0},
+ {0x26, 0},
+ {0x34, 0},
+ {0x35, 0},
+ {0x6f, 0x6e, 0x65, 0},
+ {0x6e, 0x6e, 0x65, 0},
+ {0x70, 0x6e, 0x65, 0}, /* 10 */
+ {0x74, 0x77, 0x6f, 0},
+ {0x75, 0x77, 0x6f, 0},
+ {0x68, 0x65, 0x6c, 0x6c, 0x4f, 0},
+ {0x61, 0x3c, 0x3d, 0x62, 0},
+ {0x61, 0x62, 0x63, 0},
+ {0x61, 0x43, 0x48, 0x63, 0},
+ {0x61, 0x43, 0x48, 0x63, 0}, /* simple test */
+ {0x70, (UChar)0x00E9, 0x63, 0x68, 0x00E9, 0},
+ {0x61, 0x62, 0x63, 0},
+ {0x61, 0x42, 0x43, 0}, /* 20 */
+ {0x61, 0x62, 0x63, 0x68, 0},
+ {0x61, 0x62, 0x64, 0},
+ {(UChar)0x00E4, 0x62, 0x63, 0},
+ {0x61, (UChar)0x00C6, 0x63, 0},
+ {0x61, 0x43, 0x48, 0x63, 0}, /* primary test */
+ {0x62, 0x6c, 0x61, 0x63, 0x6b, 0x2d, 0x62, 0x69, 0x72, 0x64, 0},
+ {0x34, 0},
+ {0x35, 0},
+ {0x6f, 0x6e, 0x65, 0},
+ {0x61, 0x62, 0x63, 0},
+ {0x61, 0x42, 0x63, 0}, /* 30 */
+ {0x61, 0x62, 0x63, 0x68, 0},
+ {0x61, 0x62, 0x64, 0},
+ {0x61, 0x43, 0x48, 0x63, 0}, /* 34 */
+ {0x61, 0x63, 0x65, 0x30},
+ {0x31, 0x30},
+ {0x70, (UChar)0x00EB,0x30} /* 37 */
+};
+
+const UChar testCases[][4] =
+{
+ {0x61, 0},
+ {0x41, 0},
+ {0x00e4, 0},
+ {0x00c4, 0},
+ {0x61, 0x65, 0},
+ {0x61, 0x45, 0},
+ {0x41, 0x65, 0},
+ {0x41, 0x45, 0},
+ {(UChar)0x00e6, 0},
+ {(UChar)0x00c6, 0},
+ {0x62, 0},
+ {0x63, 0},
+ {0x7a, 0}
+};
+
+#endif /* #ifndef COLLATION_TEST_DATA */