aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/package/locker_test.rs
blob: 7b5d39fc80d5ccb72310fa549483c8f8a2cbc75e (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
//! ref: composer/tests/Composer/Test/Package/LockerTest.php

// These construct a Locker with a mocked JsonFile/InstallationManager/repository and a
// mocked ProcessExecutor to drive lock read/write and freshness checks; mocking is not
// available here.
#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_is_locked() {
    todo!()
}

#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_get_not_locked_packages() {
    todo!()
}

#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_get_locked_packages() {
    todo!()
}

#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_set_lock_data() {
    todo!()
}

#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_lock_bad_packages() {
    todo!()
}

#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_is_fresh() {
    todo!()
}

#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_is_fresh_false() {
    todo!()
}

#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_is_fresh_with_content_hash() {
    todo!()
}

#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_is_fresh_with_content_hash_and_no_hash() {
    todo!()
}

#[test]
#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
fn test_is_fresh_false_with_content_hash() {
    todo!()
}