[versions] update all versions and fix tool tests (#60127)
Update all versions, specifically file which fixes some bugs that caused tests to fail if run in different orders: - systemTemp directories created by MemoryFileSystem will allot names based on the file system instance instead of globally. - MemoryFile.readAsLines()/readAsLinesSync() no longer treat a final newline in the file as the start of a new, empty line. - RecordingFile.readAsLine()/readAsLinesSync() now always record a final newline.
This commit is contained in:
@@ -15,7 +15,7 @@ dependencies:
|
||||
completion: 0.2.2
|
||||
coverage: 0.14.0
|
||||
crypto: 2.1.5
|
||||
file: 5.2.0
|
||||
file: 5.2.1
|
||||
flutter_template_images: 1.0.1
|
||||
http: 0.12.1
|
||||
intl: 0.16.1
|
||||
@@ -39,7 +39,7 @@ dependencies:
|
||||
# 'test' package, which change between versions, so when upgrading
|
||||
# this, make sure the tests are still running correctly.
|
||||
test_api: 0.2.17
|
||||
test_core: 0.3.8
|
||||
test_core: 0.3.9
|
||||
|
||||
vm_service: 4.1.0
|
||||
|
||||
@@ -87,7 +87,7 @@ dependencies:
|
||||
string_scanner: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
typed_data: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
uuid: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
@@ -96,7 +96,7 @@ dev_dependencies:
|
||||
collection: 1.14.13
|
||||
mockito: 4.1.1
|
||||
file_testing: 2.1.0
|
||||
test: 1.15.0
|
||||
test: 1.15.1
|
||||
pubspec_parse: 0.1.5
|
||||
|
||||
checked_yaml: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
@@ -107,4 +107,4 @@ dartdoc:
|
||||
# Exclude this package from the hosted API docs.
|
||||
nodoc: true
|
||||
|
||||
# PUBSPEC CHECKSUM: 3d66
|
||||
# PUBSPEC CHECKSUM: 7264
|
||||
|
||||
@@ -100,7 +100,7 @@ void main () {
|
||||
|
||||
testWithoutContext('skips migrating script with embed', () {
|
||||
const String contents = '''
|
||||
shellScript = "/bin/sh \"\$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\" embed\\n/bin/sh \"\$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\" thin\n";
|
||||
shellScript = "/bin/sh \"\$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\" embed\\n/bin/sh \"\$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\" thin";
|
||||
''';
|
||||
xcodeProjectInfoFile.writeAsStringSync(contents);
|
||||
|
||||
@@ -145,7 +145,6 @@ keep this 2
|
||||
keep this 1
|
||||
shellScript = "/bin/sh "\$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\" embed_and_thin";
|
||||
keep this 2
|
||||
|
||||
''');
|
||||
expect(testLogger.statusText, contains('Upgrading project.pbxproj'));
|
||||
});
|
||||
|
||||
@@ -109,7 +109,7 @@ void main() {
|
||||
processManager.addCommand(const FakeCommand(
|
||||
command: <String>[
|
||||
'example_chrome',
|
||||
'--user-data-dir=/.tmp_rand1/flutter_tools_chrome_device.rand1',
|
||||
'--user-data-dir=/.tmp_rand0/flutter_tools_chrome_device.rand0',
|
||||
'--remote-debugging-port=10000',
|
||||
...kChromeArgs,
|
||||
'example_url',
|
||||
@@ -131,7 +131,7 @@ void main() {
|
||||
processManager.addCommand(const FakeCommand(
|
||||
command: <String>[
|
||||
'example_chrome',
|
||||
'--user-data-dir=/.tmp_rand1/flutter_tools_chrome_device.rand1',
|
||||
'--user-data-dir=/.tmp_rand0/flutter_tools_chrome_device.rand0',
|
||||
'--remote-debugging-port=1234',
|
||||
...kChromeArgs,
|
||||
'--headless',
|
||||
@@ -174,7 +174,7 @@ void main() {
|
||||
|
||||
processManager.addCommand(FakeCommand(command: const <String>[
|
||||
'example_chrome',
|
||||
'--user-data-dir=/.tmp_rand1/flutter_tools_chrome_device.rand1',
|
||||
'--user-data-dir=/.tmp_rand0/flutter_tools_chrome_device.rand0',
|
||||
'--remote-debugging-port=1234',
|
||||
...kChromeArgs,
|
||||
'example_url',
|
||||
@@ -188,7 +188,7 @@ void main() {
|
||||
|
||||
// validate preferences
|
||||
final File tempFile = fileSystem
|
||||
.directory('.tmp_rand1/flutter_tools_chrome_device.rand1')
|
||||
.directory('.tmp_rand0/flutter_tools_chrome_device.rand0')
|
||||
.childDirectory('Default')
|
||||
.childFile('preferences');
|
||||
|
||||
@@ -204,7 +204,7 @@ void main() {
|
||||
|
||||
// validate local storage
|
||||
final Directory storageDir = fileSystem
|
||||
.directory('.tmp_rand1/flutter_tools_chrome_device.rand1')
|
||||
.directory('.tmp_rand0/flutter_tools_chrome_device.rand0')
|
||||
.childDirectory('Default')
|
||||
.childDirectory('Local Storage')
|
||||
.childDirectory('leveldb');
|
||||
|
||||
Reference in New Issue
Block a user