diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-22 02:09:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-22 02:09:59 +0900 |
| commit | 822d9a872807a92a5337ee8b7bab96dc9845cdbb (patch) | |
| tree | 4931365df5978caffade69cad2154718a9076f66 /crates/shirabe/tests/package/locker_test.rs | |
| parent | f691b864b687f251c3b266e8cff2774d730567ba (diff) | |
| download | php-shirabe-822d9a872807a92a5337ee8b7bab96dc9845cdbb.tar.gz php-shirabe-822d9a872807a92a5337ee8b7bab96dc9845cdbb.tar.zst php-shirabe-822d9a872807a92a5337ee8b7bab96dc9845cdbb.zip | |
test: port more test cases
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/package/locker_test.rs')
| -rw-r--r-- | crates/shirabe/tests/package/locker_test.rs | 20 |
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!() } |
