blob: 6442b5cea2cbd1573e12934efa837a962fba744e (
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
//! ref: composer/tests/Composer/Test/Plugin/PluginInstallerTest.php
/// Builds the Composer instance from mocked DownloadManager/RepositoryManager/
/// InstallationManager/EventDispatcher and an InstalledRepository mock, plus the
/// plugin fixtures temp directory. The mocks and the plugin machinery are not
/// available here, so this remains a stub.
fn set_up() {
todo!()
}
/// Removes the fixtures directory 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();
}
}
// The plugin system requires the PHP runtime to load and instantiate plugin classes; the
// PluginManager/PluginInstaller is intentionally not implemented yet (TODO(plugin)).
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_install_new_plugin() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_install_plugin_with_root_package_having_files_autoload() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_install_multiple_plugins() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_upgrade_with_new_class_name() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_uninstall() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_upgrade_with_same_class_name() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_register_plugin_only_one_time() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_star_plugin_version_works_with_any_api_version() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_plugin_constraint_works_only_with_certain_api_version() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_plugin_range_constraints_work_only_with_certain_api_version() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_command_provider_capability() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_incapable_plugin_is_correctly_detected() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_capability_implements_composer_plugin_api_class_and_is_constructed_with_args() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_querying_with_invalid_capability_class_name_throws() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_querying_non_provided_capability_returns_null_safely() {
todo!()
}
#[test]
#[ignore = "the plugin API (PluginManager/PluginInstaller loading PHP plugin classes) is not implemented yet"]
fn test_querying_with_non_existing_or_wrong_capability_class_types_throws() {
todo!()
}
|