-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[camera] Remove OCMock from AvailableCamerasTests, CameraOrientationTests and ThreadSafeEventChannelTests #8363
[camera] Remove OCMock from AvailableCamerasTests, CameraOrientationTests and ThreadSafeEventChannelTests #8363
Conversation
...foundation/ios/camera_avfoundation/Sources/camera_avfoundation/FLTCaptureDeviceControlling.m
Show resolved
Hide resolved
...dation/Sources/camera_avfoundation/include/camera_avfoundation/FLTCaptureDeviceControlling.h
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/AvailableCamerasTest.m
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/Mocks/MockCameraDeviceDiscoverer.h
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/Mocks/MockCaptureDevice.h
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/Mocks/MockCaptureSession.h
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/Mocks/MockEventChannel.h
Show resolved
Hide resolved
...era_avfoundation/Sources/camera_avfoundation/include/camera_avfoundation/CameraPlugin_Test.h
Outdated
Show resolved
Hide resolved
...era_avfoundation/Sources/camera_avfoundation/include/camera_avfoundation/CameraPlugin_Test.h
Outdated
Show resolved
Hide resolved
...vfoundation/ios/camera_avfoundation/Sources/camera_avfoundation/FLTCameraDeviceDiscovering.m
Outdated
Show resolved
Hide resolved
...vfoundation/ios/camera_avfoundation/Sources/camera_avfoundation/FLTCameraDeviceDiscovering.m
Outdated
Show resolved
Hide resolved
...amera/camera_avfoundation/ios/camera_avfoundation/Sources/camera_avfoundation/CameraPlugin.m
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good.
(Please make future PRs a bit smaller, as large PRs like this one are harder to review)
...ra/camera_avfoundation/example/ios/RunnerTests/CameraCaptureSessionQueueRaceConditionTests.m
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/Mocks/MockCaptureDevice.m
Show resolved
Hide resolved
...mera_avfoundation/Sources/camera_avfoundation/include/camera_avfoundation/FLTCaptureDevice.h
Show resolved
Hide resolved
...mera_avfoundation/Sources/camera_avfoundation/include/camera_avfoundation/FLTCaptureDevice.h
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Apologies that I didn't manage to finish this yesterday as I had planned.
...vfoundation/ios/camera_avfoundation/Sources/camera_avfoundation/FLTCameraDeviceDiscovering.m
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/Mocks/MockCaptureDevice.m
Show resolved
Hide resolved
I fixed all the nits. |
Changes LGTM; feel free to |
…ientationTests and ThreadSafeEventChannelTests (flutter/packages#8363)
flutter/packages@e6ce02c...625023a 2025-02-07 [email protected] [camera] Remove OCMock from AvailableCamerasTests, CameraOrientationTests and ThreadSafeEventChannelTests (flutter/packages#8363) 2025-02-06 [email protected] [pigeon] Adds annotation options to omit shared classes used in Event Channels (flutter/packages#8566) 2025-02-06 [email protected] [quick_actions] Update Android Pigeon version (flutter/packages#8580) 2025-02-05 [email protected] [ci] Move Wasm test shards out of bringup. (flutter/packages#8572) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Follow-up on #8342. This should be merged after #8351
AvailableCamerasTests.m
,CameraOrientationTests.m
andThreadSafeEventChannelTests.m
FLTEventChannel
andFLTCameraDeviceDiscovering
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style, or this PR is exempt from CHANGELOG changes.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.