• Alexander Dahlberg's avatar
    Fixed leak and removed no-shuffle tag in widgets/app_overrides_test.dart (#88469) · 1a5692b7
    Alexander Dahlberg authored
    This PR fixed the problem that has prevented app_overrides_test.dart being shuffled. Part of #85160.
    
    This test is testing WidgetsApp.showPerformanceOverlayOverride and WidgetsApp.debugAllowBannerOverride.
    
    The problem: There was a strong dependecy to the default ordering of the tests. The value of showPerformanceOverlayOverride or debugAllowBannerOverride was expected to be the value that was set in previous test.
    
    The fix: Make the values be set to default values after each test:
    WidgetsApp.showPerformanceOverlayOverride=false
    WidgetsApp.debugAllowBannerOverride=true
    Set the expected value at the start of the test, if the default value is not expected.
    1a5692b7
Name
Last commit
Last update
..
animation Loading commit data...
cupertino Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...
_goldens_io.dart Loading commit data...
_goldens_web.dart Loading commit data...
flutter_test_config.dart Loading commit data...
image_data.dart Loading commit data...