ICU-5275 move test to data file
X-SVN-Rev: 20436
This commit is contained in:
parent
5b9b0f3d01
commit
dba7618697
26
icu4c/source/test/testdata/conversion.txt
vendored
26
icu4c/source/test/testdata/conversion.txt
vendored
@ -442,6 +442,30 @@ conversion:table(nofallback) {
|
||||
|
||||
// simple sample, no error handling
|
||||
{ "UTF-8", :bin{ 61F48FBFBF }, "a\U0010FFFF", :intvector{ 0, 1, 1 }, :int{1}, :int{0}, "", "", :bin{""} }
|
||||
// Headers { "charset", "bytes", "unicode", "offsets", "flush", "fallbacks", "errorCode", "callback", "invalidChars" }
|
||||
{
|
||||
"iscii",
|
||||
:bin{ EF4BC0E9BFE9E8D80AEF4AC0D4BFD4E8D80AEF4838B30AEF4939B30AEF4A3AB30AEF4B3BB30A},
|
||||
"\u0A22\u0A3C\u0A5C\u0A4D\u0A39\u000A" /* Gurmukhi test */
|
||||
"\u0AA2\u0AB5\u0AA1\u0AB5\u0ACD\u0AB9\u000A" /* Gujarati test */
|
||||
"\u0038\u0C95\u000A" /* Kannada test */
|
||||
"\u0039\u0D15\u000A" /* Malayalam test */
|
||||
"\u003A\u0A95\u000A" /* Gujarati test */
|
||||
"\u003B\u0A15\u000A" /* Punjabi test */,
|
||||
:intvector { 2, 3, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16, 17, 20, 21, 22, 25, 26, 27, 30, 31, 32, 35, 36, 37 },
|
||||
:int{1}, :int{0}, "", "", :bin{ "" }
|
||||
}
|
||||
{
|
||||
"iscii-gur",
|
||||
:bin{3BB30AC0E9BFE9E8D80AEF43C0E9BFE9E8D80A3BB30AEF403BB30A},
|
||||
"\u003b\u0a15\u000a" /* Easy characters */
|
||||
"\u0a22\u0a3c\u0a5c\u0a4d\u0a39\u000a" /* Gurmukhi test */
|
||||
"\u09dd\u09dc\u09cd\u09b9\u000a" /* Switch script: to Bengali*/
|
||||
"\u003b\u0a15\u000a" /* Easy characters - new line" so should default!*/
|
||||
"\u003b\u0a15\u000a", /* Back to Gurmukhi*/
|
||||
:intvector { 0, 1, 2, 3, 4, 6, 7, 8, 9, 13, 15, 16, 17, 18, 19, 20, 21, 24, 25, 26 },
|
||||
:int{1}, :int{0}, "", "", :bin{ "" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1143,7 +1167,7 @@ conversion:table(nofallback) {
|
||||
"[\x00-\x0d\x10-\x1a\x1c-\x7f\u0391-\u03a1\uff61-\uff9f\u4e00\u4e01\uffe5]",
|
||||
"[\x0e\x0f\x1b\u0100-\u0113\u0385-\u038a\u4e02\u4e27-\u4e29\uffe6-\U0010ffff]",
|
||||
:int{0}
|
||||
}
|
||||
}
|
||||
{
|
||||
"ISO-2022-JP-2",
|
||||
"[\x00-\x0d\x10-\x1a\x1c-\u0113\u0385-\u038a\u0390-\u03a1\uff61-\uff9f\u4e00-\u4e05\uffe6]",
|
||||
|
Loading…
Reference in New Issue
Block a user