Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add focus_highlight/focus_highlight_render
- Loading branch information
Showing
11 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
tests/tests/swfs/visual/focus_highlight/focus_highlight_render/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,14 @@ | ||
[ | ||
{ "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
+1.61 KB
...tests/swfs/visual/focus_highlight/focus_highlight_render/output.01.expected.png
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
+1.61 KB
...tests/swfs/visual/focus_highlight/focus_highlight_render/output.02.expected.png
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
+1.66 KB
...tests/swfs/visual/focus_highlight/focus_highlight_render/output.03.expected.png
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
+1.58 KB
...tests/swfs/visual/focus_highlight/focus_highlight_render/output.04.expected.png
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
+1.58 KB
...tests/swfs/visual/focus_highlight/focus_highlight_render/output.05.expected.png
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
+1.6 KB
...tests/swfs/visual/focus_highlight/focus_highlight_render/output.06.expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
12 changes: 12 additions & 0 deletions
12
tests/tests/swfs/visual/focus_highlight/focus_highlight_render/test.as
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,12 @@ | ||
element1.tabEnabled = true; | ||
element1.tabIndex = 1; | ||
element2.tabEnabled = true; | ||
element2.tabIndex = 2; | ||
element3.tabEnabled = true; | ||
element3.tabIndex = 3; | ||
element4.tabEnabled = true; | ||
element4.tabIndex = 4; | ||
element5.tabEnabled = true; | ||
element5.tabIndex = 5; | ||
element6.tabEnabled = true; | ||
element6.tabIndex = 6; |
Binary file added
BIN
+474 Bytes
tests/tests/swfs/visual/focus_highlight/focus_highlight_render/test.swf
Binary file not shown.
30 changes: 30 additions & 0 deletions
30
tests/tests/swfs/visual/focus_highlight/focus_highlight_render/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,30 @@ | ||
num_ticks = 6 | ||
|
||
[image_comparisons."output.01"] | ||
trigger = 1 | ||
max_outliers = 4 | ||
|
||
[image_comparisons."output.02"] | ||
trigger = 2 | ||
max_outliers = 4 | ||
|
||
[image_comparisons."output.03"] | ||
trigger = 3 | ||
max_outliers = 4 | ||
|
||
[image_comparisons."output.04"] | ||
trigger = 4 | ||
max_outliers = 4 | ||
|
||
[image_comparisons."output.05"] | ||
trigger = 5 | ||
# Position of the cursor does not matter, | ||
# what matters is that there's no highlight. | ||
max_outliers = 100 | ||
|
||
[image_comparisons."output.06"] | ||
trigger = 6 | ||
max_outliers = 4 | ||
|
||
[player_options] | ||
with_renderer = { optional = false, sample_count = 1 } |