aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/installed_versions_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/installed_versions_test.rs')
-rw-r--r--crates/shirabe/tests/installed_versions_test.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/crates/shirabe/tests/installed_versions_test.rs b/crates/shirabe/tests/installed_versions_test.rs
index 1357fd4..163e664 100644
--- a/crates/shirabe/tests/installed_versions_test.rs
+++ b/crates/shirabe/tests/installed_versions_test.rs
@@ -3,11 +3,25 @@
// setUpBeforeClass reflects into ClassLoader::registeredLoaders and the cases load
// installed.php fixtures via InstalledVersions::reload; the reflection and fixture loading
// are not ported.
+
+use tempfile::TempDir;
+
+fn set_up() -> TempDir {
+ let root = TempDir::new().unwrap();
+
+ // Loading the installed_relative.php fixture and InstalledVersions::reload are not ported.
+ todo!();
+
+ #[allow(unreachable_code)]
+ root
+}
+
macro_rules! stub {
($name:ident) => {
#[test]
#[ignore = "needs reflection into ClassLoader::registeredLoaders and installed.php fixtures (not ported)"]
fn $name() {
+ let _root = set_up();
todo!()
}
};