Skip to content

Commit

Permalink
update test XML fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Jun 22, 2024
1 parent 9ecdf0a commit b6498b0
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 2 deletions.
15 changes: 15 additions & 0 deletions widget/testdata/list/initial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@
</widget>
</container>
</widget>
<widget pos="0,429" size="192x35" type="*widget.listItem">
<container size="192x35">
<widget size="20x35" type="*widget.Icon">
<image fillMode="contain" rsc="documentIcon" size="20x35" themed="foreground"/>
</widget>
<widget pos="24,0" size="168x35" type="*widget.Label">
<widget size="168x35" type="*widget.RichText">
<text pos="8,8" size="80x19">Test Item 11</text>
</widget>
</widget>
</container>
</widget>
<widget size="0x0" type="*widget.Separator">
<rectangle fillColor="separator" size="0x0"/>
</widget>
Expand Down Expand Up @@ -168,6 +180,9 @@
<widget pos="0,388" size="192x1" type="*widget.Separator">
<rectangle fillColor="separator" size="192x1"/>
</widget>
<widget pos="0,427" size="192x1" type="*widget.Separator">
<rectangle fillColor="disabled" size="192x1"/>
</widget>
</container>
<widget pos="0,392" size="192x0" type="*widget.Shadow">
<linearGradient endColor="shadow" pos="0,-8" size="192x8"/>
Expand Down
4 changes: 2 additions & 2 deletions widget/testdata/list/item_removed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<widget size="20x35" type="*widget.Icon">
<image fillMode="contain" rsc="documentIcon" size="20x35" themed="foreground"/>
</widget>
<widget pos="24,0" size="123x35" type="*widget.Label">
<widget size="123x35" type="*widget.RichText">
<widget pos="24,0" size="88x35" type="*widget.Label">
<widget size="88x35" type="*widget.RichText">
<text pos="8,8" size="72x19">Test Item 1</text>
</widget>
</widget>
Expand Down
15 changes: 15 additions & 0 deletions widget/testdata/list/new_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@
</widget>
</container>
</widget>
<widget pos="0,429" size="192x35" type="*widget.listItem">
<container size="192x35">
<widget size="20x35" type="*widget.Icon">
<image fillMode="contain" rsc="documentIcon" size="20x35" themed="foreground"/>
</widget>
<widget pos="24,0" size="168x35" type="*widget.Label">
<widget size="168x35" type="*widget.RichText">
<text pos="8,8" size="3x19">l</text>
</widget>
</widget>
</container>
</widget>
<widget size="0x0" type="*widget.Separator">
<rectangle fillColor="separator" size="0x0"/>
</widget>
Expand Down Expand Up @@ -168,6 +180,9 @@
<widget pos="0,388" size="192x1" type="*widget.Separator">
<rectangle fillColor="separator" size="192x1"/>
</widget>
<widget pos="0,427" size="192x1" type="*widget.Separator">
<rectangle fillColor="disabled" size="192x1"/>
</widget>
</container>
<widget pos="0,392" size="192x0" type="*widget.Shadow">
<linearGradient endColor="shadow" pos="0,-8" size="192x8"/>
Expand Down
15 changes: 15 additions & 0 deletions widget/testdata/list/offset_changed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@
</widget>
</container>
</widget>
<widget pos="0,703" size="192x35" type="*widget.listItem">
<container size="192x35">
<widget size="20x35" type="*widget.Icon">
<image fillMode="contain" rsc="documentIcon" size="20x35" themed="foreground"/>
</widget>
<widget pos="24,0" size="168x35" type="*widget.Label">
<widget size="168x35" type="*widget.RichText">
<text pos="8,8" size="80x19">Test Item 18</text>
</widget>
</widget>
</container>
</widget>
<widget size="0x0" type="*widget.Separator">
<rectangle fillColor="separator" size="0x0"/>
</widget>
Expand Down Expand Up @@ -168,6 +180,9 @@
<widget pos="0,661" size="192x1" type="*widget.Separator">
<rectangle fillColor="separator" size="192x1"/>
</widget>
<widget pos="0,700" size="192x1" type="*widget.Separator">
<rectangle fillColor="disabled" size="192x1"/>
</widget>
</container>
<widget size="192x0" type="*widget.Shadow">
<linearGradient size="192x8" startColor="shadow"/>
Expand Down
15 changes: 15 additions & 0 deletions widget/testdata/list/resized.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,18 @@
</widget>
</container>
</widget>
<widget pos="0,625" size="192x35" type="*widget.listItem">
<container size="192x35">
<widget size="20x35" type="*widget.Icon">
<image fillMode="contain" rsc="documentIcon" size="20x35" themed="foreground"/>
</widget>
<widget pos="24,0" size="168x35" type="*widget.Label">
<widget size="168x35" type="*widget.RichText">
<text pos="8,8" size="80x19">Test Item 16</text>
</widget>
</widget>
</container>
</widget>
<widget size="0x0" type="*widget.Separator">
<rectangle fillColor="separator" size="0x0"/>
</widget>
Expand Down Expand Up @@ -243,6 +255,9 @@
<widget pos="0,583" size="192x1" type="*widget.Separator">
<rectangle fillColor="separator" size="192x1"/>
</widget>
<widget pos="0,622" size="192x1" type="*widget.Separator">
<rectangle fillColor="disabled" size="192x1"/>
</widget>
</container>
<widget pos="0,592" size="192x0" type="*widget.Shadow">
<linearGradient endColor="shadow" pos="0,-8" size="192x8"/>
Expand Down

0 comments on commit b6498b0

Please sign in to comment.