#include "Annotations.h"
#include "SyncAPI.h"
#include "TestIndex.h"
#include "TestTU.h"
#include "index/FileIndex.h"
#include "index/Index.h"
#include "index/MemIndex.h"
#include "index/Merge.h"
#include "index/Symbol.h"
#include "clang/Index/IndexSymbol.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <utility>
_;
AllOf;
ElementsAre;
IsEmpty;
Pair;
Pointee;
UnorderedElementsAre;
namespace clang {
namespace clangd {
namespace {
MATCHER_P(named, N, "") { … }
MATCHER_P(refRange, Range, "") { … }
MATCHER_P(fileURI, F, "") { … }
TEST(SymbolLocation, Position) { … }
TEST(SymbolSlab, FindAndIterate) { … }
TEST(RelationSlab, Lookup) { … }
TEST(RelationSlab, Duplicates) { … }
TEST(SwapIndexTest, OldIndexRecycled) { … }
TEST(MemIndexTest, MemIndexDeduplicate) { … }
TEST(MemIndexTest, MemIndexLimitedNumMatches) { … }
TEST(MemIndexTest, FuzzyMatch) { … }
TEST(MemIndexTest, MatchQualifiedNamesWithoutSpecificScope) { … }
TEST(MemIndexTest, MatchQualifiedNamesWithGlobalScope) { … }
TEST(MemIndexTest, MatchQualifiedNamesWithOneScope) { … }
TEST(MemIndexTest, MatchQualifiedNamesWithMultipleScopes) { … }
TEST(MemIndexTest, NoMatchNestedScopes) { … }
TEST(MemIndexTest, IgnoreCases) { … }
TEST(MemIndexTest, Lookup) { … }
TEST(MemIndexTest, IndexedFiles) { … }
TEST(MemIndexTest, TemplateSpecialization) { … }
TEST(MergeIndexTest, Lookup) { … }
TEST(MergeIndexTest, LookupRemovedDefinition) { … }
TEST(MergeIndexTest, FuzzyFind) { … }
TEST(MergeIndexTest, FuzzyFindRemovedSymbol) { … }
TEST(MergeTest, Merge) { … }
TEST(MergeTest, PreferSymbolWithDefn) { … }
TEST(MergeTest, PreferSymbolLocationInCodegenFile) { … }
TEST(MergeIndexTest, Refs) { … }
TEST(MergeIndexTest, IndexedFiles) { … }
TEST(MergeIndexTest, NonDocumentation) { … }
MATCHER_P2(IncludeHeaderWithRef, IncludeHeader, References, "") { … }
TEST(MergeTest, MergeIncludesOnDifferentDefinitions) { … }
TEST(MergeIndexTest, IncludeHeadersMerged) { … }
}
}
}