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
[List] Add basic snapshot tests for MDCSelfSizingStereoCell. #7439
[List] Add basic snapshot tests for MDCSelfSizingStereoCell. #7439
Conversation
self.cell.leadingImageView.image = [UIImage mdc_testImageOfSize:CGSizeMake(24, 24) | ||
withStyle:MDCSnapshotTestImageStyleCheckerboard]; | ||
self.cell.trailingImageView.image = [UIImage mdc_testImageOfSize:CGSizeMake(24, 24) | ||
withStyle:MDCSnapshotTestImageStyleRectangles]; |
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.
clang-format suggested the following change:
- self.cell.leadingImageView.image = [UIImage mdc_testImageOfSize:CGSizeMake(24, 24)
- withStyle:MDCSnapshotTestImageStyleCheckerboard];
- self.cell.trailingImageView.image = [UIImage mdc_testImageOfSize:CGSizeMake(24, 24)
- withStyle:MDCSnapshotTestImageStyleRectangles];
+ self.cell.leadingImageView.image =
+ [UIImage mdc_testImageOfSize:CGSizeMake(24, 24)
+ withStyle:MDCSnapshotTestImageStyleCheckerboard];
+ self.cell.trailingImageView.image =
+ [UIImage mdc_testImageOfSize:CGSizeMake(24, 24)
+ withStyle:MDCSnapshotTestImageStyleRectangles];
bazel detected changes to the following targets:
|
[self snapshotVerifyView:snapshotView]; | ||
} | ||
|
||
- (void)speedAllLayersOfView:(UIView *)view { |
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.
Looks like this is no longer used - can it be removed?
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.
Thanks for catching it. Addressed in c9bb6ef.
Pre-work for https://github.com/material-components/material-components-ios/issues/7385.