| 462 | |
| 463 | protected: |
| 464 | static std::shared_ptr<io::InputStream> MakeTestStream(std::string str) { |
| 465 | auto buffer = Buffer::FromString(std::move(str)); |
| 466 | return std::make_shared<io::BufferReader>(std::move(buffer)); |
| 467 | } |
| 468 | // Stream with simulated latency |
| 469 | static std::shared_ptr<io::InputStream> MakeTestStream(std::string str, |
| 470 | double latency) { |
nothing calls this directly
no test coverage detected