diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-16 16:26:21 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-16 17:34:46 +0900 |
| commit | 494f79d0caf614325408d82d5c7a58f9e4396590 (patch) | |
| tree | 5e6256fe40b650b44660cb43232e4da4a6140c29 /crates/shirabe/tests/autoload/class_loader_test.rs | |
| parent | 7e7837a559310792dcf312e0c52857450ed781dc (diff) | |
| download | php-shirabe-494f79d0caf614325408d82d5c7a58f9e4396590.tar.gz php-shirabe-494f79d0caf614325408d82d5c7a58f9e4396590.tar.zst php-shirabe-494f79d0caf614325408d82d5c7a58f9e4396590.zip | |
test: correct stale #[ignore] reasons
Running the ignored tests shows several reasons naming a blocker the
test never reaches. The plugin hooks in all_functional_test do run, and
what stops both cases is the worker's Composer\InstalledVersions;
class_loader_test stops at include_file, not class_exists;
auth_helper_test's wrapper is ported and the blocker is trigger_error;
composerRequire is ported as __shirabe_composer_require.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/autoload/class_loader_test.rs')
| -rw-r--r-- | crates/shirabe/tests/autoload/class_loader_test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/tests/autoload/class_loader_test.rs b/crates/shirabe/tests/autoload/class_loader_test.rs index 00cda87d..6e0d46dd 100644 --- a/crates/shirabe/tests/autoload/class_loader_test.rs +++ b/crates/shirabe/tests/autoload/class_loader_test.rs @@ -13,7 +13,7 @@ fn get_load_class_tests() -> Vec<&'static str> { } #[test] -#[ignore = "shirabe_php_shim::class_exists models a fixed set of classes available in a PHP CLI environment; loadClass cannot add to it because including a PHP file does not define a class on the Rust side"] +#[ignore = "loadClass reaches shirabe_php_shim::include_file, which is a todo!(): evaluating a PHP source file needs an interpreter. class_exists also models a fixed set of classes that loading a file cannot extend"] fn test_load_class() { let fixtures = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) .join("../../composer/tests/Composer/Test/Autoload/Fixtures") |
