blob: a12381bfba5519d346eae33b9d85328454830ef4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
//! ref: composer/tests/Composer/Test/Installer/InstallationManagerTest.php
/// Builds mocked Loop/repository/IO. The mocks are not available here, so this
/// remains a stub.
fn set_up() {
todo!()
}
// 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]
fn test_add_get_installer() {
todo!()
}
#[ignore = "requires PHPUnit mocks of InstallerInterface/IOInterface/Loop with expects() call-count assertions"]
#[test]
fn test_add_remove_installer() {
todo!()
}
#[ignore = "requires partial PHPUnit mock of InstallationManager (onlyMethods install/update/uninstall) and PackageInterface mock"]
#[test]
fn test_execute() {
todo!()
}
#[ignore = "requires PHPUnit mocks of InstallerInterface/PackageInterface with expects() call-count assertions"]
#[test]
fn test_install() {
todo!()
}
#[ignore = "requires PHPUnit mocks of InstallerInterface/PackageInterface with expects() call-count assertions"]
#[test]
fn test_update_with_equal_types() {
todo!()
}
#[ignore = "requires PHPUnit mocks of InstallerInterface/PackageInterface with expects() call-count assertions"]
#[test]
fn test_update_with_not_equal_types() {
todo!()
}
#[ignore = "requires PHPUnit mocks of InstallerInterface/PackageInterface with expects() call-count assertions"]
#[test]
fn test_uninstall() {
todo!()
}
#[ignore = "requires PHPUnit mock of LibraryInstaller and PackageInterface with expects() call-count assertions"]
#[test]
fn test_install_binary() {
todo!()
}
|