dart-sdk/tests
Srujan Gaddam a56642e9a1 [dart:js_util] Handle type parameters in export/mocks.
Several changes are made:

- createDartExport now does not export methods that define type parameters.
- createStaticInteropMock adds conformance checks to make sure implementing
members can handle all possible values of a type parameter in an interop
member. An error is added to reduce confusion around this.
- Export creator now uses dart:js_interop_unsafe for a lot of its lowering
as the dart:js_util equivalents are buggy when it comes to calling exported
functions in JS with JS types.
- Small code changes are added to backends to handle the above changes.

Change-Id: Ie3b6b157930537267f270b60373b2b17e0a14344
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/316141
Reviewed-by: Joshua Litt <joshualitt@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
2023-08-04 21:45:29 +00:00
..
co19 [test] Skip two dartdevc tests that are timing out 2023-08-03 11:31:35 +00:00
co19_2 [test] Introduce status variable $simulator, and fix some cases missing simarm_x64. 2023-04-04 03:10:26 +00:00
corelib Fix bug in VM _CompactHashIterable. 2023-07-04 11:00:50 +00:00
corelib_2 [test] Skip corelib tests relying on symbol names and stack traces in obfuscated and dwarf modes 2023-05-26 20:05:08 +00:00
dartdevc [ddc] Update reified type calculation 2023-07-18 21:01:14 +00:00
dartdevc_2 [ddc] Implement new record types 2023-05-12 17:23:07 +00:00
ffi [vm/ffi] Closure callbacks for async callbacks 2023-07-26 23:23:26 +00:00
ffi_2 [infra] Make the sanitizer a first-class status variable. 2023-07-10 17:46:31 +00:00
language Add language test to reproduce #53089. 2023-08-02 12:02:38 +00:00
language_2 Add language test to reproduce #53089. 2023-08-02 12:02:38 +00:00
lib [dart:js_util] Handle type parameters in export/mocks. 2023-08-04 21:45:29 +00:00
lib_2 [dart:js_util] Handle type parameters in export/mocks. 2023-08-04 21:45:29 +00:00
modular [Reland][cfe] Support external constructor with final fields 2023-01-17 17:29:28 +00:00
standalone Clean up Platform.lineTerminator test. 2023-07-19 20:23:51 +00:00
standalone_2 Clean up Platform.lineTerminator test. 2023-07-19 20:23:51 +00:00
web [dart2js] Fix issue with non-async try/catch nested in catch block of async try/catch. 2023-08-01 19:39:32 +00:00
web_2 [dart2js] Fix failing web/deferred_fail_and_retry_test on d8 platform. 2023-06-27 18:25:30 +00:00
legacy_status_dart2js.csv Spelling tests 2022-12-19 12:56:47 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.