Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Side by Side Diff: source/test/testdata/conversion.txt

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/test/testdata/collationtest.txt ('k') | source/test/testdata/encoded.utf16be » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //****************************************************************************** * 1 //****************************************************************************** *
2 // 2 //
3 // Copyright (C) 2003-2013, International Business Machines 3 // Copyright (C) 2003-2015, International Business Machines
4 // Corporation and others. All Rights Reserved. 4 // Corporation and others. All Rights Reserved.
5 // 5 //
6 // file name: conversion.txt 6 // file name: conversion.txt
7 // encoding: US-ASCII 7 // encoding: US-ASCII
8 // tab size: 8 (not used) 8 // tab size: 8 (not used)
9 // indentation:4 9 // indentation:4
10 // 10 //
11 // created on: 2003jul15 11 // created on: 2003jul15
12 // created by: Markus W. Scherer 12 // created by: Markus W. Scherer
13 // 13 //
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 "A\x0eB\x0f\x09\x1bC", 1255 "A\x0eB\x0f\x09\x1bC",
1256 :bin{ 1b242943411a421a091a43 }, 1256 :bin{ 1b242943411a421a091a43 },
1257 :intvector{ -1,-1,-1,-1,0,1,2,3,4,5,6 }, 1257 :intvector{ -1,-1,-1,-1,0,1,2,3,4,5,6 },
1258 :int{1}, :int{1}, "", "?", "" 1258 :int{1}, :int{1}, "", "?", ""
1259 } 1259 }
1260 1260
1261 // test ISO 8859-1/7 vs. JIS X 0201 1261 // test ISO 8859-1/7 vs. JIS X 0201
1262 { 1262 {
1263 "ISO-2022-JP-2", 1263 "ISO-2022-JP-2",
1264 "?@A\u00e4\u03b1\u203EB", 1264 "?@A\u00e4\u03b1\u203EB",
1265 :bin{ 3f40411B2E411B4E641B2E461B4E611B284A7E421B2842 }, 1265 :bin{ 3f40411B2E411B4E641b244226411b284a7e421b2842 },
1266 :intvector{ 0,1,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,6,6,6,6 }, 1266 :intvector{ 0,1,2,3,3,3,3,3,3,4,4,4,4,4,5,5,5,5,6,6,6,6 },
1267 :int{1}, :int{1}, "", "?", "" 1267 :int{1}, :int{1}, "", "?", ""
1268 } 1268 }
1269 1269
1270 // Improve ucnv_ext.c code coverage: 1270 // Improve ucnv_ext.c code coverage:
1271 // There will be a partial match up to the lead surrogate of U+603ff 1271 // There will be a partial match up to the lead surrogate of U+603ff
1272 // which then results in one more unit in the prefetch buffer 1272 // which then results in one more unit in the prefetch buffer
1273 // than the match length when converting one code unit at a time. 1273 // than the match length when converting one code unit at a time.
1274 // See ucnv_extContinueMatchFromU() comment 1274 // See ucnv_extContinueMatchFromU() comment
1275 // "the match did not use all of preFromU[] - keep the rest for replay" 1275 // "the match did not use all of preFromU[] - keep the rest for replay"
1276 { 1276 {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 :intvector{ 0,0,1,2,2,2,2,2,2,3,3,4,4,5,5,6,6,7,8,9,10,11,11,11,11,11 }, 1359 :intvector{ 0,0,1,2,2,2,2,2,2,3,3,4,4,5,5,6,6,7,8,9,10,11,11,11,11,11 },
1360 :int{1}, :int{1}, "", "?", "" 1360 :int{1}, :int{1}, "", "?", ""
1361 } 1361 }
1362 { 1362 {
1363 "JIS8", 1363 "JIS8",
1364 "\uFF81\uFF82\u30EC\u30ED\u30EE\u30EF\uFF93\uFF94\uFF95\uFF96\uFF97\uF F98", 1364 "\uFF81\uFF82\u30EC\u30ED\u30EE\u30EF\uFF93\uFF94\uFF95\uFF96\uFF97\uF F98",
1365 :bin{ C1C21b2442256c256d256e256F1b284AD3D4D5D6D7D81b2842 }, 1365 :bin{ C1C21b2442256c256d256e256F1b284AD3D4D5D6D7D81b2842 },
1366 :intvector{ 0,1,2,2,2,2,2,3,3,4,4,5,5,6,6,6,6,7,8,9,10,11,11,11,11 }, 1366 :intvector{ 0,1,2,2,2,2,2,3,3,4,4,5,5,6,6,6,6,7,8,9,10,11,11,11,11 },
1367 :int{1}, :int{1}, "", "?", "" 1367 :int{1}, :int{1}, "", "?", ""
1368 } 1368 }
1369 {
1370 "JIS8",
1371 "\u2019Aaa10\u4ED5\u5165\u5148\u30B3",
1372 :bin{ 1b244221471b284241616131301b24423b45467e406825331b2842 },
1373 :intvector{ 0,0,0,0,0,1,1,1,1,2,3,4,5,6,6,6,6,6,7,7,8,8,9,9,9,9,9 },
1374 :int{1}, :int{1}, "", "?", ""
1375 }
1369 1376
1370 // moved from cintltst /tsconv/ncnvtst/TestErrorBehaviour 1377 // moved from cintltst /tsconv/ncnvtst/TestErrorBehaviour
1371 { 1378 {
1372 "iso-2022-jp", 1379 "iso-2022-jp",
1373 "\u3000\x50\udc01\u3001", 1380 "\u3000\x50\udc01\u3001",
1374 :bin{ 1B244221211B2842501A1B24422122 }, 1381 :bin{ 1B244221211B2842501A1B24422122 },
1375 :intvector{ 0,0,0,0,0,1,1,1,1,2,3,3,3,3,3 }, 1382 :intvector{ 0,0,0,0,0,1,1,1,1,2,3,3,3,3,3 },
1376 :int{0}, :int{1}, "", "?", "\udc01" 1383 :int{0}, :int{1}, "", "?", "\udc01"
1377 } 1384 }
1378 { 1385 {
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
2055 "*test3", 2062 "*test3",
2056 "[\x05\x0b\xc0\u20ac\U00023456\U00101234" 2063 "[\x05\x0b\xc0\u20ac\U00023456\U00101234"
2057 "{\U00101234\U00050005\U00060006}{\U00101234\U00050005}{\U00101234 \U00060006}{\xc4\xc4\U00101234\x05}]", 2064 "{\U00101234\U00050005\U00060006}{\U00101234\U00050005}{\U00101234 \U00060006}{\xc4\xc4\U00101234\x05}]",
2058 "[\x06\x0e\U00034567\U000febcd{\U00101234\U00070007}]", 2065 "[\x06\x0e\U00034567\U000febcd{\U00101234\U00070007}]",
2059 :int{0} 2066 :int{0}
2060 } 2067 }
2061 } 2068 }
2062 } 2069 }
2063 } 2070 }
2064 } 2071 }
OLDNEW
« no previous file with comments | « source/test/testdata/collationtest.txt ('k') | source/test/testdata/encoded.utf16be » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698