From 1936ccd4ee01ac7ef043c525753e06ce328aa529 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 21 Jun 2026 04:24:02 +0900 Subject: 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) --- .../tests/command/check_platform_reqs_command_test.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'crates/shirabe/tests/command/check_platform_reqs_command_test.rs') 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!() +} -- cgit v1.3.1