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/io/console_io_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/io/console_io_test.rs')
| -rw-r--r-- | crates/shirabe/tests/io/console_io_test.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crates/shirabe/tests/io/console_io_test.rs b/crates/shirabe/tests/io/console_io_test.rs index 62cb8322..36ea4382 100644 --- a/crates/shirabe/tests/io/console_io_test.rs +++ b/crates/shirabe/tests/io/console_io_test.rs @@ -109,12 +109,18 @@ fn test_write() { #[ignore = "PHP mocks ConsoleOutputInterface so getErrorOutput returns the same mock; a real ConsoleOutput's error StreamOutput writes to php://stderr, which cannot be read back, and the trait offers no seam to inject a BufferedOutput error sink"] #[test] fn test_write_error() { + // TODO(phase-d): PHP mocks ConsoleOutputInterface so getErrorOutput returns the same mock; a + // real ConsoleOutput's error StreamOutput writes to php://stderr, which cannot be read back, + // and the trait offers no seam to inject a BufferedOutput error sink. todo!() } #[ignore = "ConsoleIO::write3 takes a single &str; the test feeds a 2-element array ['First line','Second lines'] and asserts a per-element regex on the debugging-prefixed messages array, which the &str signature cannot represent"] #[test] fn test_write_with_multiple_line_string_when_debugging() { + // TODO(phase-d): ConsoleIO::write3 takes a single &str; the test feeds a 2-element array + // ['First line','Second lines'] and asserts a per-element regex on the debugging-prefixed + // messages array, which the &str signature cannot represent. todo!() } @@ -263,5 +269,8 @@ fn test_has_authentication() { #[ignore = "data provider includes malformed-UTF-8 inputs (e.g. \\xFF, \\xC3\\x28); sanitize() takes PhpMixed::String which is UTF-8-only and cannot carry invalid bytes, so those cases are unrepresentable"] #[test] fn test_sanitize() { + // TODO(phase-d): the data provider includes malformed-UTF-8 inputs (e.g. \xFF, \xC3\x28); + // sanitize() takes PhpMixed::String which is UTF-8-only and cannot carry invalid bytes, so + // those cases are unrepresentable. todo!() } |
