Commit be42182
test: split encoding tests where some cases can be run without ICU
Split the following tests:
- `test-whatwg-encoding-textdecoder-utf16-surrogates.js`
- `test-whatwg-encoding-textdecoder-ignorebom.js`
- `test-whatwg-encoding-textdecoder-streaming.js`
Each into two files: one that can be run without ICU and one that has
to be run with ICU. The latter can be replaced with WPT later.
PR-URL: #25155
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent deceb26 commit be42182Copy full SHA for be42182
File tree
Expand file treeCollapse file tree
6 files changed
+82
-11
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
6 files changed
+82
-11
lines changedOpen diff view settings
Collapse file
test/parallel/test-whatwg-encoding-custom-textdecoder-ignorebom.js
Copy file name to clipboard+30Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
Collapse file
test/parallel/test-whatwg-encoding-custom-textdecoder-streaming.js
Copy file name to clipboard+38Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
Collapse file
…encoding-textdecoder-utf16-surrogates.js …g-custom-textdecoder-utf16-surrogates.jstest/parallel/test-whatwg-encoding-textdecoder-utf16-surrogates.js renamed to test/parallel/test-whatwg-encoding-custom-textdecoder-utf16-surrogates.js test/parallel/test-whatwg-encoding-textdecoder-utf16-surrogates.js renamed to test/parallel/test-whatwg-encoding-custom-textdecoder-utf16-surrogates.js
Copy file name to clipboardExpand all lines: test/parallel/test-whatwg-encoding-custom-textdecoder-utf16-surrogates.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
| ||
43 | 44 | |
44 | 45 | |
45 | 46 | |
46 | | - |
| 47 | + |
47 | 48 | |
48 | 49 | |
49 | 50 | |
|
Collapse file
test/parallel/test-whatwg-encoding-textdecoder-ignorebom.js
Copy file name to clipboardExpand all lines: test/parallel/test-whatwg-encoding-textdecoder-ignorebom.js+7-10Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
| 8 | + |
| 9 | + |
| 10 | + |
7 | 11 | |
8 | 12 | |
9 | 13 | |
10 | 14 | |
11 | 15 | |
12 | | - |
13 | | - |
| 16 | + |
14 | 17 | |
15 | 18 | |
16 | 19 | |
17 | | - |
18 | | - |
| 20 | + |
19 | 21 | |
20 | 22 | |
21 | 23 | |
22 | | - |
23 | | - |
| 24 | + |
24 | 25 | |
25 | 26 | |
26 | 27 | |
27 | 28 | |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | 29 | |
33 | 30 | |
34 | 31 | |
|
Collapse file
test/parallel/test-whatwg-encoding-textdecoder-streaming.js
Copy file name to clipboardExpand all lines: test/parallel/test-whatwg-encoding-textdecoder-streaming.js+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
| 8 | + |
| 9 | + |
| 10 | + |
7 | 11 | |
8 | 12 | |
9 | 13 | |
|
Collapse file
test/parallel/test-whatwg-encoding-textencoder-utf16-surrogates.js
Copy file name to clipboardExpand all lines: test/parallel/test-whatwg-encoding-textencoder-utf16-surrogates.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
|
0 commit comments