dart-sdk/tests/lib/convert
Aske Simon Christensen f5bf50e7a4 Adjust UTF-8 tests to match WHATWG standard expectations.
This adjusts all UTF-8 tests to the new semantics in the breaking
change described here: https://github.com/dart-lang/sdk/issues/41100

This has three parts:
- Unpaired surrogates are encoded as replacement characters, and
  encoded surrogates are considered malformed input when decoding.
- Decoding errors are generally reported on the position of the byte
  that conclusively makes the input malformed.
- The number of replacement characters emitted by the decoder is
  generally one per unfinished sequence or undecodable byte.

The code changes to implement the new semantics are placed in subsequent
commits.

Change-Id: I4cc8ce660e39287e734070764ab8e1f0ebb8b9e0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/143815
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2020-05-04 10:48:32 +00:00
..
ascii_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
base64_test.dart [tests] Fix CompileTimeErrors in migrated tests. 2020-04-13 22:42:51 +00:00
chunked_conversion1_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
chunked_conversion2_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
chunked_conversion_json_decode1_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
chunked_conversion_json_encode1_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
chunked_conversion_utf8_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
chunked_conversion_utf82_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00
chunked_conversion_utf83_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
chunked_conversion_utf84_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
chunked_conversion_utf85_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
chunked_conversion_utf86_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00
chunked_conversion_utf87_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00
chunked_conversion_utf88_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00
chunked_conversion_utf89_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
close_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
codec1_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
codec2_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
encoding_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
html_escape_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
json_chunk_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
json_lib_test.dart [tests] Fix CompileTimeErrors in migrated tests. 2020-04-13 22:42:51 +00:00
json_pretty_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
json_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
json_toEncodable_reviver_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
json_unicode_tests.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
json_utf8_chunk_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00
json_utf8_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
json_util_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
latin1_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
line_splitter_test.dart [cfe] Update greatest closure of ? to Object? 2020-05-04 08:14:43 +00:00
streamed_conversion_json_decode1_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
streamed_conversion_json_encode1_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
streamed_conversion_json_utf8_decode_test.dart [vm, gc] Verify the store buffer contains all old-space objects that reference new-space objects. 2020-02-27 19:26:33 +00:00
streamed_conversion_json_utf8_encode_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
streamed_conversion_utf8_decode_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
streamed_conversion_utf8_encode_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
unicode_tests.dart [tests] Fix CompileTimeErrors in migrated tests. 2020-04-13 22:42:51 +00:00
utf8_encode_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00
utf8_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00
utf82_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00
utf83_test.dart Migrate tests/lib_2/convert -> tests/lib/convert. 2020-01-16 17:46:02 +00:00
utf84_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00
utf85_test.dart Adjust UTF-8 tests to match WHATWG standard expectations. 2020-05-04 10:48:32 +00:00