• Ian Hickson's avatar
    Clean up usage of temporary directories (#20682) · 3dec6a69
    Ian Hickson authored
    All temporary directory start with `flutter_` and have their random component separated from the name by a period, as in `flutter_test_bundle.YFYQMY`.
    
    I've tried to find some of the places where we didn't cleanly delete temporary directories, too. This greatly reduces, though it does not entirely eliminate, the directories we leave behind when running tests, especially `flutter_tools` tests.
    
    While I was at it I standardized on `tempDir` as the variable name for temporary directories, since it was the most common, removing occurrences of `temp` and `tmp`, among others.
    
    Also I factored out some common code that used to catch exceptions that happen on Windows, and made more places use that pattern.
    3dec6a69
Name
Last commit
Last update
..
android Loading commit data...
base Loading commit data...
commands Loading commit data...
dart Loading commit data...
data Loading commit data...
integration Loading commit data...
intellij Loading commit data...
ios Loading commit data...
runner Loading commit data...
src Loading commit data...
tester Loading commit data...
analytics_test.dart Loading commit data...
application_package_test.dart Loading commit data...
artifacts_test.dart Loading commit data...
asset_bundle_package_fonts_test.dart Loading commit data...
asset_bundle_package_test.dart Loading commit data...
asset_bundle_test.dart Loading commit data...
asset_bundle_variant_test.dart Loading commit data...
asset_test.dart Loading commit data...
base_utils_test.dart Loading commit data...
bug_report_test.dart Loading commit data...
cache_test.dart Loading commit data...
channel_test.dart Loading commit data...
compile_test.dart Loading commit data...
config_test.dart Loading commit data...
crash_reporting_test.dart Loading commit data...
dart_dependencies_test.dart Loading commit data...
dependency_checker_test.dart Loading commit data...
devfs_test.dart Loading commit data...
device_test.dart Loading commit data...
emulator_test.dart Loading commit data...
flutter_manifest_test.dart Loading commit data...
forbidden_imports_test.dart Loading commit data...
hot_test.dart Loading commit data...
project_test.dart Loading commit data...
protocol_discovery_test.dart Loading commit data...
resident_runner_test.dart Loading commit data...
stop_test.dart Loading commit data...
trace_test.dart Loading commit data...
utils_test.dart Loading commit data...
version_test.dart Loading commit data...
vmservice_test.dart Loading commit data...