aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/remote_filesystem_test.rs
blob: 1fc9f7e52c0c145f676c465519ecffd38604d6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
//! ref: composer/tests/Composer/Test/Util/RemoteFilesystemTest.php

// These mock IO/Config/HttpDownloader and use reflection to drive RemoteFilesystem option
// building and downloads; mocking/reflection are not available and a real HttpDownloader
// reaches curl_multi_init (todo!()).
#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_get_options_for_url() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_get_options_for_url_with_authorization() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_get_options_for_url_with_stream_options() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_get_options_for_url_with_call_options_keeps_header() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_callback_get_file_size() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_callback_get_notify_progress() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_callback_get_passes_through404() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_get_contents() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_copy() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_copy_with_no_retry_on_failure() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_copy_with_success_on_retry() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_get_options_for_url_creates_secure_tls_defaults() {
    todo!()
}

#[test]
#[ignore = "mocks IO/Config/HttpDownloader (curl_multi_init todo!()) and uses reflection; not ported"]
fn test_bit_bucket_public_download() {
    todo!()
}