aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/installer/installation_manager_test.rs
blob: 0ec465183754813702426719b58e902f28258639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! ref: composer/tests/Composer/Test/Installer/InstallationManagerTest.php

// These mock individual installers, the repository and IO to drive InstallationManager's
// add/execute/install/update/uninstall logic; mocking is not available here.
macro_rules! stub {
    ($name:ident) => {
        #[test]
        #[ignore = "mocks installers/repository/IO to drive InstallationManager; mocking is not available"]
        fn $name() {
            todo!()
        }
    };
}

stub!(test_add_get_installer);
stub!(test_add_remove_installer);
stub!(test_execute);
stub!(test_install);
stub!(test_update_with_equal_types);
stub!(test_update_with_not_equal_types);
stub!(test_uninstall);
stub!(test_install_binary);