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/installer_test.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'crates/shirabe/tests/installer_test.rs') diff --git a/crates/shirabe/tests/installer_test.rs b/crates/shirabe/tests/installer_test.rs index 2376d47..c7d3a91 100644 --- a/crates/shirabe/tests/installer_test.rs +++ b/crates/shirabe/tests/installer_test.rs @@ -1 +1,19 @@ //! ref: composer/tests/Composer/Test/InstallerTest.php + +// These are large end-to-end installer integration cases driven by fixtures and a mocked +// Composer/IO/repositories; the full install pipeline (and constraint parsing through a +// look-around regex) is not ported. +macro_rules! stub { + ($name:ident) => { + #[test] + #[ignore = "not yet ported (end-to-end Installer integration over fixtures; constraint parsing uses a look-around regex)"] + fn $name() { + todo!() + } + }; +} + +stub!(test_installer); +stub!(test_slow_integration); +stub!(test_integration_with_pool_optimizer); +stub!(test_integration_with_raw_pool); -- cgit v1.3.1