diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-11 20:09:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-16 01:02:47 +0900 |
| commit | 6f55caac4e6e55661305311174e31ec2b0e375b6 (patch) | |
| tree | 7ae39ecfd175ccda96e970db348f00d0c6dc7c1a /crates/shirabe/tests/command/run_script_command_test.rs | |
| parent | da751367b50ec4c680aa5f45d3ce0d192d647dbb (diff) | |
| download | php-shirabe-6f55caac4e6e55661305311174e31ec2b0e375b6.tar.gz php-shirabe-6f55caac4e6e55661305311174e31ec2b0e375b6.tar.zst php-shirabe-6f55caac4e6e55661305311174e31ec2b0e375b6.zip | |
test: update TODO reason for unported test cases
No test logic changes.
Diffstat (limited to 'crates/shirabe/tests/command/run_script_command_test.rs')
| -rw-r--r-- | crates/shirabe/tests/command/run_script_command_test.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crates/shirabe/tests/command/run_script_command_test.rs b/crates/shirabe/tests/command/run_script_command_test.rs index 75cf6786..71747a4c 100644 --- a/crates/shirabe/tests/command/run_script_command_test.rs +++ b/crates/shirabe/tests/command/run_script_command_test.rs @@ -16,6 +16,12 @@ use shirabe_php_shim::PhpMixed; Reaching it would require adding as_any to EventInterface, i.e. a src change, which is \ forbidden here -- so the faithful body is currently inexpressible and is left as todo!()."] fn test_detect_and_pass_dev_mode_to_event_and_to_dispatching() { + // TODO(phase-d): PHP asserts the ScriptEvent passed to hasEventListeners has isDevMode() == + // (dev || !no_dev), but EventInterface (src/event_dispatcher/event.rs:49) has no as_any/downcast + // seam, so a trait object cannot reach the concrete ScriptEvent::is_dev_mode + // (src/script/event.rs:51). Reaching it would require adding as_any to EventInterface, i.e. a + // src change, which is forbidden here -- so the faithful body is currently inexpressible and is + // left as todo!(). todo!() } @@ -119,11 +125,17 @@ fn test_can_define_aliases() { #[test] #[ignore = "requires writing and executing a PHP-generated Symfony Command class (file_put_contents MyCommand.php) loaded via composer autoload; fundamentally unportable, no PHP runtime command loading in shirabe"] fn test_execution_of_simple_symfony_command() { + // TODO(phase-d): requires writing and executing a PHP-generated Symfony Command class + // (file_put_contents MyCommand.php) loaded via composer autoload; fundamentally unportable, no + // PHP runtime command loading in shirabe. todo!() } #[test] #[ignore = "requires writing and executing a PHP-generated Symfony Command class (file_put_contents MyCommandWithDefinitions.php) loaded via composer autoload; fundamentally unportable, no PHP runtime command loading in shirabe"] fn test_execution_of_symfony_command_with_configuration() { + // TODO(phase-d): requires writing and executing a PHP-generated Symfony Command class + // (file_put_contents MyCommandWithDefinitions.php) loaded via composer autoload; fundamentally + // unportable, no PHP runtime command loading in shirabe. todo!() } |
