| 42 | } |
| 43 | |
| 44 | std::string ReadAllText_(const fs::path& path) |
| 45 | { |
| 46 | std::ifstream file{ path, std::ios::binary }; |
| 47 | if (!file) { |
| 48 | return {}; |
| 49 | } |
| 50 | return std::string{ std::istreambuf_iterator<char>{ file }, std::istreambuf_iterator<char>{} }; |
| 51 | } |
| 52 | |
| 53 | bool WaitForLogContains_(const fs::path& path, const std::string& needle, std::chrono::milliseconds timeout) |
| 54 | { |
no outgoing calls
no test coverage detected