• Home
  • Raw
  • Download

Lines Matching refs:IndexFile

48 void checkNodesAreInitialized(const IndexFileIn &IndexFile,  in checkNodesAreInitialized()  argument
50 ASSERT_TRUE(IndexFile.Sources); in checkNodesAreInitialized()
51 EXPECT_THAT(Paths.size(), IndexFile.Sources->size()); in checkNodesAreInitialized()
54 const auto &Node = IndexFile.Sources->lookup(URI); in checkNodesAreInitialized()
56 EXPECT_EQ(Node.URI.data(), IndexFile.Sources->find(URI)->getKeyData()); in checkNodesAreInitialized()
74 IndexFileIn IndexFile; local
79 Opts, [&](SymbolSlab S) { IndexFile.Symbols = std::move(S); }, in __anon7e85be7d0202()
80 [&](RefSlab R) { IndexFile.Refs = std::move(R); }, in __anon7e85be7d0302()
81 [&](RelationSlab R) { IndexFile.Relations = std::move(R); }, in __anon7e85be7d0402()
82 [&](IncludeGraph IG) { IndexFile.Sources = std::move(IG); }); in __anon7e85be7d0502()
96 checkNodesAreInitialized(IndexFile, FilePaths);
97 return IndexFile;
124 IndexFileIn IndexFile = runIndexingAction(MainFilePath); in TEST_F() local
125 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
153 IndexFileIn IndexFile = runIndexingAction(MainFilePath); in TEST_F() local
154 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
188 IndexFileIn IndexFile = runIndexingAction(MainFilePath); in TEST_F() local
189 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
220 IndexFileIn IndexFile = runIndexingAction(MainFilePath); in TEST_F() local
221 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
247 IndexFileIn IndexFile = runIndexingAction( in TEST_F() local
249 ASSERT_TRUE(IndexFile.Sources); in TEST_F()
250 ASSERT_NE(0u, IndexFile.Sources->size()); in TEST_F()
251 EXPECT_THAT(*IndexFile.Symbols, ElementsAre(HasName("foo"), HasName("bar"))); in TEST_F()
275 IndexFileIn IndexFile = runIndexingAction(MainFilePath, {"-std=c++14"}); in TEST_F() local
276 EXPECT_THAT(*IndexFile.Symbols, in TEST_F()
279 for (const auto &Pair : *IndexFile.Refs) in TEST_F()