From 6f55caac4e6e55661305311174e31ec2b0e375b6 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 11 Jul 2026 20:09:27 +0900 Subject: test: update TODO reason for unported test cases No test logic changes. --- crates/shirabe/tests/autoload/class_loader_test.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'crates/shirabe/tests/autoload/class_loader_test.rs') diff --git a/crates/shirabe/tests/autoload/class_loader_test.rs b/crates/shirabe/tests/autoload/class_loader_test.rs index 66cc3e8a..582e24fa 100644 --- a/crates/shirabe/tests/autoload/class_loader_test.rs +++ b/crates/shirabe/tests/autoload/class_loader_test.rs @@ -2,12 +2,11 @@ use shirabe::autoload::class_loader::ClassLoader; -// In PHP, loadClass() includes the matching .php fixture and the assertion checks -// class_exists(). There is no equivalent runtime notion of loading and defining a -// class in Rust, so this case cannot be ported faithfully. #[test] #[ignore = "depends on PHP runtime class_exists() to verify loadClass defined a class; no Rust equivalent"] fn test_load_class() { + // TODO(phase-d): loadClass() include()s a fixture and PHPUnit asserts via class_exists(); + // Rust has no equivalent of runtime class definition/loading. todo!() } @@ -17,10 +16,10 @@ fn test_get_prefixes_with_no_psr0_configuration() { assert!(loader.get_prefixes().is_empty()); } -// In PHP this serializes the loader and unserializes it, then compares every getter. -// PHP serialize()/unserialize() has no Rust equivalent here. #[test] #[ignore = "depends on PHP serialize()/unserialize() round-trip of ClassLoader; no Rust equivalent"] fn test_serializability() { + // TODO(phase-d): serializes/unserializes the ClassLoader and compares every getter; PHP + // serialize()/unserialize() has no Rust equivalent here. todo!() } -- cgit v1.3.1