Skip to content

Conversation

mchudy
Copy link
Contributor

@mchudy mchudy commented Jan 2, 2025

Follow-up on #8342. This should be merged after #8351

  • Removes OCMock dependency in AvailableCamerasTests.m, CameraOrientationTests.m and ThreadSafeEventChannelTests.m
  • Introduces new protocol wrappers to enable mocking FLTEventChannel and FLTCameraDeviceDiscovering

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@mchudy mchudy requested a review from hellohuanlin January 7, 2025 11:55
@mchudy mchudy requested a review from hellohuanlin January 14, 2025 10:05
@stuartmorgan-g stuartmorgan-g added the triage-ios Should be looked at in iOS triage label Jan 15, 2025
@mchudy mchudy requested a review from stuartmorgan-g January 24, 2025 15:07
@mchudy mchudy requested a review from stuartmorgan-g January 31, 2025 14:13
Copy link
Contributor

@hellohuanlin hellohuanlin left a 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)

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g left a 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.

@mchudy
Copy link
Contributor Author

mchudy commented Feb 6, 2025

I fixed all the nits.

@stuartmorgan-g
Copy link
Collaborator

Changes LGTM; feel free to autosubmit :)

@mchudy mchudy added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 7, 2025
@auto-submit auto-submit bot merged commit 625023a into flutter:main Feb 7, 2025
78 checks passed
@mchudy mchudy deleted the feature/camera-ocmock-refactoring-part3 branch February 7, 2025 08:08
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 7, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Feb 7, 2025
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
androidseb pushed a commit to androidseb/packages that referenced this pull request Jun 8, 2025
…ests and ThreadSafeEventChannelTests (flutter#8363)

Follow-up on flutter#8342. This should be merged after flutter#8351

- Removes OCMock dependency in `AvailableCamerasTests.m`, `CameraOrientationTests.m` and `ThreadSafeEventChannelTests.m`
- Introduces new protocol wrappers to enable mocking `FLTEventChannel` and `FLTCameraDeviceDiscovering`
FMorschel pushed a commit to FMorschel/packages that referenced this pull request Jun 9, 2025
…ests and ThreadSafeEventChannelTests (flutter#8363)

Follow-up on flutter#8342. This should be merged after flutter#8351

- Removes OCMock dependency in `AvailableCamerasTests.m`, `CameraOrientationTests.m` and `ThreadSafeEventChannelTests.m`
- Introduces new protocol wrappers to enable mocking `FLTEventChannel` and `FLTCameraDeviceDiscovering`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: camera platform-ios platform-macos triage-ios Should be looked at in iOS triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants