mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Add unit test crate for stylo
This commit is contained in:
parent
53938c439f
commit
c615a0dabc
5 changed files with 62 additions and 1 deletions
16
tests/unit/stylo/Cargo.toml
Normal file
16
tests/unit/stylo/Cargo.toml
Normal 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
10
tests/unit/stylo/lib.rs
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue