//===-- FileCacheTests.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 "support/FileCache.h" #include "TestFS.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include <chrono> #include <optional> #include <utility> namespace clang { namespace clangd { namespace config { namespace { class TestCache : public FileCache { … }; MATCHER_P(Parsed, Value, "") { … } MATCHER_P(Cached, Value, "") { … } TEST(FileCacheTest, Invalidation) { … } } // namespace } // namespace config } // namespace clangd } // namespace clang