Flutter Engine
The Flutter Engine
|
#include <cstring>
#include <memory>
#include <vector>
#include "flutter/fml/build_config.h"
#include "flutter/fml/file.h"
#include "flutter/fml/mapping.h"
#include "flutter/fml/paths.h"
#include "flutter/fml/unique_fd.h"
#include "gtest/gtest.h"
Go to the source code of this file.
Functions | |
static bool | WriteStringToFile (const fml::UniqueFD &fd, const std::string &contents) |
static std::string | ReadStringFromFile (const fml::UniqueFD &fd) |
TEST (FileTest, CreateTemporaryAndUnlink) | |
TEST (FileTest, ScopedTempDirIsValid) | |
TEST (FileTest, CanOpenFileForWriting) | |
TEST (FileTest, CanTruncateAndWrite) | |
TEST (FileTest, CreateDirectoryStructure) | |
TEST (FileTest, VisitFilesCanBeCalledTwice) | |
TEST (FileTest, CanListFilesRecursively) | |
TEST (FileTest, CanStopVisitEarly) | |
TEST (FileTest, AtomicWriteTest) | |
TEST (FileTest, IgnoreBaseDirWhenPathIsAbsolute) | |
TEST (FileTest, EmptyMappingTest) | |
TEST (FileTest, MappingDontNeedSafeTest) | |
TEST (FileTest, FileTestsWork) | |
TEST (FileTest, FileTestsSupportsUnicode) | |
|
static |
Definition at line 35 of file file_unittest.cc.
TEST | ( | FileTest | , |
AtomicWriteTest | |||
) |
Definition at line 236 of file file_unittest.cc.
TEST | ( | FileTest | , |
CanListFilesRecursively | |||
) |
Definition at line 168 of file file_unittest.cc.
TEST | ( | FileTest | , |
CanOpenFileForWriting | |||
) |
Definition at line 61 of file file_unittest.cc.
TEST | ( | FileTest | , |
CanStopVisitEarly | |||
) |
Definition at line 209 of file file_unittest.cc.
TEST | ( | FileTest | , |
CanTruncateAndWrite | |||
) |
Definition at line 72 of file file_unittest.cc.
TEST | ( | FileTest | , |
CreateDirectoryStructure | |||
) |
Definition at line 112 of file file_unittest.cc.
TEST | ( | FileTest | , |
CreateTemporaryAndUnlink | |||
) |
Definition at line 46 of file file_unittest.cc.
TEST | ( | FileTest | , |
EmptyMappingTest | |||
) |
Definition at line 283 of file file_unittest.cc.
TEST | ( | FileTest | , |
FileTestsSupportsUnicode | |||
) |
Definition at line 343 of file file_unittest.cc.
TEST | ( | FileTest | , |
FileTestsWork | |||
) |
Definition at line 329 of file file_unittest.cc.
TEST | ( | FileTest | , |
IgnoreBaseDirWhenPathIsAbsolute | |||
) |
Definition at line 256 of file file_unittest.cc.
TEST | ( | FileTest | , |
MappingDontNeedSafeTest | |||
) |
Definition at line 299 of file file_unittest.cc.
TEST | ( | FileTest | , |
ScopedTempDirIsValid | |||
) |
Definition at line 56 of file file_unittest.cc.
TEST | ( | FileTest | , |
VisitFilesCanBeCalledTwice | |||
) |
Definition at line 141 of file file_unittest.cc.
|
static |
Definition at line 16 of file file_unittest.cc.