aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/downloader/archive_downloader_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/downloader/archive_downloader_test.rs')
-rw-r--r--crates/shirabe/tests/downloader/archive_downloader_test.rs40
1 files changed, 40 insertions, 0 deletions
diff --git a/crates/shirabe/tests/downloader/archive_downloader_test.rs b/crates/shirabe/tests/downloader/archive_downloader_test.rs
index 54ac321..2c0e2de 100644
--- a/crates/shirabe/tests/downloader/archive_downloader_test.rs
+++ b/crates/shirabe/tests/downloader/archive_downloader_test.rs
@@ -1 +1,41 @@
//! ref: composer/tests/Composer/Test/Downloader/ArchiveDownloaderTest.php
+
+// These exercise getFileName/processUrl on an anonymous ArchiveDownloader subclass built
+// with a mocked IO and a real HttpDownloader (curl_multi_init is todo!()), and pass mocked
+// packages.
+
+#[test]
+#[ignore = "constructs an ArchiveDownloader (HttpDownloader reaches curl_multi_init, todo!()) with a mocked subclass/package"]
+fn test_get_file_name() {
+ todo!()
+}
+
+#[test]
+#[ignore = "constructs an ArchiveDownloader (HttpDownloader reaches curl_multi_init, todo!()) with a mocked subclass/package"]
+fn test_process_url() {
+ todo!()
+}
+
+#[test]
+#[ignore = "constructs an ArchiveDownloader (HttpDownloader reaches curl_multi_init, todo!()) with a mocked subclass/package"]
+fn test_process_url2() {
+ todo!()
+}
+
+#[test]
+#[ignore = "constructs an ArchiveDownloader (HttpDownloader reaches curl_multi_init, todo!()) with a mocked subclass/package"]
+fn test_process_url3() {
+ todo!()
+}
+
+#[test]
+#[ignore = "constructs an ArchiveDownloader (HttpDownloader reaches curl_multi_init, todo!()) with a mocked subclass/package"]
+fn test_process_url_rewrite_dist() {
+ todo!()
+}
+
+#[test]
+#[ignore = "constructs an ArchiveDownloader (HttpDownloader reaches curl_multi_init, todo!()) with a mocked subclass/package"]
+fn test_process_url_rewrite_bitbucket_dist() {
+ todo!()
+}