Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Chips] Tests to evaluate
padding
APIs. (#9423)
Adds several new snapshot tests intended to evaluate the following APIs: * `- contentPadding` * `- titlePadding` * `- imagePadding` * `- accessoryPadding` Confirms bugs found as part of #7940 This is a roll-forward of #9252
- Loading branch information
Robert Moore
committed
Jan 13, 2020
1 parent
1320a6c
commit 9694cb2
Showing
42 changed files
with
608 additions
and
0 deletions.
There are no files selected for viewing
485 changes: 485 additions & 0 deletions
485
components/Chips/tests/snapshot/MDCChipViewLayoutSnapshotTests.m
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...iewLayoutSnapshotTests/testChipAccessoryPaddingAllNegativeValuesLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...iewLayoutSnapshotTests/testChipAccessoryPaddingAllNegativeValuesRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...iewLayoutSnapshotTests/testChipAccessoryPaddingAllPositiveValuesLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...iewLayoutSnapshotTests/testChipAccessoryPaddingAllPositiveValuesRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...64/MDCChipViewLayoutSnapshotTests/testChipAccessoryPaddingShiftDown_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ewLayoutSnapshotTests/testChipAccessoryPaddingShiftToLeadingEdgeLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ewLayoutSnapshotTests/testChipAccessoryPaddingShiftToLeadingEdgeRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...wLayoutSnapshotTests/testChipAccessoryPaddingShiftToTrailingEdgeLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...wLayoutSnapshotTests/testChipAccessoryPaddingShiftToTrailingEdgeRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...s_64/MDCChipViewLayoutSnapshotTests/testChipAccessoryPaddingShiftUp_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...pViewLayoutSnapshotTests/testChipContentPaddingAllNegativeValuesLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...pViewLayoutSnapshotTests/testChipContentPaddingAllNegativeValuesRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...pViewLayoutSnapshotTests/testChipContentPaddingAllPositiveValuesLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...pViewLayoutSnapshotTests/testChipContentPaddingAllPositiveValuesRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...s_64/MDCChipViewLayoutSnapshotTests/testChipContentPaddingShiftDown_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ViewLayoutSnapshotTests/testChipContentPaddingShiftToLeadingEdgeLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ViewLayoutSnapshotTests/testChipContentPaddingShiftToLeadingEdgeRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...iewLayoutSnapshotTests/testChipContentPaddingShiftToTrailingEdgeLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...iewLayoutSnapshotTests/testChipContentPaddingShiftToTrailingEdgeRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ens_64/MDCChipViewLayoutSnapshotTests/testChipContentPaddingShiftUp_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...hipViewLayoutSnapshotTests/testChipImagePaddingAllNegativeValuesLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...hipViewLayoutSnapshotTests/testChipImagePaddingAllNegativeValuesRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...hipViewLayoutSnapshotTests/testChipImagePaddingAllPositiveValuesLTR_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...hipViewLayoutSnapshotTests/testChipImagePaddingAllPositiveValuesRTL_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ens_64/MDCChipViewLayoutSnapshotTests/testChipImagePaddingShiftDown_11_2@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ipViewLayoutSnapshotTests/testChipImagePaddingShiftToLeadingEdgeLTR_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ipViewLayoutSnapshotTests/testChipImagePaddingShiftToLeadingEdgeRTL_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...pViewLayoutSnapshotTests/testChipImagePaddingShiftToTrailingEdgeLTR_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...pViewLayoutSnapshotTests/testChipImagePaddingShiftToTrailingEdgeRTL_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ldens_64/MDCChipViewLayoutSnapshotTests/testChipImagePaddingShiftUp_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...hipViewLayoutSnapshotTests/testChipTitlePaddingAllNegativeValuesLTR_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...hipViewLayoutSnapshotTests/testChipTitlePaddingAllNegativeValuesRTL_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...hipViewLayoutSnapshotTests/testChipTitlePaddingAllPositiveValuesLTR_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...hipViewLayoutSnapshotTests/testChipTitlePaddingAllPositiveValuesRTL_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ens_64/MDCChipViewLayoutSnapshotTests/testChipTitlePaddingShiftDown_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ipViewLayoutSnapshotTests/testChipTitlePaddingShiftToLeadingEdgeLTR_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ipViewLayoutSnapshotTests/testChipTitlePaddingShiftToLeadingEdgeRTL_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...pViewLayoutSnapshotTests/testChipTitlePaddingShiftToTrailingEdgeLTR_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...pViewLayoutSnapshotTests/testChipTitlePaddingShiftToTrailingEdgeRTL_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ldens_64/MDCChipViewLayoutSnapshotTests/testChipTitlePaddingShiftUp_11_2@2x.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...oldens_64/MDCChipViewLayoutSnapshotTests/testChipWithAllZeroPadding_11_2@2x.png
Oops, something went wrong.