aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command/show_command_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/command/show_command_test.rs')
-rw-r--r--crates/shirabe/tests/command/show_command_test.rs166
1 files changed, 135 insertions, 31 deletions
diff --git a/crates/shirabe/tests/command/show_command_test.rs b/crates/shirabe/tests/command/show_command_test.rs
index 6c2cf13..b17ce22 100644
--- a/crates/shirabe/tests/command/show_command_test.rs
+++ b/crates/shirabe/tests/command/show_command_test.rs
@@ -1,35 +1,139 @@
//! ref: composer/tests/Composer/Test/Command/ShowCommandTest.php
-macro_rules! stub {
- ($name:ident) => {
- #[test]
- #[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
- fn $name() {
- todo!()
- }
- };
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_show() {
+ todo!()
}
-stub!(test_show);
-stub!(test_outdated_filters_according_to_platform_reqs_and_warns);
-stub!(test_outdated_filters_according_to_platform_reqs_without_warning_for_higher_versions);
-stub!(test_show_direct_with_name_does_not_show_transient_dependencies);
-stub!(test_show_direct_with_name_only_shows_direct_dependents);
-stub!(test_show_platform_only_shows_platform_packages);
-stub!(test_show_platform_works_without_composer_json);
-stub!(test_outdated_with_zero_major);
-stub!(test_show_all_shows_all_sections);
-stub!(test_locked_requires_valid_lock_file);
-stub!(test_locked_shows_all_locked);
-stub!(test_invalid_option_combinations);
-stub!(test_ignored_option_combinations);
-stub!(test_self_and_name_only);
-stub!(test_self_and_package_combination);
-stub!(test_self);
-stub!(test_not_installed_error);
-stub!(test_no_dev_option);
-stub!(test_package_filter);
-stub!(test_not_existing_package);
-stub!(test_not_existing_package_with_working_dir);
-stub!(test_specific_package_and_tree);
-stub!(test_name_only_prints_no_trailing_whitespace);
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_outdated_filters_according_to_platform_reqs_and_warns() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_outdated_filters_according_to_platform_reqs_without_warning_for_higher_versions() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_show_direct_with_name_does_not_show_transient_dependencies() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_show_direct_with_name_only_shows_direct_dependents() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_show_platform_only_shows_platform_packages() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_show_platform_works_without_composer_json() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_outdated_with_zero_major() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_show_all_shows_all_sections() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_locked_requires_valid_lock_file() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_locked_shows_all_locked() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_invalid_option_combinations() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_ignored_option_combinations() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_self_and_name_only() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_self_and_package_combination() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_self() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_not_installed_error() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_no_dev_option() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_package_filter() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_not_existing_package() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_not_existing_package_with_working_dir() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_specific_package_and_tree() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_name_only_prints_no_trailing_whitespace() {
+ todo!()
+}