dart-sdk/tests/lib
Dan Chevalier fd6fa010ec [ VM Service / DDS ] Add custom service stream support (Revised)
NOTES:
Original CL: https://dart-review.googlesource.com/c/sdk/+/274061
Revert CL: https://dart-review.googlesource.com/c/sdk/+/274802

Regression tests that failed after merging Original CL:
- https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-mac-release/24046/overview
- https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-mac-release-arm64/5999/overview

----------
DESCRIPTION:
Setting the `stream` parameter on `developer.postEvent` will now forward those events to a custom stream inside DDS.


The first use of this will be for widget inspection. A navigation event will be posted to a custom stream. Our IDE DAP can listen for the Event and react to it by navigating to the desired location in the code.

TEST=Made sure that regression from original PR could be reproduced, and then resolved by applying this change. Updated observatory tests. Created new developer test to check assertions. Added DDS tests for new custom stream behaviour. Manually tested the postEvent and StreamListen with multiple clients

https://github.com/flutter/devtools/issues/4533

Change-Id: I2b04a84b4daf11dd9d72f899928b5e1f62a5ae02
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275121
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2022-12-13 16:31:37 +00:00
..
analyzer
async Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
collection [lib/collection] Test for #48282 2022-02-08 19:36:38 +00:00
convert [vm] Alternate fix for mismatch between native and intrinsic versions of writeIntoOneByteString. 2022-01-21 19:32:40 +00:00
developer [ VM Service / DDS ] Add custom service stream support (Revised) 2022-12-13 16:31:37 +00:00
fix_data_tests Remove deprecated APIs from dart:developer 2022-07-19 07:10:03 +00:00
html [3.0 alpha] Remove deprecated dart:core apis 2022-12-12 11:46:58 +00:00
isolate [3.0 alpha][VM/Runtime] - Flip flag to make strong null safety the default. 2022-12-06 04:04:23 +00:00
js Reland "[pkg:js] Disallow using @staticInterop synthetic constructors" 2022-11-28 23:41:02 +00:00
math [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
mirrors [3.0 alpha] Remove deprecated NoSuchMessageError API 2022-12-12 09:48:05 +00:00
typed_data [vm] Add unmodifiable typed data as a type that can be sent with Dart_PostCObject. 2022-09-12 19:45:12 +00:00
web
lib.status [pkg:js] Move mock tests into subfolder of export 2022-10-26 16:34:38 +00:00
lib_analyzer.status
lib_app_jit.status
lib_dart2js.status [js_util] Add dartify and some helpers. 2022-05-16 21:31:47 +00:00
lib_dartdevc.status [ddc] Temporarily skip tests that timeout 2022-12-09 02:29:31 +00:00
lib_kernel.status [gardening] Mark all tests as slow in debug-ia32 mode 2022-07-21 10:22:45 +00:00
lib_precompiled.status [testing] Remove --compiler=none from test.py 2022-10-19 08:09:58 +00:00
lib_vm.status [test] Inform status files about the new simulated architectures. 2022-02-03 20:32:16 +00:00