-
-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add visual/edittext/edittext_caret_empty
This test verifies how the caret in a text field is rendered when the text field is empty.
- Loading branch information
Showing
16 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
tests/tests/swfs/visual/edittext/edittext_caret_empty/input.json
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,26 @@ | ||
[ | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 9 }, | ||
{ "type": "Wait" } | ||
] |
Binary file added
BIN
+342 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.01.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+346 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.02.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+347 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.03.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+344 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.04.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+345 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.05.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+346 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.06.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+344 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.07.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+347 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.08.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+343 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.09.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+343 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.10.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+342 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.11.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+340 Bytes
tests/tests/swfs/visual/edittext/edittext_caret_empty/output.12.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Binary file not shown.
52 changes: 52 additions & 0 deletions
52
tests/tests/swfs/visual/edittext/edittext_caret_empty/test.toml
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,52 @@ | ||
num_ticks = 12 | ||
|
||
[image_comparisons."output.01"] | ||
trigger = 1 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.02"] | ||
trigger = 2 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.03"] | ||
trigger = 3 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.04"] | ||
trigger = 4 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.05"] | ||
trigger = 5 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.06"] | ||
trigger = 6 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.07"] | ||
trigger = 7 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.08"] | ||
trigger = 8 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.09"] | ||
trigger = 9 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.10"] | ||
trigger = 10 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.11"] | ||
trigger = 11 | ||
tolerance = 128 | ||
|
||
[image_comparisons."output.12"] | ||
trigger = 12 | ||
tolerance = 128 | ||
|
||
[player_options] | ||
with_renderer = { optional = false, sample_count = 4 } |