From 27b73a9d4e27027bd34c0068989ce0609bdc6e9f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 21 Jun 2026 03:51:59 +0900 Subject: test: port ClassLoader/HttpDownloader/Reinstall command tests ClassLoader::getPrefixes verified; loadClass/serializability rely on PHP runtime class loading and serialize() (stubbed). HttpDownloader and Reinstall need curl/ApplicationTester (stubbed). Wires up the autoload test target. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/util/http_downloader_test.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'crates/shirabe/tests/util/http_downloader_test.rs') diff --git a/crates/shirabe/tests/util/http_downloader_test.rs b/crates/shirabe/tests/util/http_downloader_test.rs index e7fcb7b..238fe83 100644 --- a/crates/shirabe/tests/util/http_downloader_test.rs +++ b/crates/shirabe/tests/util/http_downloader_test.rs @@ -1 +1,13 @@ //! ref: composer/tests/Composer/Test/Util/HttpDownloaderTest.php + +#[test] +#[ignore = "constructs a real HttpDownloader (curl_multi_init is todo!()) and mocks a Config; performs a network request"] +fn test_capture_authentication_params_from_url() { + todo!() +} + +#[test] +#[ignore = "constructs a real HttpDownloader (curl_multi_init is todo!()) and mocks a Config; performs a network request"] +fn test_output_warnings() { + todo!() +} -- cgit v1.3.1