-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[camera] Remove OCMock from AvailableCamerasTests, CameraOrientationTests and ThreadSafeEventChannelTests #8363
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
Merged
auto-submit
merged 33 commits into
flutter:main
from
leancodepl:feature/camera-ocmock-refactoring-part3
Feb 7, 2025
Merged
Changes from 22 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
5070536
Introduce protocols and remove OCMock from CameraFocusTests
mchudy 335deed
Migrate CameraExposureTests
mchudy ca581d7
Format code
mchudy 2e3c8e7
Use DI for mocking dependencies
mchudy c96e9da
Fix CI
mchudy 7155838
Fix imports
mchudy 3cd5341
Fix imports
mchudy 8256579
Another try to fix imports
mchudy 27f31c0
Change order in modulemap
mchudy 7a25909
Add FLTCamMediaSettingsAVWrapper to module map
mchudy cdb1578
Remove new protocols from modulemap
mchudy 486686a
Add header search path
mchudy 2a070ca
Fix formatting
mchudy 04f1e8b
Flatten the structure
mchudy 0d81c7f
Remove OCMock from CameraOrientationTests
mchudy bb1cf1a
Add protocol for event channel
mchudy de26f9c
Remove OCMock from ThreadSafeEventChannelTests
mchudy 4b45f30
Introduce FLTCameraDeviceDiscovering
mchudy abb1fdb
Update changelog
mchudy 96e300a
Make default implementations for protocols and clean up the DI to mak…
mchudy 88f9fe6
Introduce new protocol for creating capture inputs
mchudy 0063b6f
Fix DI and tests
mchudy 327233d
Rename FLTCaptureDeviceControlling to FLTCaptureDevice
mchudy 8235080
Merge remote-tracking branch 'upstream/main' into feature/camera-ocmo…
mchudy 37bb576
Merge remote-tracking branch 'upstream/main' into feature/camera-ocmo…
mchudy 6cdf473
Fix conflicts
mchudy 469bc8e
Add doc comments
mchudy 5ea3480
Rename property
mchudy 7f20088
Fix formatting
mchudy 64c3d1f
Code cleanup
mchudy 1ad5966
Fix warning with nils being passed in tests by introducing new mocks
mchudy 40cce59
Reintroduce default protocol wrappers and rely on NSObject for safer …
mchudy fc0e826
Fix nits
mchudy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
111 changes: 88 additions & 23 deletions
111
packages/camera/camera_avfoundation/example/ios/Runner.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.