-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for LayoutItem documentation examples (#287)
* Add tests for LayoutItem documentation examples * Remove redundant type * Reorder test methods & add pragma marked sections * Improve tests
- Loading branch information
1 parent
1197574
commit 10ebc70
Showing
21 changed files
with
123 additions
and
62 deletions.
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
Binary file added
BIN
+62.8 KB
...leTests/testMultipleLayoutItemsDocumentationExample.iPhone-13-mini-portrait.png
Loading
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
...ayoutExampleTests/testMultipleLayoutItemsDocumentationExample.iPhone-13-mini-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<View; frame = (x: 0, y: 0, width: 375, height: 812)> | ||
| <View; name = Orange; frame = (x: 0, y: 0, width: 375, height: 812)> | ||
| <UIImageView; frame = (177.333 397; 20.3333 19); opaque = NO; userInteractionEnabled = NO; image = <UIImage symbol "checkmark.circle.fill"; (20 19)@3{2}>; layer = <CALayer>> |
Binary file added
BIN
+67.9 KB
...ExampleTests/testMultipleLayoutItemsDocumentationExample.iPhone-13-portrait.png
Loading
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__/LayoutExampleTests/testMultipleLayoutItemsDocumentationExample.iPhone-13-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<View; frame = (x: 0, y: 0, width: 390, height: 844)> | ||
| <View; name = Orange; frame = (x: 0, y: 0, width: 390, height: 844)> | ||
| <UIImageView; frame = (185 413; 20.3333 19); opaque = NO; userInteractionEnabled = NO; image = <UIImage symbol "checkmark.circle.fill"; (20 19)@3{2}>; layer = <CALayer>> |
Binary file added
BIN
+52 KB
...tExampleTests/testMultipleLayoutItemsDocumentationExample.iPhone-8-portrait.png
Loading
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
...ts__/LayoutExampleTests/testMultipleLayoutItemsDocumentationExample.iPhone-8-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<View; frame = (x: 0, y: 0, width: 375, height: 667)> | ||
| <View; name = Orange; frame = (x: 0, y: 0, width: 375, height: 667)> | ||
| <UIImageView; frame = (177.333 324.333; 20.3333 19); opaque = NO; userInteractionEnabled = NO; image = <UIImage symbol "checkmark.circle.fill"; (20 19)@3{2}>; layer = <CALayer>> |
Binary file added
BIN
+38.6 KB
...ExampleTests/testMultipleLayoutItemsDocumentationExample.iPhone-SE-portrait.png
Loading
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__/LayoutExampleTests/testMultipleLayoutItemsDocumentationExample.iPhone-SE-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<View; frame = (x: 0, y: 0, width: 320, height: 568)> | ||
| <View; name = Orange; frame = (x: 0, y: 0, width: 320, height: 568)> | ||
| <UIImageView; frame = (150 275; 20.3333 19); opaque = NO; userInteractionEnabled = NO; image = <UIImage symbol "checkmark.circle.fill"; (20 19)@3{2}>; layer = <CALayer>> |
Binary file added
BIN
+62.8 KB
...tExampleTests/testMultipleLayoutItemsDocumentationExample.iPhone-X-portrait.png
Loading
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
...ts__/LayoutExampleTests/testMultipleLayoutItemsDocumentationExample.iPhone-X-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<View; frame = (x: 0, y: 0, width: 375, height: 812)> | ||
| <View; name = Orange; frame = (x: 0, y: 0, width: 375, height: 812)> | ||
| <UIImageView; frame = (177.333 397; 20.3333 19); opaque = NO; userInteractionEnabled = NO; image = <UIImage symbol "checkmark.circle.fill"; (20 19)@3{2}>; layer = <CALayer>> |
Binary file added
BIN
+62 KB
...ampleTests/testSingleLayoutItemDocumentationExample.iPhone-13-mini-portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
..._/LayoutExampleTests/testSingleLayoutItemDocumentationExample.iPhone-13-mini-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<View; frame = (x: 0, y: 0, width: 375, height: 812)> | ||
| <View; name = Blue; frame = (x: 0, y: 0, width: 375, height: 812)> |
Binary file added
BIN
+66.4 KB
...outExampleTests/testSingleLayoutItemDocumentationExample.iPhone-13-portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
...hots__/LayoutExampleTests/testSingleLayoutItemDocumentationExample.iPhone-13-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<View; frame = (x: 0, y: 0, width: 390, height: 844)> | ||
| <View; name = Blue; frame = (x: 0, y: 0, width: 390, height: 844)> |
Binary file added
BIN
+51 KB
...youtExampleTests/testSingleLayoutItemDocumentationExample.iPhone-8-portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
...shots__/LayoutExampleTests/testSingleLayoutItemDocumentationExample.iPhone-8-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<View; frame = (x: 0, y: 0, width: 375, height: 667)> | ||
| <View; name = Blue; frame = (x: 0, y: 0, width: 375, height: 667)> |
Binary file added
BIN
+37.1 KB
...outExampleTests/testSingleLayoutItemDocumentationExample.iPhone-SE-portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
...hots__/LayoutExampleTests/testSingleLayoutItemDocumentationExample.iPhone-SE-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<View; frame = (x: 0, y: 0, width: 320, height: 568)> | ||
| <View; name = Blue; frame = (x: 0, y: 0, width: 320, height: 568)> |
Binary file added
BIN
+62 KB
...youtExampleTests/testSingleLayoutItemDocumentationExample.iPhone-X-portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
...shots__/LayoutExampleTests/testSingleLayoutItemDocumentationExample.iPhone-X-portrait.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<View; frame = (x: 0, y: 0, width: 375, height: 812)> | ||
| <View; name = Blue; frame = (x: 0, y: 0, width: 375, height: 812)> |