diff --git a/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/input.json b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/input.json new file mode 100644 index 000000000000..53e199e54aa3 --- /dev/null +++ b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/input.json @@ -0,0 +1,4 @@ +[ + { "type": "Wait" }, + { "type": "KeyDown", "key_code": 27 } +] diff --git a/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.01.expected.png b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.01.expected.png new file mode 100644 index 000000000000..639c49a8496e Binary files /dev/null and b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.01.expected.png differ diff --git a/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.02.expected.png b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.02.expected.png new file mode 100644 index 000000000000..a4f853300f33 Binary files /dev/null and b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.02.expected.png differ diff --git a/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.txt b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.txt new file mode 100644 index 000000000000..dd8160152ff9 --- /dev/null +++ b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/output.txt @@ -0,0 +1 @@ +Escape pressed diff --git a/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/test.swf b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/test.swf new file mode 100644 index 000000000000..9f2fce01dfa9 Binary files /dev/null and b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/test.swf differ diff --git a/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/test.toml b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/test.toml new file mode 100644 index 000000000000..716f2f820eec --- /dev/null +++ b/tests/tests/swfs/visual/cache_as_bitmap/edittext_hscroll/test.toml @@ -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 }