From 8dd3d67884a204ca40e3364206868fea77a312be Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 25 Jun 2026 14:57:23 +0900 Subject: feat(test): add HttpDownloaderMock, IOStub, and Config stub helpers IOStub and ConfigStubBuilder provide getMockBuilder-style configurable stubs. Wired into util/repository/downloader/command test targets. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/downloader/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crates/shirabe/tests/downloader/main.rs') diff --git a/crates/shirabe/tests/downloader/main.rs b/crates/shirabe/tests/downloader/main.rs index 6e39b85..a2bbab4 100644 --- a/crates/shirabe/tests/downloader/main.rs +++ b/crates/shirabe/tests/downloader/main.rs @@ -1,3 +1,10 @@ +#[path = "../common/config_stub.rs"] +mod config_stub; +#[path = "../common/http_downloader_mock.rs"] +mod http_downloader_mock; +#[path = "../common/io_stub.rs"] +mod io_stub; + mod archive_downloader_test; mod download_manager_test; mod file_downloader_test; -- cgit v1.3.1