aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-21 04:24:02 +0900
committernsfisis <nsfisis@gmail.com>2026-06-21 04:24:02 +0900
commit1936ccd4ee01ac7ef043c525753e06ce328aa529 (patch)
treed6d5130bd589aba5a44fa850096523e357b247a9 /crates/shirabe/tests/command/check_platform_reqs_command_test.rs
parent8e37fd201072439148ab2d179313478b79a38df7 (diff)
downloadphp-shirabe-1936ccd4ee01ac7ef043c525753e06ce328aa529.tar.gz
php-shirabe-1936ccd4ee01ac7ef043c525753e06ce328aa529.tar.zst
php-shirabe-1936ccd4ee01ac7ef043c525753e06ce328aa529.zip
test: port GitHub/GitLab/Forgejo, Search/CheckPlatformReqs, ZipArchiver stubs
All ignored/todo!(): the auth-util tests mock IO/Config/HttpDownloader, the command tests need ApplicationTester, and ZipArchiver builds a zip via ZipArchive (todo!()). setUp/tearDown not ported. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/command/check_platform_reqs_command_test.rs')
-rw-r--r--crates/shirabe/tests/command/check_platform_reqs_command_test.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/crates/shirabe/tests/command/check_platform_reqs_command_test.rs b/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
index f54b78e..a3a6ae5 100644
--- a/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
+++ b/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
@@ -1 +1,19 @@
//! ref: composer/tests/Composer/Test/Command/CheckPlatformReqsCommandTest.php
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_platform_reqs_are_satisfied() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_exception_thrown_if_no_lockfile_found() {
+ todo!()
+}
+
+#[test]
+#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"]
+fn test_failed_platform_requirement() {
+ todo!()
+}