aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/package/locker_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/package/locker_test.rs')
-rw-r--r--crates/shirabe/tests/package/locker_test.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/crates/shirabe/tests/package/locker_test.rs b/crates/shirabe/tests/package/locker_test.rs
index 7b5d39f..c793a8a 100644
--- a/crates/shirabe/tests/package/locker_test.rs
+++ b/crates/shirabe/tests/package/locker_test.rs
@@ -4,61 +4,61 @@
// 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"]
+#[ignore = "requires PHPUnit mock of JsonFile (exists/read) which is not available"]
fn test_is_locked() {
todo!()
}
#[test]
-#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
+#[ignore = "requires PHPUnit mock of JsonFile (exists) which is not available"]
fn test_get_not_locked_packages() {
todo!()
}
#[test]
-#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
+#[ignore = "requires PHPUnit mock of JsonFile (exists/read) which is not available"]
fn test_get_locked_packages() {
todo!()
}
#[test]
-#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
+#[ignore = "requires PHPUnit mock of JsonFile (write) which is not available"]
fn test_set_lock_data() {
todo!()
}
#[test]
-#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
+#[ignore = "requires PHPUnit mock of JsonFile and PackageInterface (createPackageMock) which is not available"]
fn test_lock_bad_packages() {
todo!()
}
#[test]
-#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
+#[ignore = "requires PHPUnit mock of JsonFile (read) which is not available"]
fn test_is_fresh() {
todo!()
}
#[test]
-#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
+#[ignore = "requires PHPUnit mock of JsonFile (read) which is not available"]
fn test_is_fresh_false() {
todo!()
}
#[test]
-#[ignore = "mocks JsonFile/InstallationManager/repository/ProcessExecutor to drive Locker; mocking is not available"]
+#[ignore = "requires PHPUnit mock of JsonFile (read) which 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"]
+#[ignore = "requires PHPUnit mock of JsonFile (read) which 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"]
+#[ignore = "requires PHPUnit mock of JsonFile (read) which is not available"]
fn test_is_fresh_false_with_content_hash() {
todo!()
}