]> granicus.if.org Git - icu/commitdiff
ICU-8995 BidiTest-6.1.0d2.txt; same as in Unicode 6.0 except for minor header updates
authorMarkus Scherer <markus.icu@gmail.com>
Fri, 20 Jan 2012 21:32:44 +0000 (21:32 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Fri, 20 Jan 2012 21:32:44 +0000 (21:32 +0000)
X-SVN-Rev: 31239

icu4c/source/test/testdata/BidiTest.txt

index 675d15bd4ab774e8b75ffa3474e66df0cd7f7958..10b0a16bae13d2c394a7856ef4bb3b589e6f2db4 100644 (file)
@@ -1,8 +1,8 @@
-# BidiTest-5.2.0.txt
-# Date: 2009-06-03, 17:03:12 GMT [MD]
+# BidiTest-6.1.0.txt
+# Date: 2010-10-06, 03:47:43 GMT [MD]
 #
 # Unicode Character Database
-# Copyright (c) 1991-2009 Unicode, Inc.
+# Copyright (c) 1991-2012 Unicode, Inc.
 # For terms of use, see http://www.unicode.org/terms_of_use.html
 # For documentation, see http://www.unicode.org/reports/tr44/
 #
 #
 # Format:
 #
-# @Type:    <bidi_class>:  <set>
-# These lines define which characters have the bidi_class property value,
-# and are used in the remainder of the test.
-#   <bidi_class> =  The bidi class property value
-#   <set> =         All and only the those codepoints with that property value in <set>.
-#                   <set> is a character range as defined in UTS #18 Unicode Regular Expressions.
-# Example:
-#   @Type:    AN:    [\u0600-\u0603\u0660-\u0669\u066B\u066C\u06DD]
+# All tokens may be separated by whitespaces (space or tab). There are three kinds of lines:
+# Levels, Reorder, and data.
+#
+# A Levels line indicates that all following data lines, up to the next Levels line,
+# have the same resulting ordering levels. It has the following format:
 #
 # @Levels: <levels>
-# These lines indicate that all following* data lines have the same resulting ordering levels
-# (*that is, data lines up to the next @Levels).
+#
 #    <levels> =     An ordered space-delimited list of numbers indicating the resulting levels
 #                   for each input property value. The UBA does not assign levels to certain values;
 #                   those are indicated with an x. See the note below.
 #   @Levels:    1 0
 #   @Levels:    x 1 x 2
 #
+# A Reorder line indicates that all following data lines, up to the next Reorder line,
+# have the same resulting reordering. It has the following format:
+#
 # @Reorder: <ordering>
-# These lines indicate that all following* data lines have the same resulting reordering
-# (*that is, data lines up to the next @Reorder).
+#
 #    <ordering> =   An ordered space-delimited list of numbers indicating the resulting
-#                   ordering from left to right. The numbers are zero-based. Items with
-#                   a level of x are skipped. Thus "1 0" indicates what would happen
-#                   with input of "L R" and an RTL paragraph direction.
+#                   visual ordering from left to right. The numbers are zero-based, and
+#                   are indexes into the input string. Items with a level of x are skipped.
+#                   Thus "1 0" indicates what would happen with input of "L R" and an RTL
+#                   paragraph direction.
 # Example:
 #   @Reorder:    1 0
 #   @Reorder:    3 1
 #
+# A data line has the following format:
 # <input> ; <bitset>
 #   <input>  =      An ordered list of BIDI property values
-#   <bitset> =      A bitset for paragraph levels (P): 1 = automatic, 2 = LTR, 4 = RTL
+#   <bitset> =      A hex bitset for paragraph levels (P): 1 = auto-LTR, 2 = LTR, 4 = RTL
+#                   Auto-LTR (standard BIDI) uses the first L/R/AL character, and is LTR if none is found.
 # Example:
 #    L LRE R R; 7
 #    L LRE R AL; 7
 #
+# Any other line starting with @ is to be ignored (this allows some degree of forward compatibility).
+#
 # Usage:
 #
 # - If the implementation API allows a list of bidi property values as input:
@@ -60,7 +63,8 @@
 #       If they are different, the test fails.
 #
 # - If the implementation allows for a character string as input,
-#   randomly pick characters from the @type values, and test the reordering as above.
+#   randomly pick characters from those with the same Bidi_Class values,
+#   and test the reordering as above.
 #
 # Note that the UBA doesn't specify the output level or order of certain characters,
 # such as LRO. These are omitted from the reordered output. Thus the following two
 #   L; 7
 #   L LRE; 7
 #
-@Type: L:      [A-Za-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376-\u037D\u037F-\u0383\u0386\u0388-\u03F5\u03F7-\u0482\u048A-\u0589\u058B-\u058F\u0900\u0903-\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0955-\u0961\u0964-\u0980\u0982-\u09BB\u09BD-\u09C0\u09C5-\u09CC\u09CE-\u09E1\u09E4-\u09F1\u09F4-\u0A00\u0A03-\u0A3B\u0A3D-\u0A40\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A6F\u0A72-\u0A74\u0A76-\u0A80\u0A83-\u0ABB\u0ABD-\u0AC0\u0AC6\u0AC9-\u0ACC\u0ACE-\u0AE1\u0AE4-\u0AF0\u0AF2-\u0B00\u0B02-\u0B3B\u0B3D\u0B3E\u0B40\u0B45-\u0B4C\u0B4E-\u0B55\u0B57-\u0B61\u0B64-\u0B81\u0B83-\u0BBF\u0BC1-\u0BCC\u0BCE-\u0BF2\u0BFB-\u0C3D\u0C41-\u0C45\u0C49\u0C4E-\u0C54\u0C57-\u0C61\u0C64-\u0C77\u0C7F-\u0CBB\u0CBD-\u0CCB\u0CCE-\u0CE1\u0CE4-\u0CF0\u0CF3-\u0D40\u0D45-\u0D4C\u0D4E-\u0D61\u0D64-\u0DC9\u0DCB-\u0DD1\u0DD5\u0DD7-\u0E30\u0E32\u0E33\u0E3B-\u0E3E\u0E40-\u0E46\u0E4F-\u0EB0\u0EB2\u0EB3\u0EBA\u0EBD-\u0EC7\u0ECE-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F70\u0F7F\u0F85\u0F88-\u0F8F\u0F98\u0FBD-\u0FC5\u0FC7-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u135E\u1360-\u138F\u139A-\u167F\u1681-\u169A\u169D-\u1711\u1715-\u1731\u1735-\u1751\u1754-\u1771\u1774-\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17DE-\u17EF\u17FA-\u17FF\u180F-\u18A8\u18AA-\u191F\u1923-\u1926\u1929-\u1931\u1933-\u1938\u193C-\u193F\u1941-\u1943\u1946-\u19DD\u1A00-\u1A16\u1A19-\u1AFF\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B6A\u1B74-\u1B7F\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA-\u1C2B\u1C34\u1C35\u1C38-\u1DBF\u1DE7-\u1DFD\u1E00-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF\u200E\u2071-\u2073\u207F\u208F-\u209F\u20B6-\u20CF\u20F1-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E-\u2152\u2160-\u218F\u2336-\u237A\u2395\u23E8-\u23FF\u2427-\u243F\u244B-\u245F\u249C-\u24E9\u269E\u269F\u26AC\u26BD-\u26BF\u26C4-\u2700\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u275F\u2760\u2795-\u2797\u27B0\u27BF\u27CB\u27CD-\u27CF\u2800-\u28FF\u2B4D-\u2B4F\u2B55-\u2CE4\u2CEB-\u2CF8\u2D00-\u2DDF\u2E31-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3040-\u3098\u309D-\u309F\u30A1-\u30FA\u30FC-\u31BF\u31E4-\u321C\u321F-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA60C\uA610-\uA66E\uA674-\uA67B\uA680-\uA6FF\uA722-\uA787\uA789-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA82C-\uA873\uA878-\uA8C3\uA8C5-\uA925\uA92E-\uA946\uA952-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA37-\uAA42\uAA44-\uAA4B\uAA4D-\uFB1C\uFE1A-\uFE1F\uFE27-\uFE2F\uFE53\uFE67\uFE6C-\uFE6F\uFF00\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFDF\uFFE7\uFFEF\U00010000-\U00010100\U00010102-\U0001013F\U0001018B-\U0001018F\U0001019C-\U000101FC\U000101FE-\U000107FF\U00011000-\U0001D166\U0001D16A-\U0001D172\U0001D183\U0001D184\U0001D18C-\U0001D1A9\U0001D1AE-\U0001D1FF\U0001D246-\U0001D2FF\U0001D357-\U0001D7CD\U0001D800-\U0001EFFF\U0001F02C-\U0001F02F\U0001F094-\U0001FFFD\U00020000-\U0002FFFD\U00030000-\U0003FFFD\U00040000-\U0004FFFD\U00050000-\U0005FFFD\U00060000-\U0006FFFD\U00070000-\U0007FFFD\U00080000-\U0008FFFD\U00090000-\U0009FFFD\U000A0000-\U000AFFFD\U000B0000-\U000BFFFD\U000C0000-\U000CFFFD\U000D0000-\U000DFFFD\U000E1000-\U000EFFFD\U000F0000-\U000FFFFD\U00100000-\U0010FFFD]
-@Type: LRE:    [\u202A]
-@Type: LRO:    [\u202D]
-@Type: R:      [\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05FF\u07C0-\u07EA\u07F4\u07F5\u07FA-\u08FF\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB4F\U00010800-\U0001091E\U00010920-\U00010A00\U00010A04\U00010A07-\U00010A0B\U00010A10-\U00010A37\U00010A3B-\U00010A3E\U00010A40-\U00010FFF]
-@Type: AL:     [\u0604\u0605\u0608\u060B\u060D\u061B-\u064A\u065F\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u070E\u0710\u0712-\u072F\u074B-\u07A5\u07B1-\u07BF\uFB50-\uFD3D\uFD40-\uFDCF\uFDF0-\uFDFC\uFDFE\uFDFF\uFE70-\uFEFE]
-@Type: RLE:    [\u202B]
-@Type: RLO:    [\u202E]
-@Type: PDF:    [\u202C]
-@Type: EN:     [0-9\u00B2\u00B3\u00B9\u06F0-\u06F9\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFF10-\uFF19\U0001D7CE-\U0001D7FF]
-@Type: ES:     [+\-\u207A\u207B\u208A\u208B\u2212\uFB29\uFE62\uFE63\uFF0B\uFF0D]
-@Type: ET:     [#-%\u00A2-\u00A5\u00B0\u00B1\u0609\u060A\u066A\u09F2\u09F3\u0AF1\u0BF9\u0E3F\u17DB\u2030-\u2034\u20A0-\u20B5\u212E\u2213\uFE5F\uFE69\uFE6A\uFF03-\uFF05\uFFE0\uFFE1\uFFE5\uFFE6]
-@Type: AN:     [\u0600-\u0603\u0660-\u0669\u066B\u066C\u06DD]
-@Type: CS:     [,./\:\u00A0\u060C\u202F\u2044\uFE50\uFE52\uFE55\uFF0C\uFF0E\uFF0F\uFF1A]
-@Type: NSM:    [\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065E\u0670\u06D6-\u06DC\u06DE-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0901\u0902\u093C\u0941-\u0948\u094D\u0951-\u0954\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F90-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1C2C-\u1C33\u1C36\u1C37\u1DC0-\u1DE6\u1DFE\u1DFF\u20D0-\u20F0\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA67C\uA67D\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA926-\uA92D\uA947-\uA951\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uFB1E\uFE00-\uFE0F\uFE20-\uFE26\U000101FD\U00010A01-\U00010A03\U00010A05\U00010A06\U00010A0C-\U00010A0F\U00010A38-\U00010A3A\U00010A3F\U0001D167-\U0001D169\U0001D17B-\U0001D182\U0001D185-\U0001D18B\U0001D1AA-\U0001D1AD\U0001D242-\U0001D244\U000E0100-\U000E01EF]
-@Type: BN:     [^\u0009-\u000D\u001C-~\u0085\u00A0-\u00AC\u00AE-\u070E\u0710-\u200A\u200E-\u205F\u2070-\uFDCF\uFDF0-\uFEFE\uFF00-\uFFEF\uFFF9-\uFFFD\U00010000-\U0001D172\U0001D17B-\U0001FFFD\U00020000-\U0002FFFD\U00030000-\U0003FFFD\U00040000-\U0004FFFD\U00050000-\U0005FFFD\U00060000-\U0006FFFD\U00070000-\U0007FFFD\U00080000-\U0008FFFD\U00090000-\U0009FFFD\U000A0000-\U000AFFFD\U000B0000-\U000BFFFD\U000C0000-\U000CFFFD\U000D0000-\U000DFFFD\U000E0100-\U000E01EF\U000E1000-\U000EFFFD\U000F0000-\U000FFFFD\U00100000-\U0010FFFD]
-@Type: B:      [\u000A\u000D\u001C-\u001E\u0085\u2029]
-@Type: S:      [\u0009\u000B\u001F]
-@Type: WS:     [\u000C\ \u1680\u180E\u2000-\u200A\u2028\u205F\u3000]
 
 @Levels:       x
 @Reorder: