Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/tests/swfs/from_shumway/3_joystick/input.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
{"type": "Wait"},
{"type": "Wait"},
{"type": "MouseMove", "pos": [115.1, 116]},
{"type": "Wait"},
Expand Down
Binary file modified tests/tests/swfs/from_shumway/3_joystick/output.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 11 additions & 3 deletions tests/tests/swfs/from_shumway/3_joystick/test.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
num_ticks = 20
num_ticks = 21

[image_comparisons.output]
tolerance = 3
trigger = 2

[[image_comparisons.output.checks]]
tolerance = 128
max_outliers = 0

[[image_comparisons.output.checks]]
tolerance = 32
max_outliers = 2500
Comment thread
danielhjacobs marked this conversation as resolved.

[player_options]
with_renderer = { optional = true, quality = "low" }
with_renderer = { optional = true, quality = "high" }
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
67 changes: 62 additions & 5 deletions tests/tests/swfs/from_shumway/acid/acid-blend-2/test.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,67 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid

num_frames = 30
num_frames = 40

[image_comparisons.output]
tolerance = 15
max_outliers = 24
# FIXME The graphics could be better, the texture is too "rough" in Ruffle.

[image_comparisons."output.10"]
trigger = 10

[[image_comparisons."output.10".checks]]
tolerance = 20
max_outliers = 5000

[[image_comparisons."output.10".checks]]
tolerance = 130
max_outliers = 0

[image_comparisons."output.15"]
trigger = 15

[[image_comparisons."output.15".checks]]
tolerance = 20
max_outliers = 6000

[[image_comparisons."output.15".checks]]
tolerance = 135
max_outliers = 0

[image_comparisons."output.20"]
trigger = 20

[[image_comparisons."output.20".checks]]
tolerance = 20
max_outliers = 5500

[[image_comparisons."output.20".checks]]
tolerance = 130
max_outliers = 0

[image_comparisons."output.26"]
trigger = 26

[[image_comparisons."output.26".checks]]
tolerance = 20
max_outliers = 6000

[[image_comparisons."output.26".checks]]
tolerance = 120
max_outliers = 0

[image_comparisons."output.40"]
trigger = 40

[[image_comparisons."output.40".checks]]
tolerance = 20
max_outliers = 9000

[[image_comparisons."output.40".checks]]
tolerance = 40
max_outliers = 1500

[[image_comparisons."output.40".checks]]
tolerance = 160
max_outliers = 0

[player_options]
with_renderer = { optional = false, quality = "low" }
with_renderer = { optional = false, quality = "high" }
Binary file modified tests/tests/swfs/from_shumway/acid/acid-clip/output.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 12 additions & 3 deletions tests/tests/swfs/from_shumway/acid/acid-clip/test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,17 @@

num_frames = 1

[image_comparisons.output]
tolerance = 1
[[image_comparisons.output.checks]]
tolerance = 150
max_outliers = 0

[[image_comparisons.output.checks]]
tolerance = 64
max_outliers = 125

[[image_comparisons.output.checks]]
tolerance = 0
max_outliers = 7000
Comment thread
danielhjacobs marked this conversation as resolved.

[player_options]
with_renderer = { optional = false, quality = "low" }
with_renderer = { optional = false, quality = "high" }
Loading