diff --git a/crates/pptx/tests/comments.rs b/crates/pptx/tests/it/comments.rs similarity index 99% rename from crates/pptx/tests/comments.rs rename to crates/pptx/tests/it/comments.rs index 224ffec6e..66a44c510 100644 --- a/crates/pptx/tests/comments.rs +++ b/crates/pptx/tests/it/comments.rs @@ -1,7 +1,7 @@ //! Comment threads through PPTX: the modern part keeps replies and resolved state, the legacy //! part stays readable, and a package with both imports every thread once. -mod common; +use super::common; use std::sync::Arc; diff --git a/crates/pptx/tests/it/main.rs b/crates/pptx/tests/it/main.rs new file mode 100644 index 000000000..d128b81dc --- /dev/null +++ b/crates/pptx/tests/it/main.rs @@ -0,0 +1,10 @@ +//! The crate's integration tests, linked into one test binary. + +#[path = "../common/mod.rs"] +mod common; + +mod comments; +mod notes; +mod read; +mod timing; +mod write; diff --git a/crates/pptx/tests/notes.rs b/crates/pptx/tests/it/notes.rs similarity index 99% rename from crates/pptx/tests/notes.rs rename to crates/pptx/tests/it/notes.rs index 6d9500889..67600fba8 100644 --- a/crates/pptx/tests/notes.rs +++ b/crates/pptx/tests/it/notes.rs @@ -1,7 +1,7 @@ //! Speaker notes keep their run and paragraph formatting: a bold heading, indented points with //! custom bullets, plain lines. -mod common; +use super::common; use std::sync::Arc; diff --git a/crates/pptx/tests/read.rs b/crates/pptx/tests/it/read.rs similarity index 100% rename from crates/pptx/tests/read.rs rename to crates/pptx/tests/it/read.rs diff --git a/crates/pptx/tests/timing.rs b/crates/pptx/tests/it/timing.rs similarity index 100% rename from crates/pptx/tests/timing.rs rename to crates/pptx/tests/it/timing.rs diff --git a/crates/pptx/tests/write.rs b/crates/pptx/tests/it/write.rs similarity index 99% rename from crates/pptx/tests/write.rs rename to crates/pptx/tests/it/write.rs index 46f7513e7..46db7041d 100644 --- a/crates/pptx/tests/write.rs +++ b/crates/pptx/tests/it/write.rs @@ -1,6 +1,6 @@ //! The writer, read back with the reader. -mod common; +use super::common; use std::sync::Arc;