aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/shirabe/tests/command/clear_cache_command_test.rs18
-rw-r--r--crates/shirabe/tests/command/diagnose_command_test.rs12
-rw-r--r--crates/shirabe/tests/command/exec_command_test.rs12
-rw-r--r--crates/shirabe/tests/command/main.rs3
4 files changed, 45 insertions, 0 deletions
diff --git a/crates/shirabe/tests/command/clear_cache_command_test.rs b/crates/shirabe/tests/command/clear_cache_command_test.rs
index 29eb90e..0e03548 100644
--- a/crates/shirabe/tests/command/clear_cache_command_test.rs
+++ b/crates/shirabe/tests/command/clear_cache_command_test.rs
@@ -1 +1,19 @@
//! ref: composer/tests/Composer/Test/Command/ClearCacheCommandTest.php
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_clear_cache_command_success() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_clear_cache_command_with_option_garbage_collection() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_clear_cache_command_with_option_no_cache() {
+ todo!()
+}
diff --git a/crates/shirabe/tests/command/diagnose_command_test.rs b/crates/shirabe/tests/command/diagnose_command_test.rs
index 0ed56d3..4b5dc9a 100644
--- a/crates/shirabe/tests/command/diagnose_command_test.rs
+++ b/crates/shirabe/tests/command/diagnose_command_test.rs
@@ -1 +1,13 @@
//! ref: composer/tests/Composer/Test/Command/DiagnoseCommandTest.php
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_cmd_fail() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_cmd_success() {
+ todo!()
+}
diff --git a/crates/shirabe/tests/command/exec_command_test.rs b/crates/shirabe/tests/command/exec_command_test.rs
index 59ac4d6..89963db 100644
--- a/crates/shirabe/tests/command/exec_command_test.rs
+++ b/crates/shirabe/tests/command/exec_command_test.rs
@@ -1 +1,13 @@
//! ref: composer/tests/Composer/Test/Command/ExecCommandTest.php
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_list_throws_if_no_binaries_exist() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_list() {
+ todo!()
+}
diff --git a/crates/shirabe/tests/command/main.rs b/crates/shirabe/tests/command/main.rs
index b2774dd..f8aef08 100644
--- a/crates/shirabe/tests/command/main.rs
+++ b/crates/shirabe/tests/command/main.rs
@@ -1 +1,4 @@
mod about_command_test;
+mod clear_cache_command_test;
+mod diagnose_command_test;
+mod exec_command_test;