flutter/dev/tracing_tests
gaaclarke 35b18ba2e9
Made flag for debugging build time of user created widgets (#100926)
* Added a bool that allows us to limit debugProfileBuildsEnabled to user
created widgets.

* made it turned on by default

* switched to hashmap

* Cleaned everything up and added tests

* fixed an odd test where it wants to be able to add asserts and run in profile mode

* hixie feedback

* hixie2

* made it default to false

* updated docstring as per dans request
2022-04-05 10:54:21 -07:00
..
android Improve tracing (#93086) 2021-12-10 10:09:24 -08:00
lib Prepare dev (minus flutter_gallery) for use_super_parameters (#100516) 2022-03-29 12:52:42 -07:00
test Made flag for debugging build time of user created widgets (#100926) 2022-04-05 10:54:21 -07:00
pubspec.yaml Prepare dev (minus flutter_gallery) for use_super_parameters (#100516) 2022-03-29 12:52:42 -07: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.