diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-21 03:47:19 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-21 03:47:19 +0900 |
| commit | 41c80058ad57143b2ab23d2eb241983627de9da1 (patch) | |
| tree | 408cd7c8a4a853e744c8159e6743f7044edb3f20 /crates/shirabe/tests/command | |
| parent | 0e92f06a6a6e327f83966e36c3d884eba12b4192 (diff) | |
| download | php-shirabe-41c80058ad57143b2ab23d2eb241983627de9da1.tar.gz php-shirabe-41c80058ad57143b2ab23d2eb241983627de9da1.tar.zst php-shirabe-41c80058ad57143b2ab23d2eb241983627de9da1.zip | |
test: port Documentation/Xz/Audit/ErrorHandler/PharArchiver tests as stubs
All ignored/todo!(): they need infrastructure not yet ported (console
Application, HttpDownloader/curl, ApplicationTester, PHP runtime error
handler, PharData/ZipArchive). Wires up the downloader test target.
setUp/tearDown not ported.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/command')
| -rw-r--r-- | crates/shirabe/tests/command/audit_command_test.rs | 24 | ||||
| -rw-r--r-- | crates/shirabe/tests/command/main.rs | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/crates/shirabe/tests/command/audit_command_test.rs b/crates/shirabe/tests/command/audit_command_test.rs index fd18db1..4972793 100644 --- a/crates/shirabe/tests/command/audit_command_test.rs +++ b/crates/shirabe/tests/command/audit_command_test.rs @@ -1 +1,25 @@ //! ref: composer/tests/Composer/Test/Command/AuditCommandTest.php + +#[test] +#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"] +fn test_successful_response_code_when_no_packages_are_required() { + todo!() +} + +#[test] +#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"] +fn test_error_auditing_lock_file_when_it_is_missing() { + todo!() +} + +#[test] +#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"] +fn test_audit_package_with_no_security_vulnerabilities() { + todo!() +} + +#[test] +#[ignore = "requires the ApplicationTester/initTempComposer harness, which is not yet ported"] +fn test_audit_package_with_no_dev_option_passed() { + todo!() +} diff --git a/crates/shirabe/tests/command/main.rs b/crates/shirabe/tests/command/main.rs index f8aef08..fd40768 100644 --- a/crates/shirabe/tests/command/main.rs +++ b/crates/shirabe/tests/command/main.rs @@ -1,4 +1,5 @@ mod about_command_test; +mod audit_command_test; mod clear_cache_command_test; mod diagnose_command_test; mod exec_command_test; |
