Skip to content

Commit e145c32

Browse files
Merge remote-tracking branch 'upstream/main' into update-goldens
2 parents e8bc959 + 11aab47 commit e145c32

File tree

131 files changed

+4799
-2785
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+4799
-2785
lines changed

.ci/flutter_master.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d8a7211061084525a992664d997cff9349fa43d3
1+
67e5f663d075f31b251e22bb9a6b2c5c6744f448

.ci/scripts/create_simulator.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
# Use of this source code is governed by a BSD-style license that can be
44
# found in the LICENSE file.
55

6-
device=com.apple.CoreSimulator.SimDeviceType.iPhone-13
7-
os=com.apple.CoreSimulator.SimRuntime.iOS-16-0
6+
# The name here must match remove_simulator.sh
7+
readonly DEVICE_NAME=Flutter-iPhone
8+
readonly DEVICE=com.apple.CoreSimulator.SimDeviceType.iPhone-13
9+
readonly OS=com.apple.CoreSimulator.SimRuntime.iOS-16-0
810

911
xcrun simctl list
10-
xcrun simctl create Flutter-iPhone "$device" "$os" | xargs xcrun simctl boot
12+
xcrun simctl create "$DEVICE_NAME" "$DEVICE" "$OS" | xargs xcrun simctl boot

.ci/scripts/remove_simulator.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
# The name here must match create_simulator.sh
7+
readonly DEVICE_NAME=Flutter-iPhone
8+
9+
xcrun simctl shutdown "$DEVICE_NAME"
10+
xcrun simctl delete "$DEVICE_NAME"
11+
xcrun simctl list

.ci/targets/ios_platform_tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ tasks:
2222
# So we run `drive-examples` after `native-test`; changing the order will result ci failure.
2323
script: script/tool_runner.sh
2424
args: ["drive-examples", "--ios", "--exclude=script/configs/exclude_integration_ios.yaml"]
25+
- name: remove simulator
26+
script: .ci/scripts/remove_simulator.sh

.ci/targets/macos_custom_package_tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ tasks:
55
script: .ci/scripts/create_simulator.sh
66
- name: custom package tests
77
script: .ci/scripts/custom_package_tests.sh
8+
- name: remove simulator
9+
script: .ci/scripts/remove_simulator.sh

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ task:
9797
license_script: $PLUGIN_TOOL_COMMAND license-check
9898
# The major and minor version here should match the lowest version
9999
# analyzed in legacy_version_analyze.
100-
pubspec_script: ./script/tool_runner.sh pubspec-check --min-min-flutter-version=3.0.0
100+
pubspec_script: ./script/tool_runner.sh pubspec-check --min-min-flutter-version=3.0.0 --allow-dependencies=script/configs/allowed_unpinned_deps.yaml --allow-pinned-dependencies=script/configs/allowed_pinned_deps.yaml
101101
readme_script:
102102
- ./script/tool_runner.sh readme-check
103103
# Re-run with --require-excerpts, skipping packages that still need

packages/camera/camera/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ dev_dependencies:
3535
sdk: flutter
3636
flutter_test:
3737
sdk: flutter
38-
mockito: ^5.0.0
38+
mockito: 5.3.2
3939
plugin_platform_interface: ^2.0.0
4040
video_player: ^2.0.0

packages/camera/camera_android_camerax/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ dev_dependencies:
3030
build_runner: ^2.1.4
3131
flutter_test:
3232
sdk: flutter
33-
mockito: ^5.3.2
33+
mockito: 5.3.2
3434
pigeon: ^3.2.6

packages/camera/camera_web/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ dev_dependencies:
2121
sdk: flutter
2222
integration_test:
2323
sdk: flutter
24-
mocktail: ^0.3.0
24+
mocktail: 0.3.0

packages/file_selector/file_selector_ios/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ dev_dependencies:
2525
build_runner: 2.1.11
2626
flutter_test:
2727
sdk: flutter
28-
mockito: ^5.1.0
28+
mockito: 5.3.2
2929
pigeon: ^3.2.5
3030

0 commit comments

Comments
 (0)