diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-21 04:24:02 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-21 04:24:02 +0900 |
| commit | 1936ccd4ee01ac7ef043c525753e06ce328aa529 (patch) | |
| tree | d6d5130bd589aba5a44fa850096523e357b247a9 /crates/shirabe/tests/package | |
| parent | 8e37fd201072439148ab2d179313478b79a38df7 (diff) | |
| download | php-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/package')
| -rw-r--r-- | crates/shirabe/tests/package/archiver/mod.rs | 1 | ||||
| -rw-r--r-- | crates/shirabe/tests/package/archiver/zip_archiver_test.rs | 20 |
2 files changed, 21 insertions, 0 deletions
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!() +} |
