From 822d9a872807a92a5337ee8b7bab96dc9845cdbb Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 22 Jun 2026 02:09:59 +0900 Subject: test: port more test cases Co-Authored-By: Claude Opus 4.8 (1M context) --- .../shirabe/tests/installer/installation_manager_test.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crates/shirabe/tests/installer/installation_manager_test.rs') diff --git a/crates/shirabe/tests/installer/installation_manager_test.rs b/crates/shirabe/tests/installer/installation_manager_test.rs index b44a814..a12381b 100644 --- a/crates/shirabe/tests/installer/installation_manager_test.rs +++ b/crates/shirabe/tests/installer/installation_manager_test.rs @@ -8,50 +8,50 @@ fn set_up() { // These mock individual installers, the repository and IO to drive InstallationManager's // add/execute/install/update/uninstall logic; mocking is not available here. +#[ignore = "requires PHPUnit mocks of InstallerInterface/IOInterface/Loop with expects() call-count assertions"] #[test] -#[ignore = "mocks installers/repository/IO to drive InstallationManager; mocking is not available"] fn test_add_get_installer() { todo!() } +#[ignore = "requires PHPUnit mocks of InstallerInterface/IOInterface/Loop with expects() call-count assertions"] #[test] -#[ignore = "mocks installers/repository/IO to drive InstallationManager; mocking is not available"] fn test_add_remove_installer() { todo!() } +#[ignore = "requires partial PHPUnit mock of InstallationManager (onlyMethods install/update/uninstall) and PackageInterface mock"] #[test] -#[ignore = "mocks installers/repository/IO to drive InstallationManager; mocking is not available"] fn test_execute() { todo!() } +#[ignore = "requires PHPUnit mocks of InstallerInterface/PackageInterface with expects() call-count assertions"] #[test] -#[ignore = "mocks installers/repository/IO to drive InstallationManager; mocking is not available"] fn test_install() { todo!() } +#[ignore = "requires PHPUnit mocks of InstallerInterface/PackageInterface with expects() call-count assertions"] #[test] -#[ignore = "mocks installers/repository/IO to drive InstallationManager; mocking is not available"] fn test_update_with_equal_types() { todo!() } +#[ignore = "requires PHPUnit mocks of InstallerInterface/PackageInterface with expects() call-count assertions"] #[test] -#[ignore = "mocks installers/repository/IO to drive InstallationManager; mocking is not available"] fn test_update_with_not_equal_types() { todo!() } +#[ignore = "requires PHPUnit mocks of InstallerInterface/PackageInterface with expects() call-count assertions"] #[test] -#[ignore = "mocks installers/repository/IO to drive InstallationManager; mocking is not available"] fn test_uninstall() { todo!() } +#[ignore = "requires PHPUnit mock of LibraryInstaller and PackageInterface with expects() call-count assertions"] #[test] -#[ignore = "mocks installers/repository/IO to drive InstallationManager; mocking is not available"] fn test_install_binary() { todo!() } -- cgit v1.3.1