src/base/fuchsia/file_utils_unittest.cc
TEST_F(OpenDirectoryTest, OpenFile) {
  auto file_path = temp_dir.GetPath().AppendASCII("test_file");
  ASSERT_TRUE(WriteFile(file_path, "foo"));
  auto dir = OpenDirectoryHandle(file_path);
  ASSERT_FALSE(dir);
}
// OpenDirectoryHandle() should open only directories.
OpenDirectoryHandle() should open only directories.
OpenDirectoryHandle () should open only directories .
TEST_F(OpenDirectoryTest, OpenFile) {
  auto file_path = temp_dir.GetPath().AppendASCII("test_file");
  ASSERT_TRUE(WriteFile(file_path, "foo"));
  auto dir = OpenDirectoryHandle(file_path);
  ASSERT_FALSE(dir);
}
TEST_F ( OpenDirectoryTest , OpenFile ) { auto file_path = temp_dir . GetPath ( ) . AppendASCII ( " " ) ; ASSERT_TRUE ( WriteFile ( file_path , " " ) ) ; auto dir = OpenDirectoryHandle ( file_path ) ; ASSERT_FALSE ( dir ) ; }
OpenDirectoryHandle() should open only directories.
OpenDirectoryHandle () should open only directories .