diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-24 00:49:13 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-24 00:50:12 +0900 |
| commit | bb6254e2007c809d76fde09f06d276f50bba84ed (patch) | |
| tree | 16e794bed7785b4214d7aa81b199de363ce27d70 /crates/shirabe/src/util/config_validator.rs | |
| parent | 0ccb1a7740e63e4118c156f81aacf6381ae38464 (diff) | |
| download | php-shirabe-bb6254e2007c809d76fde09f06d276f50bba84ed.tar.gz php-shirabe-bb6254e2007c809d76fde09f06d276f50bba84ed.tar.zst php-shirabe-bb6254e2007c809d76fde09f06d276f50bba84ed.zip | |
test(io): add IOMock test helper porting Composer's IOMock
Port composer/tests/Composer/Test/Mock/IOMock.php as a BufferIO-backed
mock with expects()/assert_complete(), authentication logging, and a Drop
guard mirroring TestCase::getIOMock + tearDown. This is the infrastructure
many IO-consuming tests need; wiring existing #[ignore] tests onto it is a
follow-up, gated on making BufferIO::get_output's look-behind regex
regex-crate compatible.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util/config_validator.rs')
0 files changed, 0 insertions, 0 deletions
