Request DartPerformanceMode.latency during transitions (#110600)

This commit is contained in:
Kaushik Iska
2022-09-07 12:54:06 -04:00
committed by GitHub
parent 547de47a93
commit d5f372bccd
6 changed files with 196 additions and 1 deletions

View File

@@ -885,6 +885,9 @@ abstract class TestWidgetsFlutterBinding extends BindingBase
assert(debugAssertNoTransientCallbacks(
'An animation is still running even after the widget tree was disposed.'
));
assert(debugAssertNoPendingPerformanceModeRequests(
'A performance mode was requested and not disposed by a test.'
));
assert(debugAssertAllFoundationVarsUnset(
'The value of a foundation debug variable was changed by the test.',
debugPrintOverride: debugPrintOverride,