aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/package/archiver
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-21 03:47:19 +0900
committernsfisis <nsfisis@gmail.com>2026-06-21 03:47:19 +0900
commit41c80058ad57143b2ab23d2eb241983627de9da1 (patch)
tree408cd7c8a4a853e744c8159e6743f7044edb3f20 /crates/shirabe/tests/package/archiver
parent0e92f06a6a6e327f83966e36c3d884eba12b4192 (diff)
downloadphp-shirabe-41c80058ad57143b2ab23d2eb241983627de9da1.tar.gz
php-shirabe-41c80058ad57143b2ab23d2eb241983627de9da1.tar.zst
php-shirabe-41c80058ad57143b2ab23d2eb241983627de9da1.zip
test: port Documentation/Xz/Audit/ErrorHandler/PharArchiver tests as stubs
All ignored/todo!(): they need infrastructure not yet ported (console Application, HttpDownloader/curl, ApplicationTester, PHP runtime error handler, PharData/ZipArchive). Wires up the downloader test target. setUp/tearDown not ported. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/package/archiver')
-rw-r--r--crates/shirabe/tests/package/archiver/mod.rs1
-rw-r--r--crates/shirabe/tests/package/archiver/phar_archiver_test.rs12
2 files changed, 13 insertions, 0 deletions
diff --git a/crates/shirabe/tests/package/archiver/mod.rs b/crates/shirabe/tests/package/archiver/mod.rs
index b77fb71..0dd410b 100644
--- a/crates/shirabe/tests/package/archiver/mod.rs
+++ b/crates/shirabe/tests/package/archiver/mod.rs
@@ -1 +1,2 @@
mod git_exclude_filter_test;
+mod phar_archiver_test;
diff --git a/crates/shirabe/tests/package/archiver/phar_archiver_test.rs b/crates/shirabe/tests/package/archiver/phar_archiver_test.rs
index a1de919..414aa36 100644
--- a/crates/shirabe/tests/package/archiver/phar_archiver_test.rs
+++ b/crates/shirabe/tests/package/archiver/phar_archiver_test.rs
@@ -1 +1,13 @@
//! ref: composer/tests/Composer/Test/Package/Archiver/PharArchiverTest.php
+
+#[test]
+#[ignore = "PharArchiver::archive builds a tar via PharData, which is todo!() in the php-shim"]
+fn test_tar_archive() {
+ todo!()
+}
+
+#[test]
+#[ignore = "PharArchiver::archive builds a zip via ZipArchive, which is todo!() in the php-shim"]
+fn test_zip_archive() {
+ todo!()
+}