aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/installer/library_installer_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/installer/library_installer_test.rs')
-rw-r--r--crates/shirabe/tests/installer/library_installer_test.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/crates/shirabe/tests/installer/library_installer_test.rs b/crates/shirabe/tests/installer/library_installer_test.rs
index e15a225..4f2e33e 100644
--- a/crates/shirabe/tests/installer/library_installer_test.rs
+++ b/crates/shirabe/tests/installer/library_installer_test.rs
@@ -1 +1,23 @@
//! ref: composer/tests/Composer/Test/Installer/LibraryInstallerTest.php
+
+// These construct a LibraryInstaller over a temp dir with a mocked IO/Filesystem/repository
+// and mocked packages to drive install/update/uninstall and path resolution.
+macro_rules! stub {
+ ($name:ident) => {
+ #[test]
+ #[ignore = "mocks IO/Filesystem/repository and packages to drive LibraryInstaller; mocking is not available"]
+ fn $name() {
+ todo!()
+ }
+ };
+}
+
+stub!(test_installer_creation_should_not_create_vendor_directory);
+stub!(test_installer_creation_should_not_create_bin_directory);
+stub!(test_is_installed);
+stub!(test_install);
+stub!(test_update);
+stub!(test_uninstall);
+stub!(test_get_install_path_without_target_dir);
+stub!(test_get_install_path_with_target_dir);
+stub!(test_ensure_binaries_installed);