flutter/dev/tracing_tests
Polina Cherkasova dcbb2de0ad
Add dependency on leak_tracker to flutter_test. (#137069)
Contributes to: https://github.com/flutter/flutter/issues/135856

This PR also adds transitive dependency on  web_socket_channel, crypto, typed_data. `web_socket_channel` is needed to request retaining path for not GCed objects from VM Service. Two others are needed to serve web_socket_channel.

The dependency on leak_tracker is pinned:
aea562114c/packages/flutter_tools/lib/src/commands/update_packages.dart (L40)
2023-10-25 02:45:26 +00:00
..
android Upgrade AGP version in tracing_tests (#134671) 2023-09-20 20:56:25 +00:00
lib Prepare dev (minus flutter_gallery) for use_super_parameters (#100516) 2022-03-29 12:52:42 -07:00
test Manual roll Flutter Engine from 4f4734cd48da to a0d650e37f5d (3 revisions) (#131967) 2023-08-05 01:22:17 +00:00
pubspec.yaml Add dependency on leak_tracker to flutter_test. (#137069) 2023-10-25 02:45:26 +00:00
README.md Improve tracing (#93086) 2021-12-10 10:09:24 -08:00

Tracing tests

"Application"

The lib/test.dart and lib/control.dart files in this directory are used by dev/bots/test.dart's runTracingTests function to check whether aspects of the tracing logic in the framework get compiled out in profile and release builds. They're not meant to be run directly.

The strings in these files are used in dev/bots/test.dart.

Tests

The tests in this folder must be run with flutter test --enable-vmservice, since they test that trace data is written to the timeline by connecting to the observatory.

These tests will fail if run without this flag.