Auto merge of #5776 - servo:split-unit-tests, r=mbrubeck

Closes #5707. (Includes a rebase of it.)
Fixes #5688.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5776)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-04-21 14:06:22 -05:00
commit f795440ee3
16 changed files with 210 additions and 109 deletions

View file

@ -8,18 +8,22 @@ dependencies = [
"devtools 0.0.1",
"devtools_traits 0.0.1",
"gfx 0.0.1",
"gfx_tests 0.0.1",
"glutin_app 0.0.1",
"layout 0.0.1",
"msg 0.0.1",
"net 0.0.1",
"net_tests 0.0.1",
"net_traits 0.0.1",
"png 0.1.0 (git+https://github.com/servo/rust-png)",
"profile 0.0.1",
"script 0.0.1",
"script_tests 0.0.1",
"style_tests 0.0.1",
"time 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)",
"unit_tests 0.0.1",
"url 0.2.23 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"util_tests 0.0.1",
"webdriver_server 0.0.1",
]
@ -346,6 +350,13 @@ dependencies = [
"util 0.0.1",
]
[[package]]
name = "gfx_tests"
version = "0.0.1"
dependencies = [
"gfx 0.0.1",
]
[[package]]
name = "gl_common"
version = "0.0.4"
@ -661,6 +672,19 @@ dependencies = [
"util 0.0.1",
]
[[package]]
name = "net_tests"
version = "0.0.1"
dependencies = [
"cookie 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
"hyper 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"net 0.0.1",
"net_traits 0.0.1",
"profile 0.0.1",
"url 0.2.23 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
]
[[package]]
name = "net_traits"
version = "0.0.1"
@ -824,6 +848,13 @@ dependencies = [
"uuid 0.1.11 (git+https://github.com/rust-lang/uuid)",
]
[[package]]
name = "script_tests"
version = "0.0.1"
dependencies = [
"script 0.0.1",
]
[[package]]
name = "script_traits"
version = "0.0.1"
@ -905,6 +936,20 @@ dependencies = [
"util 0.0.1",
]
[[package]]
name = "style_tests"
version = "0.0.1"
dependencies = [
"cssparser 0.2.0 (git+https://github.com/servo/rust-cssparser)",
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
"selectors 0.1.0 (git+https://github.com/servo/rust-selectors)",
"string_cache 0.0.0 (git+https://github.com/servo/string-cache)",
"string_cache_plugin 0.0.0 (git+https://github.com/servo/string-cache)",
"style 0.0.1",
"url 0.2.23 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
]
[[package]]
name = "task_info"
version = "0.0.1"
@ -928,27 +973,6 @@ name = "unicase"
version = "0.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "unit_tests"
version = "0.0.1"
dependencies = [
"cookie 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
"cssparser 0.2.0 (git+https://github.com/servo/rust-cssparser)",
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
"gfx 0.0.1",
"hyper 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"net 0.0.1",
"net_traits 0.0.1",
"profile 0.0.1",
"script 0.0.1",
"selectors 0.1.0 (git+https://github.com/servo/rust-selectors)",
"string_cache 0.0.0 (git+https://github.com/servo/string-cache)",
"string_cache_plugin 0.0.0 (git+https://github.com/servo/string-cache)",
"style 0.0.1",
"url 0.2.23 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
]
[[package]]
name = "url"
version = "0.2.23"
@ -987,6 +1011,14 @@ dependencies = [
"time 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "util_tests"
version = "0.0.1"
dependencies = [
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
"util 0.0.1",
]
[[package]]
name = "uuid"
version = "0.1.11"

View file

@ -16,8 +16,20 @@ test = false
doc = false
bench = false
[dev-dependencies.unit_tests]
path = "../../tests/unit"
[dev-dependencies.gfx_tests]
path = "../../tests/unit/gfx"
[dev-dependencies.net_tests]
path = "../../tests/unit/net"
[dev-dependencies.script_tests]
path = "../../tests/unit/script"
[dev-dependencies.style_tests]
path = "../../tests/unit/style"
[dev-dependencies.util_tests]
path = "../../tests/unit/util"
[[test]]
name = "reftest"