aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/io
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-24 00:50:07 +0900
committernsfisis <nsfisis@gmail.com>2026-06-24 00:50:07 +0900
commit0ccb1a7740e63e4118c156f81aacf6381ae38464 (patch)
tree9087108ae74fd460c5f0f540405ce245bd9000a8 /crates/shirabe/tests/io
parent27c961ee7bee5c775e1902e59f74a9871d31321d (diff)
downloadphp-shirabe-0ccb1a7740e63e4118c156f81aacf6381ae38464.tar.gz
php-shirabe-0ccb1a7740e63e4118c156f81aacf6381ae38464.tar.zst
php-shirabe-0ccb1a7740e63e4118c156f81aacf6381ae38464.zip
feat(io): implement BufferIO new/get_output/set_user_inputs
Wire StreamOutput into BufferIO::new, retrieve the stream in get_output via downcast, and set the user input stream in set_user_inputs. Add as_streamable_mut to InputInterface (and ArgvInput) for mutable streamable access, and make StringInput implement StreamableInputInterface to match PHP, where StringInput is streamable via its Input ancestor. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/io')
-rw-r--r--crates/shirabe/tests/io/buffer_io_test.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/shirabe/tests/io/buffer_io_test.rs b/crates/shirabe/tests/io/buffer_io_test.rs
index 7205808..5bb1801 100644
--- a/crates/shirabe/tests/io/buffer_io_test.rs
+++ b/crates/shirabe/tests/io/buffer_io_test.rs
@@ -6,7 +6,6 @@ use shirabe_external_packages::symfony::console::output::output_interface::VERBO
use shirabe_php_shim::PhpMixed;
#[test]
-#[ignore]
fn test_set_user_inputs() {
let mut buffer_io = BufferIO::new(String::new(), VERBOSITY_NORMAL, None).unwrap();