aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/package
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/package
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/package')
-rw-r--r--crates/shirabe/tests/package/archiver/mod.rs1
-rw-r--r--crates/shirabe/tests/package/archiver/zip_archiver_test.rs20
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!()
+}