• 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
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...