• 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
..
lib Loading commit data...
test Loading commit data...
test_fixes Loading commit data...
test_private Loading commit data...
test_release Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
build.yaml Loading commit data...
dart_test.yaml Loading commit data...
pubspec.yaml Loading commit data...