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/command/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crates/shirabe/tests/command') diff --git a/crates/shirabe/tests/command/main.rs b/crates/shirabe/tests/command/main.rs index 78345fe..13efc0d 100644 --- a/crates/shirabe/tests/command/main.rs +++ b/crates/shirabe/tests/command/main.rs @@ -1,3 +1,9 @@ +#[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; #[path = "../common/test_case.rs"] mod test_case; -- cgit v1.3.1