1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-08 12:06:26 +00:00
dart-sdk/tests
MarkZ 210e120fbd [ddc] Creating a hot reload and hot restart test suite.
The hot reload runner currently only supports d8, but I plan to add support for Chrome and VM execution.

Notable changes:
* Creates `package:reload_test` with helpers for running this suite.
* Updates the module loader with D8-specific branches and hooks for hot reload/restart.
* Exposes DDC runtime variables via a `HotReloadTestRuntime` API.
* Ports constant equality hot restart tests from webdev/dwds (validated to fail if either cache-clearing mechanism fails).
* Partially rolls DDC's d8 preamble forward (towards dart2js's).
* Wraps D8's timer implementation with custom timeout logic to better match Chrome's timing semantics when executing with native JS async.

Tests for the framework and matrix updates will be added in an upcoming change.

Change-Id: I2773b29f464cfd0330e4c653c05e117ae150b4a6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/350021
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Mark Zhou <markzipan@google.com>
2024-03-05 00:12:18 +00:00
..
co19 [vm] Skip a slow test in aot debug mode (#21708) 2024-02-28 15:28:39 +00:00
corelib Make all platforms return null from Error.stackTrace until thrown. 2024-02-27 23:01:06 +00:00
dartdevc [ddc] Delete variance tests for old DDC types 2024-02-14 22:29:33 +00:00
ffi [vm/ffi] Cleanup tests 2024-02-09 21:27:29 +00:00
hot_reload [ddc] Creating a hot reload and hot restart test suite. 2024-03-05 00:12:18 +00:00
language Implement context-aware type analysis for conditional-like expressions. 2024-03-04 17:19:00 +00:00
lib [dart:js_interop] Fix comparison operator return types 2024-03-04 21:10:02 +00:00
modular [tests] Add repro for cross module constant 2023-11-13 22:21:40 +00:00
standalone [vm] Remove dart:cli waitFor 2024-02-29 11:18:51 +00:00
web [dart2wasm] Improve closure hash codes 2024-02-21 14:44:20 +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.