-
-
Notifications
You must be signed in to change notification settings - Fork 828
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/cache_as_bitmap/edittext_hscroll test
Verifies that hscroll works properly when TextField is cached as bitmap.
- Loading branch information
Showing
6 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/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,4 @@ | ||
[ | ||
{ "type": "Wait" }, | ||
{ "type": "KeyDown", "key_code": 27 } | ||
] |
Binary file added
BIN
+213 Bytes
tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/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
+188 Bytes
tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/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.
1 change: 1 addition & 0 deletions
1
tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.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 @@ | ||
Escape pressed |
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/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,10 @@ | ||
num_ticks = 2 | ||
|
||
[image_comparisons."output.01"] | ||
trigger = 1 | ||
|
||
[image_comparisons."output.02"] | ||
trigger = 2 | ||
|
||
[player_options] | ||
with_renderer = { optional = false, sample_count = 4 } |