From 3b8db5822a93838296c63442dd8cb0fa1eb188cf Mon Sep 17 00:00:00 2001 From: "J. King" Date: Fri, 31 Aug 2018 08:44:10 -0400 Subject: [PATCH] Add all available tests to platform test generator --- tools/mktest.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tools/mktest.php b/tools/mktest.php index 6a661fb..04d4a0e 100644 --- a/tools/mktest.php +++ b/tools/mktest.php @@ -1,10 +1,10 @@ [ - // the Web Platform test suite does not have tests for gb18030, but a pull request was made in 2016 with a partial set of tests + // the Web Platform test suite does not have tests for gb18030, but a pull request was made in 2016 with a set of tests 'two-byte GBK' => "https://raw.githubusercontent.com/web-platform-tests/wpt/5847108cb16dc0047331da3f746652f35b3e9c90/encoding/legacy-mb-schinese/gb18030/gb18030_chars.html", 'four-byte Han' => "https://raw.githubusercontent.com/web-platform-tests/wpt/5847108cb16dc0047331da3f746652f35b3e9c90/encoding/legacy-mb-schinese/gb18030/gb18030_extra_han_chars.html", 'four-byte Hangul' => "https://raw.githubusercontent.com/web-platform-tests/wpt/5847108cb16dc0047331da3f746652f35b3e9c90/encoding/legacy-mb-schinese/gb18030/gb18030_extra_hangul_chars.html", @@ -15,6 +15,15 @@ $tests = [ 'standard characters' => "https://raw.githubusercontent.com/web-platform-tests/wpt/master/encoding/legacy-mb-tchinese/big5/big5_chars.html", 'extended characters' => "https://raw.githubusercontent.com/web-platform-tests/wpt/master/encoding/legacy-mb-tchinese/big5/big5_chars_extra.html", ], + 'euc-jp' => [ + 'characters' => "https://raw.githubusercontent.com/web-platform-tests/wpt/master/encoding/legacy-mb-japanese/euc-jp/eucjp_chars.html", + ], + 'iso-2022-jp' => [ + 'characters' => "https://raw.githubusercontent.com/web-platform-tests/wpt/master/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp_chars.html", + ], + 'shiftjis' => [ + 'characters' => "https://raw.githubusercontent.com/web-platform-tests/wpt/master/encoding/legacy-mb-japanese/shift_jis/sjis_chars.html", + ], ]; $label = $argv[1] ?? "";