From d02e79c0cddd986a0b2cef878f32bda39cc2f5e9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 21 Jun 2026 04:30:31 +0900 Subject: test: port SecurityAdvisoryPoolFilter, downloader/command/app stubs All ignored/todo!(): the advisory filter parses affectedVersions via a look-around regex; the Hg/Fossil/Perforce/Archive downloaders and RepositoryManager need mocked process/HttpDownloader (curl); the Validate/ Archive commands, ApplicationTest and CompletionFunctionalTest need the ApplicationTester/console harness. setUp/tearDown not ported. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/application_test.rs | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'crates/shirabe/tests/application_test.rs') diff --git a/crates/shirabe/tests/application_test.rs b/crates/shirabe/tests/application_test.rs index 5f3e07c..8251310 100644 --- a/crates/shirabe/tests/application_test.rs +++ b/crates/shirabe/tests/application_test.rs @@ -1 +1,34 @@ //! ref: composer/tests/Composer/Test/ApplicationTest.php + +// These drive the console Application (doRun, getDisplay, plugin disabling, command +// resolution) via ApplicationTester, none of which are ported. + +#[test] +#[ignore = "requires the console Application/ApplicationTester harness, which is not yet ported"] +fn test_dev_warning() { + todo!() +} + +#[test] +#[ignore = "requires the console Application/ApplicationTester harness, which is not yet ported"] +fn test_dev_warning_suppressed_for_self_update() { + todo!() +} + +#[test] +#[ignore = "requires the console Application/ApplicationTester harness, which is not yet ported"] +fn test_process_isolation_works_multiple_times() { + todo!() +} + +#[test] +#[ignore = "requires the console Application/ApplicationTester harness, which is not yet ported"] +fn test_no_plugins_disables_plugins_when_script_commands_exist() { + todo!() +} + +#[test] +#[ignore = "requires the console Application/ApplicationTester harness, which is not yet ported"] +fn test_script_command_takes_priority_over_abbreviated_builtin_command() { + todo!() +} -- cgit v1.3.1