| Auto-Submit | +1 |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
- (void)setFetchedIcon:(UIImage*)fetchedIconcan we pass a mock imagefetcher instead?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Commit-Queue | +1 |
can we pass a mock imagefetcher instead?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Add unit tests for Drive file picker icon fetch handling
This CL adds unit test coverage for DriveFilePickerMediator icon fetch
handling to prevent future regressions of crbug.com/458016681.
Specifically, it adds:
- DriveFilePickerMediatorTest.FetchIconSuccess: Verifies that when an
icon is successfully fetched, the mediator passes the non-nil UIImage
and target item identifiers to the consumer.
- DriveFilePickerMediatorTest.FetchIconFailure: Verifies that when icon
fetching fails (returning a nil image), the mediator returns early and
does not pass nil to the consumer (preventing layout constraint
crashes in DriveFilePickerContentView).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |