#include "TestingSupport/TestUtilities.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Target/PathMappingList.h"
#include "lldb/Utility/FileSpec.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FileUtilities.h"
#include "gtest/gtest.h"
#include <optional>
#include <utility>
usingnamespacellvm;
usingnamespacellvm::sys::fs;
usingnamespacelldb_private;
namespace {
struct Matches { … };
class FindFileTest : public testing::Test { … };
}
static void TestFileFindings(const PathMappingList &map,
llvm::ArrayRef<Matches> matches,
llvm::ArrayRef<FileSpec> fails) { … }
TEST_F(FindFileTest, FindFileTests) { … }