From 25f96cab45f5da4fba2ef0486a0b0bc8f7ca87b0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 21 Jun 2026 05:09:56 +0900 Subject: test: port downloader/installer/io/json/event-dispatcher/functional stubs All ignored: these mock IO/HttpDownloader (curl)/ProcessExecutor/installers, use ZipArchive/JsonManipulator todo!()s, need Symfony console or schema validation, reflect into ClassLoader, or run end-to-end install/functional fixtures. Wires up the event_dispatcher test target. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/all_functional_test.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'crates/shirabe/tests/all_functional_test.rs') diff --git a/crates/shirabe/tests/all_functional_test.rs b/crates/shirabe/tests/all_functional_test.rs index 88ab725..99a7ad0 100644 --- a/crates/shirabe/tests/all_functional_test.rs +++ b/crates/shirabe/tests/all_functional_test.rs @@ -1 +1,17 @@ //! ref: composer/tests/Composer/Test/AllFunctionalTest.php + +// These build the composer.phar and run the .test integration fixtures by invoking the +// composer binary as a subprocess; the phar build and functional-test harness are not +// ported. +macro_rules! stub { + ($name:ident) => { + #[test] + #[ignore = "not yet ported (builds composer.phar and runs the functional .test fixtures via the binary)"] + fn $name() { + todo!() + } + }; +} + +stub!(test_build_phar); +stub!(test_integration); -- cgit v1.3.1