aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/downloader/file_downloader_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/downloader/file_downloader_test.rs')
-rw-r--r--crates/shirabe/tests/downloader/file_downloader_test.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/shirabe/tests/downloader/file_downloader_test.rs b/crates/shirabe/tests/downloader/file_downloader_test.rs
index 4e9cbc6..6e123e1 100644
--- a/crates/shirabe/tests/downloader/file_downloader_test.rs
+++ b/crates/shirabe/tests/downloader/file_downloader_test.rs
@@ -1,5 +1,10 @@
//! ref: composer/tests/Composer/Test/Downloader/FileDownloaderTest.php
+fn set_up() {
+ // The HttpDownloader mock (disableOriginalConstructor) is not ported.
+ todo!()
+}
+
// These construct a FileDownloader with a mocked IO/HttpDownloader (curl_multi_init todo!())
// and a mocked Cache/Package to drive download/checksum behaviour.
macro_rules! stub {
@@ -7,6 +12,7 @@ macro_rules! stub {
#[test]
#[ignore = "mocks IO/HttpDownloader (curl_multi_init todo!()) and Cache/Package"]
fn $name() {
+ set_up();
todo!()
}
};