| 345 | } |
| 346 | |
| 347 | void TestInvalidPathFromUri(const std::string& uri, const std::string& expected_err) { |
| 348 | // Legitimate URI for the wrong filesystem |
| 349 | LocalFileSystem lfs; |
| 350 | ASSERT_THAT(lfs.PathFromUri(uri), |
| 351 | Raises(StatusCode::Invalid, testing::HasSubstr(expected_err))); |
| 352 | } |
| 353 | |
| 354 | void CheckConcreteFile(const std::string& path, int64_t expected_size) { |
| 355 | ASSERT_OK_AND_ASSIGN(auto fn, PlatformFilename::FromString(path)); |
nothing calls this directly
no test coverage detected