tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Definitions

Comine integration tests into one binary (#951)

Signed-off-by: Nico Burns <nico@nicoburns.com>

d803b72f958991514d47fae7f877198e126402d1 · by Nico Burns · (5 months ago) · parent 639f0acdd · browse the tree at this commit

Semantic delta · 141

tests/caching.rs

tests/generated_xml.rs

tests/hand_written.rs

tests/hand_written/caching.rs

tests/hand_written/min_max_overrides.rs

tests/hand_written/rounding.rs

tests/hand_written/serde.rs

tests/min_max_overrides.rs

tests/rounding.rs

tests/serde.rs

tests/xml.rs

19 files · +1539 −1528

diff --git a/tests/hand_written.rs b/tests/hand_written.rs
new file mode 100644
index 000000000..965aa5d28
--- /dev/null
+++ b/tests/hand_written.rs
@@ -0,0 +1,10 @@
+mod hand_written {
+    mod border_and_padding;
+    mod caching;
+    mod measure;
+    mod min_max_overrides;
+    mod relayout;
+    mod root_constraints;
+    mod rounding;
+    mod serde;
+}
diff --git a/tests/border_and_padding.rs b/tests/hand_written/border_and_padding.rs
similarity index 100%
rename from tests/border_and_padding.rs
rename to tests/hand_written/border_and_padding.rs
diff --git a/tests/caching.rs b/tests/hand_written/caching.rs
similarity index 100%
rename from tests/caching.rs
rename to tests/hand_written/caching.rs
diff --git a/tests/measure.rs b/tests/hand_written/measure.rs
similarity index 100%
rename from tests/measure.rs
rename to tests/hand_written/measure.rs
diff --git a/tests/min_max_overrides.rs b/tests/hand_written/min_max_overrides.rs
similarity index 100%
rename from tests/min_max_overrides.rs
rename to tests/hand_written/min_max_overrides.rs
diff --git a/tests/relayout.rs b/tests/hand_written/relayout.rs
similarity index 100%
rename from tests/relayout.rs
rename to tests/hand_written/relayout.rs
diff --git a/tests/root_constraints.rs b/tests/hand_written/root_constraints.rs
similarity index 100%
rename from tests/root_constraints.rs
rename to tests/hand_written/root_constraints.rs
diff --git a/tests/rounding.rs b/tests/hand_written/rounding.rs
similarity index 100%
rename from tests/rounding.rs
rename to tests/hand_written/rounding.rs
diff --git a/tests/serde.rs b/tests/hand_written/serde.rs
similarity index 100%
rename from tests/serde.rs
rename to tests/hand_written/serde.rs
diff --git a/tests/generated_xml.rs b/tests/xml.rs
similarity index 99%
rename from tests/generated_xml.rs
rename to tests/xml.rs
index 8734a9674..a17edbd46 100644
--- a/tests/generated_xml.rs
+++ b/tests/xml.rs
@@ -6,6 +6,7 @@ use taffy::{
 };
 use taffy_test_helpers::{test_measure_function, TestNodeContext};
 
+#[path = "./xml/mod.rs"]
 mod xml;
 
 #[derive(Debug)]