-
Notifications
You must be signed in to change notification settings - Fork 74
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
Explicitly configure layouts in snapshot tests #2389
Merged
Merged
Changes from all commits
Commits
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 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
4 changes: 2 additions & 2 deletions
4
...eui_ComposeUiFlexContainerTest_RTL_testColumnWithChildModifierChanges_empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...ui_ComposeUiFlexContainerTest_RTL_testColumnWithChildModifierChanges_margin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...ut.composeui_ComposeUiFlexContainerTest_RTL_testDynamicElementUpdates_abcde.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...out.composeui_ComposeUiFlexContainerTest_RTL_testDynamicElementUpdates_abde.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...out.composeui_ComposeUiFlexContainerTest_RTL_testDynamicElementUpdates_bcde.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...t.composeui_ComposeUiFlexContainerTest_RTL_testFlexDistributesWeightEqually.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...composeui_ComposeUiFlexContainerTest_RTL_testFlexDistributesWeightUnequally.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...layout.composeui_ComposeUiFlexContainerTest_RTL_testLayoutAfterDetach_after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...ayout.composeui_ComposeUiFlexContainerTest_RTL_testLayoutAfterDetach_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...poseui_ComposeUiFlexContainerTest_RTL_testRowWithChildModifierChanges_empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...oseui_ComposeUiFlexContainerTest_RTL_testRowWithChildModifierChanges_margin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...mposeui_ComposeUiFlexContainerTest_testColumnWithChildModifierChanges_empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...poseui_ComposeUiFlexContainerTest_testColumnWithChildModifierChanges_margin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...layout.composeui_ComposeUiFlexContainerTest_testDynamicElementUpdates_abcde.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
....layout.composeui_ComposeUiFlexContainerTest_testDynamicElementUpdates_abde.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
....layout.composeui_ComposeUiFlexContainerTest_testDynamicElementUpdates_bcde.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...ayout.composeui_ComposeUiFlexContainerTest_testFlexDistributesWeightEqually.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...out.composeui_ComposeUiFlexContainerTest_testFlexDistributesWeightUnequally.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...ood.layout.composeui_ComposeUiFlexContainerTest_testLayoutAfterDetach_after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...od.layout.composeui_ComposeUiFlexContainerTest_testLayoutAfterDetach_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
....composeui_ComposeUiFlexContainerTest_testRowWithChildModifierChanges_empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...composeui_ComposeUiFlexContainerTest_testRowWithChildModifierChanges_margin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
4 changes: 2 additions & 2 deletions
4
...utUIViewTests/__Snapshots__/UIViewFlexContainerTestHost/testColumnThenRow.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...hots__/UIViewFlexContainerTestHost/testColumnWithChildModifierChanges.Empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...ots__/UIViewFlexContainerTestHost/testColumnWithChildModifierChanges.Margin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...sts/__Snapshots__/UIViewFlexContainerTestHost/testCrossAxisAlignmentStart.1.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...s/__Snapshots__/UIViewFlexContainerTestHost/testDynamicElementUpdates.ABCDE.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...ts/__Snapshots__/UIViewFlexContainerTestHost/testDynamicElementUpdates.ABDE.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...ts/__Snapshots__/UIViewFlexContainerTestHost/testDynamicElementUpdates.BCDE.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
..._Snapshots__/UIViewFlexContainerTestHost/testFlexDistributesWeightEqually.1.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...napshots__/UIViewFlexContainerTestHost/testFlexDistributesWeightUnequally.1.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...Tests/__Snapshots__/UIViewFlexContainerTestHost/testLayoutAfterDetach.After.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...ests/__Snapshots__/UIViewFlexContainerTestHost/testLayoutAfterDetach.Before.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...ayoutUIViewTests/__Snapshots__/UIViewFlexContainerTestHost/testRowMargins.1.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...apshots__/UIViewFlexContainerTestHost/testRowWithChildModifierChanges.Empty.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...pshots__/UIViewFlexContainerTestHost/testRowWithChildModifierChanges.Margin.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...iewTests/__Snapshots__/UIViewFlexContainerTestHost/testTextWrapsInsideRow.1.png
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,8 @@ class UIViewFlexContainerTest( | |
override fun invalidateSize() { | ||
} | ||
} | ||
|
||
applyDefaults() | ||
} | ||
} | ||
|
||
|
This file contains 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
4 changes: 2 additions & 2 deletions
4
...es/app.cash.redwood.layout.view_ViewFlexContainerTest_RTL_testColumnThenRow.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...out.view_ViewFlexContainerTest_RTL_testColumnWithChildModifierChanges_empty.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...ut.view_ViewFlexContainerTest_RTL_testColumnWithChildModifierChanges_margin.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...dwood.layout.view_ViewFlexContainerTest_RTL_testDynamicElementUpdates_abcde.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...edwood.layout.view_ViewFlexContainerTest_RTL_testDynamicElementUpdates_abde.png
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...edwood.layout.view_ViewFlexContainerTest_RTL_testDynamicElementUpdates_bcde.png
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.
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.
This restores the old behavior to preserve the expectation of the test