Add unit test crate for stylo

This commit is contained in:
Manish Goregaokar 2016-09-20 20:22:36 +05:30
parent 53938c439f
commit c615a0dabc
No known key found for this signature in database
GPG key ID: 3BBF4D3E2EF79F98
5 changed files with 62 additions and 1 deletions

View file

@ -0,0 +1,16 @@
[package]
name = "stylo_tests"
version = "0.0.1"
authors = ["The Servo Project Developers"]
license = "MPL-2.0"
[lib]
name = "stylo_tests"
path = "lib.rs"
doctest = false
[dependencies]
app_units = "0.3"
cssparser = {version = "0.7", features = ["heap_size"]}
style = {path = "../../../components/style", features = ["gecko"]}
style_traits = {path = "../../../components/style_traits"}

10
tests/unit/stylo/lib.rs Normal file
View file

@ -0,0 +1,10 @@
extern crate app_units;
extern crate cssparser;
extern crate style;
extern crate style_traits;
#[test]
fn test_test() {
// do nothing
// this is a temporary test testing that the test runs
}