From 68b61d02cc818ba56833c5e457bfc47cb04ecedf Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Tue, 5 Mar 2024 13:36:49 -0500 Subject: [PATCH] Add Box stretch tests (#1843) --- .../redwood/layout/composeui/ComposeUiBox.kt | 6 +- ...lWithChildren_Wrap_Center_Stretch[LTR].png | 3 + ...lWithChildren_Wrap_Center_Stretch[RTL].png | 3 + ...FillWithChildren_Wrap_End_Stretch[LTR].png | 3 + ...FillWithChildren_Wrap_End_Stretch[RTL].png | 3 + ...llWithChildren_Wrap_Start_Stretch[LTR].png | 3 + ...llWithChildren_Wrap_Start_Stretch[RTL].png | 3 + ...lWithChildren_Wrap_Stretch_Center[LTR].png | 3 + ...lWithChildren_Wrap_Stretch_Center[RTL].png | 3 + ...FillWithChildren_Wrap_Stretch_End[LTR].png | 3 + ...FillWithChildren_Wrap_Stretch_End[RTL].png | 3 + ...llWithChildren_Wrap_Stretch_Start[LTR].png | 3 + ...llWithChildren_Wrap_Stretch_Start[RTL].png | 3 + ...WithChildren_Wrap_Stretch_Stretch[LTR].png | 3 + ...WithChildren_Wrap_Stretch_Stretch[RTL].png | 3 + ...pWithChildren_Wrap_Center_Stretch[LTR].png | 3 + ...pWithChildren_Wrap_Center_Stretch[RTL].png | 3 + ...WrapWithChildren_Wrap_End_Stretch[LTR].png | 3 + ...WrapWithChildren_Wrap_End_Stretch[RTL].png | 3 + ...apWithChildren_Wrap_Start_Stretch[LTR].png | 3 + ...apWithChildren_Wrap_Start_Stretch[RTL].png | 3 + ...pWithChildren_Wrap_Stretch_Center[LTR].png | 3 + ...pWithChildren_Wrap_Stretch_Center[RTL].png | 3 + ...WrapWithChildren_Wrap_Stretch_End[LTR].png | 3 + ...WrapWithChildren_Wrap_Stretch_End[RTL].png | 3 + ...apWithChildren_Wrap_Stretch_Start[LTR].png | 3 + ...apWithChildren_Wrap_Stretch_Start[RTL].png | 3 + ...WithChildren_Wrap_Stretch_Stretch[LTR].png | 3 + ...WithChildren_Wrap_Stretch_Stretch[RTL].png | 3 + .../cash/redwood/layout/AbstractBoxTest.kt | 98 +++++++++++++++++++ ...FillWithChildren_Wrap_Center_Stretch.1.png | 3 + ...estFillWithChildren_Wrap_End_Stretch.1.png | 3 + ...tFillWithChildren_Wrap_Start_Stretch.1.png | 3 + ...FillWithChildren_Wrap_Stretch_Center.1.png | 3 + ...estFillWithChildren_Wrap_Stretch_End.1.png | 3 + ...tFillWithChildren_Wrap_Stretch_Start.1.png | 3 + ...illWithChildren_Wrap_Stretch_Stretch.1.png | 3 + ...WrapWithChildren_Wrap_Center_Stretch.1.png | 3 + ...estWrapWithChildren_Wrap_End_Stretch.1.png | 3 + ...tWrapWithChildren_Wrap_Start_Stretch.1.png | 3 + ...WrapWithChildren_Wrap_Stretch_Center.1.png | 3 + ...estWrapWithChildren_Wrap_Stretch_End.1.png | 3 + ...tWrapWithChildren_Wrap_Stretch_Start.1.png | 3 + ...rapWithChildren_Wrap_Stretch_Stretch.1.png | 3 + ...lWithChildren_Wrap_Center_Stretch[LTR].png | 3 + ...lWithChildren_Wrap_Center_Stretch[RTL].png | 3 + ...FillWithChildren_Wrap_End_Stretch[LTR].png | 3 + ...FillWithChildren_Wrap_End_Stretch[RTL].png | 3 + ...llWithChildren_Wrap_Start_Stretch[LTR].png | 3 + ...llWithChildren_Wrap_Start_Stretch[RTL].png | 3 + ...lWithChildren_Wrap_Stretch_Center[LTR].png | 3 + ...lWithChildren_Wrap_Stretch_Center[RTL].png | 3 + ...FillWithChildren_Wrap_Stretch_End[LTR].png | 3 + ...FillWithChildren_Wrap_Stretch_End[RTL].png | 3 + ...llWithChildren_Wrap_Stretch_Start[LTR].png | 3 + ...llWithChildren_Wrap_Stretch_Start[RTL].png | 3 + ...WithChildren_Wrap_Stretch_Stretch[LTR].png | 3 + ...WithChildren_Wrap_Stretch_Stretch[RTL].png | 3 + ...pWithChildren_Wrap_Center_Stretch[LTR].png | 3 + ...pWithChildren_Wrap_Center_Stretch[RTL].png | 3 + ...WrapWithChildren_Wrap_End_Stretch[LTR].png | 3 + ...WrapWithChildren_Wrap_End_Stretch[RTL].png | 3 + ...apWithChildren_Wrap_Start_Stretch[LTR].png | 3 + ...apWithChildren_Wrap_Start_Stretch[RTL].png | 3 + ...pWithChildren_Wrap_Stretch_Center[LTR].png | 3 + ...pWithChildren_Wrap_Stretch_Center[RTL].png | 3 + ...WrapWithChildren_Wrap_Stretch_End[LTR].png | 3 + ...WrapWithChildren_Wrap_Stretch_End[RTL].png | 3 + ...apWithChildren_Wrap_Stretch_Start[LTR].png | 3 + ...apWithChildren_Wrap_Stretch_Start[RTL].png | 3 + ...WithChildren_Wrap_Stretch_Stretch[LTR].png | 3 + ...WithChildren_Wrap_Stretch_Stretch[RTL].png | 3 + 72 files changed, 312 insertions(+), 2 deletions(-) create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Center_Stretch[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Center_Stretch[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_End_Stretch[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_End_Stretch[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Start_Stretch[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Start_Stretch[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Center[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Center[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_End[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_End[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Start[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Start[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Center_Stretch[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Center_Stretch[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_End_Stretch[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_End_Stretch[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Start_Stretch[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Start_Stretch[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Center[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Center[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_End[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_End[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Start[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Start[RTL].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[LTR].png create mode 100644 redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[RTL].png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Center_Stretch.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_End_Stretch.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Start_Stretch.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Center.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_End.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Start.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Stretch.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Center_Stretch.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_End_Stretch.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Start_Stretch.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Center.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_End.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Start.1.png create mode 100644 redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Stretch.1.png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Center_Stretch[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Center_Stretch[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_End_Stretch[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_End_Stretch[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Start_Stretch[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Start_Stretch[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Center[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Center[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_End[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_End[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Start[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Start[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Center_Stretch[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Center_Stretch[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_End_Stretch[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_End_Stretch[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Start_Stretch[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Start_Stretch[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Center[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Center[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_End[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_End[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Start[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Start[RTL].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[LTR].png create mode 100644 redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[RTL].png diff --git a/redwood-layout-composeui/src/commonMain/kotlin/app/cash/redwood/layout/composeui/ComposeUiBox.kt b/redwood-layout-composeui/src/commonMain/kotlin/app/cash/redwood/layout/composeui/ComposeUiBox.kt index d20dec3fbc..39ad84a3ae 100644 --- a/redwood-layout-composeui/src/commonMain/kotlin/app/cash/redwood/layout/composeui/ComposeUiBox.kt +++ b/redwood-layout-composeui/src/commonMain/kotlin/app/cash/redwood/layout/composeui/ComposeUiBox.kt @@ -100,7 +100,8 @@ internal class ComposeUiBox( CrossAxisAlignment.Start -> -1f CrossAxisAlignment.Center -> 0f CrossAxisAlignment.End -> 1f - CrossAxisAlignment.Stretch -> TODO() + // TODO Implement stretch with custom Layout. + CrossAxisAlignment.Stretch -> -1f else -> throw AssertionError() }, verticalBias = alignment.verticalBias, @@ -114,7 +115,8 @@ internal class ComposeUiBox( CrossAxisAlignment.Start -> -1f CrossAxisAlignment.Center -> 0f CrossAxisAlignment.End -> 1f - CrossAxisAlignment.Stretch -> TODO() + // TODO Implement stretch with custom Layout. + CrossAxisAlignment.Stretch -> -1f else -> throw AssertionError() }, ) diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Center_Stretch[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Center_Stretch[LTR].png new file mode 100644 index 0000000000..f75ebbb8e6 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Center_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6950d8792abbb71c380aa19dcb6d57c4ba82d8059d314cc3f40f06974fa1fa46 +size 42234 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Center_Stretch[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Center_Stretch[RTL].png new file mode 100644 index 0000000000..44832b1989 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Center_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85907b90bd887e9e096740bf98bdf10347efe3f49e0df9068f00b6142df7f19e +size 42191 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_End_Stretch[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_End_Stretch[LTR].png new file mode 100644 index 0000000000..85c4751ab6 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_End_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43a8260f397d27e8deb97db8ab7ea5cb498cd8bcc10093e9e9191f46f5d411d8 +size 41922 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_End_Stretch[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_End_Stretch[RTL].png new file mode 100644 index 0000000000..2b1d209176 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_End_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:689514542f6cef98d8aab559f2f5b886a994b76688756e3f8bd22903dbd60d91 +size 42014 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Start_Stretch[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Start_Stretch[LTR].png new file mode 100644 index 0000000000..e49a11edf9 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Start_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe1af33e9fd0dac0afbad0897b7e832e75e56afc20a636cc33108dbeeef8dfa +size 42026 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Start_Stretch[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Start_Stretch[RTL].png new file mode 100644 index 0000000000..a44939f533 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Start_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ee5756fe384248c7d3aa12d2bfb66a1db2a018356f15ecf17581a5170ba5b1e +size 41906 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Center[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Center[LTR].png new file mode 100644 index 0000000000..f0ac56719f --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Center[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5139b9d85e69c96fd4ac49c1f2105efa90b585e23ee4ccc594c030d12193af3e +size 43448 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Center[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Center[RTL].png new file mode 100644 index 0000000000..a593e974c3 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Center[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d2d95235670e498eae301304e45a1e69621bd51c809632e6ed2af6f9f91e301 +size 43842 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_End[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_End[LTR].png new file mode 100644 index 0000000000..b52051bf6a --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_End[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebf5c5a1b7676bef25694fc21ca76c6875655697ab9b4d6b35bd78a8937cca73 +size 42564 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_End[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_End[RTL].png new file mode 100644 index 0000000000..543e50265d --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_End[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ed117607e7fd44abeaf3c1594b4b538ea382dd23cdc953191e667e5495481c1 +size 42550 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Start[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Start[LTR].png new file mode 100644 index 0000000000..e49a11edf9 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Start[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe1af33e9fd0dac0afbad0897b7e832e75e56afc20a636cc33108dbeeef8dfa +size 42026 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Start[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Start[RTL].png new file mode 100644 index 0000000000..a44939f533 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Start[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ee5756fe384248c7d3aa12d2bfb66a1db2a018356f15ecf17581a5170ba5b1e +size 41906 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[LTR].png new file mode 100644 index 0000000000..e49a11edf9 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe1af33e9fd0dac0afbad0897b7e832e75e56afc20a636cc33108dbeeef8dfa +size 42026 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[RTL].png new file mode 100644 index 0000000000..a44939f533 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ee5756fe384248c7d3aa12d2bfb66a1db2a018356f15ecf17581a5170ba5b1e +size 41906 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Center_Stretch[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Center_Stretch[LTR].png new file mode 100644 index 0000000000..7a5ebc9e01 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Center_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b24f66e09b3e1a526b755cdec40a003529be7a0e2438f1f89363efdb84539a9 +size 41664 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Center_Stretch[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Center_Stretch[RTL].png new file mode 100644 index 0000000000..3fd074c9cf --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Center_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb563ceb741a3ddc0ef8031fefd445e2758fcf166ceb2619c6b1890a0da93d30 +size 41310 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_End_Stretch[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_End_Stretch[LTR].png new file mode 100644 index 0000000000..0f6082d7d4 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_End_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2567c47e54dd5d37ea703756665b60b8c9dcdbdfed8cc6ccbbb01293e20b4e9d +size 42174 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_End_Stretch[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_End_Stretch[RTL].png new file mode 100644 index 0000000000..54b86498ba --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_End_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65fd4936827f3c8a1a7c739a1a94949f9525ab4ac2c6636f7e7b6ac32297364b +size 41853 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Start_Stretch[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Start_Stretch[LTR].png new file mode 100644 index 0000000000..20d186119b --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Start_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d491675e593efcbc07b64cb53d1afa98016dc469500d995f6844133f6152473c +size 42027 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Start_Stretch[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Start_Stretch[RTL].png new file mode 100644 index 0000000000..be7c6f683e --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Start_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3a32e6600dad39e89dd74ce1a1c9b4574af864a1d44b6b49408512754d1cbf7 +size 41928 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Center[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Center[LTR].png new file mode 100644 index 0000000000..d61df51497 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Center[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfce6404a4467182ee8f7e9cf330c82b64b75aee77e2224f41a2cf849d5cbf4f +size 42416 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Center[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Center[RTL].png new file mode 100644 index 0000000000..3a1812287c --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Center[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87a83ac8e522f8552cd1985920d7a8f09f6509d7ead37d9766fcb8b2251306fa +size 42831 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_End[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_End[LTR].png new file mode 100644 index 0000000000..7723bf1087 --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_End[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bd5d0074a13df477250ca233f4d140e27ff28c1d9bc46b652154171a2276363 +size 42205 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_End[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_End[RTL].png new file mode 100644 index 0000000000..0285c23a4d --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_End[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d935cb9d628e05bb93da380d4f1965c2ee09f23836329ec7b37c5b7261837ef3 +size 42225 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Start[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Start[LTR].png new file mode 100644 index 0000000000..20d186119b --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Start[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d491675e593efcbc07b64cb53d1afa98016dc469500d995f6844133f6152473c +size 42027 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Start[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Start[RTL].png new file mode 100644 index 0000000000..be7c6f683e --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Start[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3a32e6600dad39e89dd74ce1a1c9b4574af864a1d44b6b49408512754d1cbf7 +size 41928 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[LTR].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[LTR].png new file mode 100644 index 0000000000..20d186119b --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d491675e593efcbc07b64cb53d1afa98016dc469500d995f6844133f6152473c +size 42027 diff --git a/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[RTL].png b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[RTL].png new file mode 100644 index 0000000000..be7c6f683e --- /dev/null +++ b/redwood-layout-composeui/src/test/snapshots/images/app.cash.redwood.layout.composeui_ComposeUiBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3a32e6600dad39e89dd74ce1a1c9b4574af864a1d44b6b49408512754d1cbf7 +size 41928 diff --git a/redwood-layout-shared-test/src/commonMain/kotlin/app/cash/redwood/layout/AbstractBoxTest.kt b/redwood-layout-shared-test/src/commonMain/kotlin/app/cash/redwood/layout/AbstractBoxTest.kt index 9b2831e10a..425b1cf8e7 100644 --- a/redwood-layout-shared-test/src/commonMain/kotlin/app/cash/redwood/layout/AbstractBoxTest.kt +++ b/redwood-layout-shared-test/src/commonMain/kotlin/app/cash/redwood/layout/AbstractBoxTest.kt @@ -86,6 +86,13 @@ abstract class AbstractBoxTest { verticalAlignment = CrossAxisAlignment.Start, ) + @Test + fun testWrapWithChildren_Wrap_Stretch_Start() = testWithChildren( + constraint = Constraint.Wrap, + horizontalAlignment = CrossAxisAlignment.Stretch, + verticalAlignment = CrossAxisAlignment.Start, + ) + @Test fun testWrapWithChildren_Wrap_Start_Center() = testWithChildren( constraint = Constraint.Wrap, @@ -107,6 +114,13 @@ abstract class AbstractBoxTest { verticalAlignment = CrossAxisAlignment.Center, ) + @Test + fun testWrapWithChildren_Wrap_Stretch_Center() = testWithChildren( + constraint = Constraint.Wrap, + horizontalAlignment = CrossAxisAlignment.Stretch, + verticalAlignment = CrossAxisAlignment.Center, + ) + @Test fun testWrapWithChildren_Wrap_Start_End() = testWithChildren( constraint = Constraint.Wrap, @@ -128,6 +142,41 @@ abstract class AbstractBoxTest { verticalAlignment = CrossAxisAlignment.End, ) + @Test + fun testWrapWithChildren_Wrap_Stretch_End() = testWithChildren( + constraint = Constraint.Wrap, + horizontalAlignment = CrossAxisAlignment.Stretch, + verticalAlignment = CrossAxisAlignment.End, + ) + + @Test + fun testWrapWithChildren_Wrap_Start_Stretch() = testWithChildren( + constraint = Constraint.Wrap, + horizontalAlignment = CrossAxisAlignment.Start, + verticalAlignment = CrossAxisAlignment.Stretch, + ) + + @Test + fun testWrapWithChildren_Wrap_Center_Stretch() = testWithChildren( + constraint = Constraint.Wrap, + horizontalAlignment = CrossAxisAlignment.Center, + verticalAlignment = CrossAxisAlignment.Stretch, + ) + + @Test + fun testWrapWithChildren_Wrap_End_Stretch() = testWithChildren( + constraint = Constraint.Wrap, + horizontalAlignment = CrossAxisAlignment.End, + verticalAlignment = CrossAxisAlignment.Stretch, + ) + + @Test + fun testWrapWithChildren_Wrap_Stretch_Stretch() = testWithChildren( + constraint = Constraint.Wrap, + horizontalAlignment = CrossAxisAlignment.Stretch, + verticalAlignment = CrossAxisAlignment.Stretch, + ) + // testFillWithChildren @Test @@ -151,6 +200,13 @@ abstract class AbstractBoxTest { verticalAlignment = CrossAxisAlignment.Start, ) + @Test + fun testFillWithChildren_Wrap_Stretch_Start() = testWithChildren( + constraint = Constraint.Fill, + horizontalAlignment = CrossAxisAlignment.Stretch, + verticalAlignment = CrossAxisAlignment.Start, + ) + @Test fun testFillWithChildren_Wrap_Start_Center() = testWithChildren( constraint = Constraint.Fill, @@ -172,6 +228,13 @@ abstract class AbstractBoxTest { verticalAlignment = CrossAxisAlignment.Center, ) + @Test + fun testFillWithChildren_Wrap_Stretch_Center() = testWithChildren( + constraint = Constraint.Fill, + horizontalAlignment = CrossAxisAlignment.Stretch, + verticalAlignment = CrossAxisAlignment.Center, + ) + @Test fun testFillWithChildren_Wrap_Start_End() = testWithChildren( constraint = Constraint.Fill, @@ -193,6 +256,41 @@ abstract class AbstractBoxTest { verticalAlignment = CrossAxisAlignment.End, ) + @Test + fun testFillWithChildren_Wrap_Stretch_End() = testWithChildren( + constraint = Constraint.Fill, + horizontalAlignment = CrossAxisAlignment.Stretch, + verticalAlignment = CrossAxisAlignment.End, + ) + + @Test + fun testFillWithChildren_Wrap_Start_Stretch() = testWithChildren( + constraint = Constraint.Fill, + horizontalAlignment = CrossAxisAlignment.Start, + verticalAlignment = CrossAxisAlignment.Stretch, + ) + + @Test + fun testFillWithChildren_Wrap_Center_Stretch() = testWithChildren( + constraint = Constraint.Fill, + horizontalAlignment = CrossAxisAlignment.Center, + verticalAlignment = CrossAxisAlignment.Stretch, + ) + + @Test + fun testFillWithChildren_Wrap_End_Stretch() = testWithChildren( + constraint = Constraint.Fill, + horizontalAlignment = CrossAxisAlignment.End, + verticalAlignment = CrossAxisAlignment.Stretch, + ) + + @Test + fun testFillWithChildren_Wrap_Stretch_Stretch() = testWithChildren( + constraint = Constraint.Fill, + horizontalAlignment = CrossAxisAlignment.Stretch, + verticalAlignment = CrossAxisAlignment.Stretch, + ) + private fun testWithChildren( constraint: Constraint, horizontalAlignment: CrossAxisAlignment, diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Center_Stretch.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Center_Stretch.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Center_Stretch.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_End_Stretch.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_End_Stretch.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_End_Stretch.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Start_Stretch.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Start_Stretch.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Start_Stretch.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Center.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Center.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Center.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_End.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_End.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_End.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Start.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Start.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Start.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Stretch.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Stretch.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testFillWithChildren_Wrap_Stretch_Stretch.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Center_Stretch.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Center_Stretch.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Center_Stretch.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_End_Stretch.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_End_Stretch.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_End_Stretch.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Start_Stretch.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Start_Stretch.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Start_Stretch.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Center.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Center.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Center.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_End.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_End.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_End.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Start.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Start.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Start.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Stretch.1.png b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Stretch.1.png new file mode 100644 index 0000000000..59028a4e2b --- /dev/null +++ b/redwood-layout-uiview/RedwoodLayoutUIViewTests/__Snapshots__/UIViewBoxTestHost/testWrapWithChildren_Wrap_Stretch_Stretch.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27b6ba12ff47637286a65cce7d6f592992b28fa1418f74d40c4052a9b8dbe3a0 +size 57793 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Center_Stretch[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Center_Stretch[LTR].png new file mode 100644 index 0000000000..142ed1a1df --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Center_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9572f52cb85c0ceebac86cd193e668f4f9b91363af41bd159e07d5f82d24eb97 +size 45899 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Center_Stretch[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Center_Stretch[RTL].png new file mode 100644 index 0000000000..f8f39aed8c --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Center_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ebb24c3b1f1b242960a9e99e50ef1cd722ff41651017bc30bb002b4adde6231 +size 45865 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_End_Stretch[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_End_Stretch[LTR].png new file mode 100644 index 0000000000..7b78c6a285 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_End_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b672929ba2ecbc150cdd3849c02b9e1c3d7aa6a09008a9b85dbca12ce779e43f +size 42053 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_End_Stretch[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_End_Stretch[RTL].png new file mode 100644 index 0000000000..202b7b95a6 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_End_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b8800805f06a347977770342d1b66e5f5d5ff34a874c9e4540a3d531cf69dc8 +size 42220 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Start_Stretch[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Start_Stretch[LTR].png new file mode 100644 index 0000000000..82ca0a49fe --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Start_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8850a4ef36e71babd15a6e0cd87bbc227ae4d79f95082792aab1969f2be5802 +size 42179 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Start_Stretch[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Start_Stretch[RTL].png new file mode 100644 index 0000000000..3ae1f87792 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Start_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daa4703068e3d99858d9c7ae6d83545b9b0cefa5eb6d04222d25826734bd0251 +size 42015 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Center[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Center[LTR].png new file mode 100644 index 0000000000..d6250f3119 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Center[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7c2c7ffd1103fccaa946e38019085a4e43dc09ba3c5ac12f6389bb5f78ffe8b +size 25835 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Center[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Center[RTL].png new file mode 100644 index 0000000000..7e29fd485c --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Center[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e8198eba038d7b5330e6f73f6e591a56336450f3ea2df7e1ed0a21a0f1e88ba +size 25915 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_End[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_End[LTR].png new file mode 100644 index 0000000000..52a546da17 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_End[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f5b8669651d6196cbb9272a716cced676958ef7042219d4b1aec6e4802294c5 +size 26980 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_End[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_End[RTL].png new file mode 100644 index 0000000000..7290b7572c --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_End[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b46ddb82b57aef87c1fb951e96ca529b68300cf5c388f96cef9585bbec91845 +size 26992 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Start[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Start[LTR].png new file mode 100644 index 0000000000..23cac19171 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Start[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1456a189495c00a0ea40ad3fa22ded987c9d98fa8e1d964351205fb12ed320 +size 26239 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Start[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Start[RTL].png new file mode 100644 index 0000000000..fc4422b350 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Start[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d218ba9201db3abb005688ba8c87c5cc25cda449d154f698f60a3955961be29 +size 26356 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[LTR].png new file mode 100644 index 0000000000..cbe11b4695 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea39f4ea6fbb78a00bd6290470dfd93ce88a09354f862040b417d02809cf541b +size 5634 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[RTL].png new file mode 100644 index 0000000000..d24b668cb3 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testFillWithChildren_Wrap_Stretch_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9786c844739bd272d5a33c9b1fefc7caba8ba840ab4405f24f9c2772ccc005af +size 5603 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Center_Stretch[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Center_Stretch[LTR].png new file mode 100644 index 0000000000..a5f5a5887d --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Center_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6feb0ab691e61c127cf177b9c8bd4bb6325aa387674a909d81275e1ef909b4af +size 38508 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Center_Stretch[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Center_Stretch[RTL].png new file mode 100644 index 0000000000..7ceafb2446 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Center_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fafaf21809c2d8394ae0cbbed0e7f4bac65defe58ba5be4b7b1fedb8907d4a3d +size 38150 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_End_Stretch[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_End_Stretch[LTR].png new file mode 100644 index 0000000000..e45dfd8293 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_End_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7e3e761ae6f33348125b73b5231cbb25f575add982f616b969c156a50c60b01 +size 39733 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_End_Stretch[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_End_Stretch[RTL].png new file mode 100644 index 0000000000..00e8d3d0fd --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_End_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06cb8ea2e991774a1548a4246187cb410cef051480e409f93a9519781ee3e700 +size 38364 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Start_Stretch[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Start_Stretch[LTR].png new file mode 100644 index 0000000000..b332fa4d2c --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Start_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4800076c4df0ec950d69c73ddac84f879b96009cde9abf0d60520fa36270b88 +size 38397 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Start_Stretch[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Start_Stretch[RTL].png new file mode 100644 index 0000000000..baec445783 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Start_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4212bb9c7ba1b24338224e9ef5c76a8d0a2a36e7497f503fa700041186048c30 +size 39331 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Center[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Center[LTR].png new file mode 100644 index 0000000000..be796d13ed --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Center[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4352692eccb49ca86ac6b095ce7b0279cf32c4e960589119b9092e391058f27 +size 26409 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Center[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Center[RTL].png new file mode 100644 index 0000000000..cb59fda86f --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Center[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53c87a31b045a8ac39a45f574f0ab90fe0bc44a537b34b852e47f74b190f6029 +size 26406 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_End[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_End[LTR].png new file mode 100644 index 0000000000..d23a487c95 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_End[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b41f17650b25d12f7cd110ec9f5cf8487936122ee423f1e9cfcc9372308fec53 +size 26611 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_End[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_End[RTL].png new file mode 100644 index 0000000000..89a5619916 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_End[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d8929161316795bc5745043962fc616de7366ee0e95141fd0186c414f974a45 +size 26612 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Start[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Start[LTR].png new file mode 100644 index 0000000000..a5d86999cb --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Start[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8f42f4aa0f1abe9642fc8cd55899d73f95046b78e36214c2644d408354a59cf +size 26737 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Start[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Start[RTL].png new file mode 100644 index 0000000000..950b180059 --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Start[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40e845d9b79fb6aab5ee49d6a9aef1fd34143363963d163c34cb6d4cbe3eb925 +size 26757 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[LTR].png new file mode 100644 index 0000000000..93e7d37a3d --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[LTR].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d388a1f8ef7c755f6d1e40bf7341fc0b305360fc31ad4cd083be9072aae98d7c +size 6476 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[RTL].png new file mode 100644 index 0000000000..2bcfcae03d --- /dev/null +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewBoxTest_testWrapWithChildren_Wrap_Stretch_Stretch[RTL].png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d98903c617b948d420a89905015088822f4ea2cd0dd7f876d8255a0d5e694d5 +size 6659