#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "lldb/Host/FileSystem.h"
#include "llvm/Support/Errc.h"
extern const char *TestMainArgv0;
usingnamespacelldb_private;
usingnamespacellvm;
UniqueID;
namespace {
struct DummyFile : public vfs::File { … };
class DummyFileSystem : public vfs::FileSystem { … };
}
TEST(FileSystemTest, FileAndDirectoryComponents) { … }
static IntrusiveRefCntPtr<DummyFileSystem> GetSimpleDummyFS() { … }
TEST(FileSystemTest, Exists) { … }
TEST(FileSystemTest, Readable) { … }
TEST(FileSystemTest, GetByteSize) { … }
TEST(FileSystemTest, GetPermissions) { … }
TEST(FileSystemTest, MakeAbsolute) { … }
TEST(FileSystemTest, Resolve) { … }
FileSystem::EnumerateDirectoryResult
VFSCallback(void *baton, llvm::sys::fs::file_type file_type,
llvm::StringRef path) { … }
TEST(FileSystemTest, EnumerateDirectory) { … }
TEST(FileSystemTest, OpenErrno) { … }
TEST(FileSystemTest, EmptyTest) { … }