README.md 605 Bytes
Newer Older
Dan Field's avatar
Dan Field committed
1 2
# Tracing tests

Ian Hickson's avatar
Ian Hickson committed
3 4 5 6 7 8 9 10 11 12 13
## "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

Dan Field's avatar
Dan Field committed
14 15 16 17
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.

18
These tests will fail if run without this flag.