//===- InMemoryModuleCacheTest.cpp - InMemoryModuleCache tests ------------===// // // 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 "clang/Serialization/InMemoryModuleCache.h" #include "llvm/Support/MemoryBuffer.h" #include "gtest/gtest.h" usingnamespacellvm; usingnamespaceclang; namespace { std::unique_ptr<MemoryBuffer> getBuffer(int I) { … } TEST(InMemoryModuleCacheTest, initialState) { … } TEST(InMemoryModuleCacheTest, addPCM) { … } TEST(InMemoryModuleCacheTest, addBuiltPCM) { … } TEST(InMemoryModuleCacheTest, tryToDropPCM) { … } TEST(InMemoryModuleCacheTest, finalizePCM) { … } } // namespace