llvm/clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp

//===--------------- PrerequisiteModulesTests.cpp -------------------*- C++
//-*-===//
//
// 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
//
//===----------------------------------------------------------------------===//

/// FIXME: Skip testing on windows temporarily due to the different escaping
/// code mode.
#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 {};

// Add files to the working testing directory and the compilation database.
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) {}

// An End-to-End test for modules.
TEST_F(PrerequisiteModulesTests, ParsedASTTest) {}

// An end to end test for code complete in modules
TEST_F(PrerequisiteModulesTests, CodeCompleteTest) {}

TEST_F(PrerequisiteModulesTests, SignatureHelpTest) {}

} // namespace
} // namespace clang::clangd

#endif