• Jackson Gardner's avatar
    `flutter test --wasm` support (#145347) · 31209d04
    Jackson Gardner authored
    * Adds support for `flutter test --wasm`.
      * The test compilation flow is a bit different now, so that it supports compilers other than DDC. Specifically, when we run a set of unit tests, we generate a "switchboard" main function that imports each unit test and runs the main function for a specific one based off of a value set by the JS bootstrapping code. This way, there is one compile step and the same compile output is invoked for each unit test file.
    * Also, removes all references to `dart:html` from flutter/flutter.
    * Adds CI steps for running the framework unit tests with dart2wasm+skwasm
      * These steps are marked as `bringup: true`, so we don't know what kind of failures they will result in. Any failures they have will not block the tree at all yet while we're still in `bringup: true`. Once this PR is merged, I plan on looking at any failures and either fixing them or disabling them so we can get these CI steps running on presubmit.
    
    This fixes https://github.com/flutter/flutter/issues/126692
    31209d04
Name
Last commit
Last update
..
_binding_io.dart Loading commit data...
_binding_web.dart Loading commit data...
_goldens_io.dart Loading commit data...
_goldens_web.dart Loading commit data...
_matchers_io.dart Loading commit data...
_matchers_web.dart Loading commit data...
_test_selector_io.dart Loading commit data...
_test_selector_web.dart Loading commit data...
accessibility.dart Loading commit data...
animation_sheet.dart Loading commit data...
binding.dart Loading commit data...
controller.dart Loading commit data...
deprecated.dart Loading commit data...
event_simulation.dart Loading commit data...
finders.dart Loading commit data...
frame_timing_summarizer.dart Loading commit data...
goldens.dart Loading commit data...
image.dart Loading commit data...
matchers.dart Loading commit data...
mock_canvas.dart Loading commit data...
mock_event_channel.dart Loading commit data...
nonconst.dart Loading commit data...
platform.dart Loading commit data...
recording_canvas.dart Loading commit data...
restoration.dart Loading commit data...
stack_manipulation.dart Loading commit data...
test_async_utils.dart Loading commit data...
test_compat.dart Loading commit data...
test_default_binary_messenger.dart Loading commit data...
test_exception_reporter.dart Loading commit data...
test_pointer.dart Loading commit data...
test_text_input.dart Loading commit data...
test_text_input_key_handler.dart Loading commit data...
test_vsync.dart Loading commit data...
tree_traversal.dart Loading commit data...
web.dart Loading commit data...
widget_tester.dart Loading commit data...
window.dart Loading commit data...