diff options
Diffstat (limited to 'crates/shirabe/tests/installer/library_installer_test.rs')
| -rw-r--r-- | crates/shirabe/tests/installer/library_installer_test.rs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/crates/shirabe/tests/installer/library_installer_test.rs b/crates/shirabe/tests/installer/library_installer_test.rs index 4f2e33e..1262970 100644 --- a/crates/shirabe/tests/installer/library_installer_test.rs +++ b/crates/shirabe/tests/installer/library_installer_test.rs @@ -1,5 +1,25 @@ //! ref: composer/tests/Composer/Test/Installer/LibraryInstallerTest.php +/// Sets up a Composer/Config over root/vendor/bin temp dirs plus mocked +/// DownloadManager/repository/IO. The temp-dir helpers and the mocks are not +/// available here, so this remains a stub. +fn set_up() { + todo!() +} + +/// Removes the root dir created by `set_up`, which is itself a stub. +fn tear_down() { + todo!() +} + +struct TearDown; + +impl Drop for TearDown { + fn drop(&mut self) { + tear_down(); + } +} + // 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 { |
