tests: Add focusrect_swf5 test

This test verifies the behavior of _focusrect for SWF5.
This commit is contained in:
Kamil Jarosz 2024-04-02 13:36:19 +02:00 committed by Nathan Adams
parent cebd7f0e5c
commit 7f3c046a76
16 changed files with 49 additions and 0 deletions

View File

@ -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 not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

View File

@ -0,0 +1,6 @@
Setting test stage to 1
Setting test stage to 2
Setting test stage to 3
Setting test stage to 4
Setting test stage to 5
Setting test stage to 6

Binary file not shown.

View File

@ -0,0 +1,17 @@
num_ticks = 12
image_comparisons."output.01a".trigger = 1
image_comparisons."output.01b".trigger = 2
image_comparisons."output.02a".trigger = 3
image_comparisons."output.02b".trigger = 4
image_comparisons."output.03a".trigger = 5
image_comparisons."output.03b".trigger = 6
image_comparisons."output.04a".trigger = 7
image_comparisons."output.04b".trigger = 8
image_comparisons."output.05a".trigger = 9
image_comparisons."output.05b".trigger = 10
image_comparisons."output.06a".trigger = 11
image_comparisons."output.06b".trigger = 12
[player_options]
with_renderer = { optional = false, sample_count = 1 }