aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/git_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-22 02:09:59 +0900
committernsfisis <nsfisis@gmail.com>2026-06-22 02:09:59 +0900
commit822d9a872807a92a5337ee8b7bab96dc9845cdbb (patch)
tree4931365df5978caffade69cad2154718a9076f66 /crates/shirabe/tests/util/git_test.rs
parentf691b864b687f251c3b266e8cff2774d730567ba (diff)
downloadphp-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/util/git_test.rs')
-rw-r--r--crates/shirabe/tests/util/git_test.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/shirabe/tests/util/git_test.rs b/crates/shirabe/tests/util/git_test.rs
index a78ae88..40ca9da 100644
--- a/crates/shirabe/tests/util/git_test.rs
+++ b/crates/shirabe/tests/util/git_test.rs
@@ -10,46 +10,46 @@ fn set_up() {
}
#[test]
-#[ignore = "mocks IO/Config/ProcessExecutor to drive Git; mocking is not available"]
+#[ignore = "requires mocked Config (getMockBuilder Config) and getProcessExecutorMock with expects() command expectations; no mocking infrastructure exists"]
fn test_run_command_public_git_hub_repository_not_initial_clone() {
todo!()
}
#[test]
-#[ignore = "mocks IO/Config/ProcessExecutor to drive Git; mocking is not available"]
+#[ignore = "requires mocked Config and getProcessExecutorMock with expects() command expectations; no mocking infrastructure exists"]
fn test_run_command_private_git_hub_repository_not_initial_clone_not_interactive_without_authentication()
{
todo!()
}
#[test]
-#[ignore = "mocks IO/Config/ProcessExecutor to drive Git; mocking is not available"]
+#[ignore = "requires getProcessExecutorMock and mocked IO (getMockBuilder IOInterface with hasAuthentication/getAuthentication/isInteractive expectations); no mocking infrastructure exists"]
fn test_run_command_private_git_hub_repository_not_initial_clone_not_interactive_with_authentication()
{
todo!()
}
#[test]
-#[ignore = "mocks IO/Config/ProcessExecutor to drive Git; mocking is not available"]
+#[ignore = "requires getProcessExecutorMock and mocked IO/Config (getMockBuilder with hasAuthentication/getAuthentication/isInteractive expectations); no mocking infrastructure exists"]
fn test_run_command_private_bitbucket_repository_not_initial_clone_not_interactive_with_authentication()
{
todo!()
}
#[test]
-#[ignore = "mocks IO/Config/ProcessExecutor to drive Git; mocking is not available"]
+#[ignore = "requires getProcessExecutorMock, getHttpDownloaderMock and mocked IO/Config with askConfirmation/askAndHideAnswer/setAuthentication expectations; no mocking infrastructure exists"]
fn test_run_command_private_bitbucket_repository_not_initial_clone_interactive_with_oauth() {
todo!()
}
#[test]
-#[ignore = "mocks IO/Config/ProcessExecutor to drive Git; mocking is not available"]
+#[ignore = "requires getProcessExecutorMock with expects() command expectations and mocked Config/Filesystem (getMockBuilder removeDirectory); no mocking infrastructure exists"]
fn test_sync_mirror_sanitizes_url_after_initial_clone() {
todo!()
}
#[test]
-#[ignore = "mocks IO/Config/ProcessExecutor to drive Git; mocking is not available"]
+#[ignore = "requires getProcessExecutorMock with expects() command expectations and mocked Config; no mocking infrastructure exists"]
fn test_sync_mirror_sanitizes_url_even_after_failed_update() {
todo!()
}