MCPcopy Create free account
hub / github.com/apache/arrow / AssertNotExists

Function AssertNotExists

cpp/src/arrow/util/io_util_test.cc:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void AssertNotExists(const PlatformFilename& path) {
68 bool exists = true;
69 ASSERT_OK_AND_ASSIGN(exists, FileExists(path));
70 ASSERT_FALSE(exists) << "Path '" << path.ToString() << "' exists";
71}
72
73void TouchFile(const PlatformFilename& path) {
74 ASSERT_OK_AND_ASSIGN(FileDescriptor fd, FileOpenWritable(path));

Callers 1

TESTFunction · 0.85

Calls 3

ASSERT_OK_AND_ASSIGNFunction · 0.70
FileExistsFunction · 0.70
ToStringMethod · 0.45

Tested by

no test coverage detected