| 355 | } |
| 356 | |
| 357 | static std::string RandomLine(int lineno, int width, RNG& rng) { |
| 358 | auto line = std::to_string(lineno) + ": "; |
| 359 | line += RandomChars(width - static_cast<int>(line.size()) - 1, rng); |
| 360 | line += '\n'; |
| 361 | return line; |
| 362 | } |
| 363 | }; |
| 364 | |
| 365 | class TestGeneric : public ::testing::Test, public GenericFileSystemTest { |