llvm/lldb/unittests/Host/FileSystemTest.cpp

//===-- FileSystemTest.cpp ------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#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;

// Modified from llvm/unittests/Support/VirtualFileSystemTest.cpp
namespace {
struct DummyFile : public vfs::File {};

class DummyFileSystem : public vfs::FileSystem {};
} // namespace

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) {}