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) --- crates/shirabe/tests/package/archiver/mod.rs | 1 + .../tests/package/archiver/zip_archiver_test.rs | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) (limited to 'crates/shirabe/tests/package/archiver') diff --git a/crates/shirabe/tests/package/archiver/mod.rs b/crates/shirabe/tests/package/archiver/mod.rs index 0dd410b..c1c93c4 100644 --- a/crates/shirabe/tests/package/archiver/mod.rs +++ b/crates/shirabe/tests/package/archiver/mod.rs @@ -1,2 +1,3 @@ mod git_exclude_filter_test; mod phar_archiver_test; +mod zip_archiver_test; diff --git a/crates/shirabe/tests/package/archiver/zip_archiver_test.rs b/crates/shirabe/tests/package/archiver/zip_archiver_test.rs index b24679b..1c884d8 100644 --- a/crates/shirabe/tests/package/archiver/zip_archiver_test.rs +++ b/crates/shirabe/tests/package/archiver/zip_archiver_test.rs @@ -1 +1,21 @@ //! ref: composer/tests/Composer/Test/Package/Archiver/ZipArchiverTest.php + +// ZipArchiver::archive builds a zip via ZipArchive, which is todo!() in the php-shim. + +#[test] +#[ignore = "ZipArchiver::archive builds a zip via ZipArchive, which is todo!() in the php-shim"] +fn test_simple_files() { + todo!() +} + +#[test] +#[ignore = "ZipArchiver::archive builds a zip via ZipArchive, which is todo!() in the php-shim"] +fn test_gitignore_exclude_negation() { + todo!() +} + +#[test] +#[ignore = "ZipArchiver::archive builds a zip via ZipArchive, which is todo!() in the php-shim"] +fn test_folder_with_backslashes() { + todo!() +} -- cgit v1.3.1