#ifndef _WIN32
#include "ModulesBuilder.h"
#include "ScanningProjectModules.h"
#include "Annotations.h"
#include "CodeComplete.h"
#include "Compiler.h"
#include "TestTU.h"
#include "support/ThreadsafeFS.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/raw_ostream.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace clang::clangd {
namespace {
class MockDirectoryCompilationDatabase : public MockCompilationDatabase { … };
void MockDirectoryCompilationDatabase::addFile(llvm::StringRef Path,
llvm::StringRef Contents) { … }
class PrerequisiteModulesTests : public ::testing::Test { … };
TEST_F(PrerequisiteModulesTests, NonModularTest) { … }
TEST_F(PrerequisiteModulesTests, ModuleWithoutDepTest) { … }
TEST_F(PrerequisiteModulesTests, ModuleWithDepTest) { … }
TEST_F(PrerequisiteModulesTests, ReusabilityTest) { … }
TEST_F(PrerequisiteModulesTests, ParsedASTTest) { … }
TEST_F(PrerequisiteModulesTests, CodeCompleteTest) { … }
TEST_F(PrerequisiteModulesTests, SignatureHelpTest) { … }
}
}
#endif