MCPcopy Create free account
hub / github.com/chromium/crashpad / CreateFile

Function CreateFile

client/ios_handler/in_process_handler_test.cc:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace {
26
27bool CreateFile(const base::FilePath& file) {
28 ScopedFileHandle fd(LoggingOpenFileForWrite(
29 file, FileWriteMode::kCreateOrFail, FilePermissions::kOwnerOnly));
30 EXPECT_TRUE(fd.is_valid());
31 return fd.is_valid();
32}
33
34class InProcessHandlerTest : public testing::Test {
35 protected:

Callers 2

CreateFilesMethod · 0.70
CreateMethod · 0.50

Calls 2

LoggingOpenFileForWriteFunction · 0.50
is_validMethod · 0.45

Tested by

no test coverage detected