mirror of
https://github.com/flutter/flutter.git
synced 2026-02-10 21:07:38 +08:00
Pinning the package:web dependency constrains downstream packages from using newer versions and making sure they support the version pinned in Flutter. Since the usage of package:web in Flutter is light, we should instead have a small shim like the engine and keep package:web as a dev dependency only.
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.