Move all SWF tests out of `core` to new `tests` package
This allows `regressions_tests.rs` to depend on other crates in the workspace, such as `render`, without introducing a cyclic dependency. Split out from #4054
This commit is contained in:
parent
f9769451d6
commit
08d0829177
|
@ -963,6 +963,12 @@ version = "0.1.12"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499"
|
||||
|
||||
[[package]]
|
||||
name = "difference"
|
||||
version = "2.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
|
||||
|
||||
[[package]]
|
||||
name = "dirs"
|
||||
version = "3.0.2"
|
||||
|
@ -2605,6 +2611,18 @@ version = "0.2.10"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
|
||||
|
||||
[[package]]
|
||||
name = "pretty_assertions"
|
||||
version = "0.6.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3f81e1644e1b54f5a68959a29aa86cde704219254669da328ecfdf6a1f09d427"
|
||||
dependencies = [
|
||||
"ansi_term 0.11.0",
|
||||
"ctor",
|
||||
"difference",
|
||||
"output_vt100",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pretty_assertions"
|
||||
version = "0.7.2"
|
||||
|
@ -2881,7 +2899,7 @@ dependencies = [
|
|||
"num_enum 0.5.1",
|
||||
"percent-encoding",
|
||||
"png",
|
||||
"pretty_assertions",
|
||||
"pretty_assertions 0.7.2",
|
||||
"quick-xml",
|
||||
"rand",
|
||||
"regress",
|
||||
|
@ -3386,6 +3404,16 @@ dependencies = [
|
|||
"winapi 0.3.9",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tests"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"approx",
|
||||
"env_logger",
|
||||
"pretty_assertions 0.6.1",
|
||||
"ruffle_core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "textwrap"
|
||||
version = "0.11.0"
|
||||
|
|
|
@ -12,6 +12,8 @@ members = [
|
|||
"render/wgpu",
|
||||
"render/common_tess",
|
||||
"render/webgl",
|
||||
|
||||
"tests",
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
[package]
|
||||
name = "tests"
|
||||
version = "0.1.0"
|
||||
authors = ["Aaron Hill <aa1ronham@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
ruffle_core = { path = "../core" }
|
||||
|
||||
[dev-dependencies]
|
||||
approx = "0.4.0"
|
||||
pretty_assertions = "0.6.1"
|
||||
env_logger = "0.8.3"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue