flutter/dev/tracing_tests/README.md

19 lines
605 B
Markdown
Raw Normal View History

2020-02-13 22:04:02 +00:00
# Tracing tests
2021-12-10 18:09:24 +00:00
## "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
2020-02-13 22:04:02 +00:00
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.