• Home
  • Raw
  • Download

Lines Matching refs:FooCpp

235   auto FooCpp = testPath("foo.cpp");  in TEST()  local
238 FS.Files[FooCpp] = SourceContents; in TEST()
240 Server.addDocument(FooCpp, SourceContents); in TEST()
242 auto DumpParse1 = dumpASTWithoutMemoryLocs(Server, FooCpp); in TEST()
245 Server.addDocument(FooCpp, ""); in TEST()
247 auto DumpParseEmpty = dumpASTWithoutMemoryLocs(Server, FooCpp); in TEST()
250 Server.addDocument(FooCpp, SourceContents); in TEST()
252 auto DumpParse2 = dumpASTWithoutMemoryLocs(Server, FooCpp); in TEST()
270 auto FooCpp = testPath("foo.cpp"); in TEST() local
274 FS.Files[FooCpp] = SourceContents; in TEST()
276 Server.addDocument(FooCpp, SourceContents); in TEST()
278 auto DumpParse1 = dumpASTWithoutMemoryLocs(Server, FooCpp); in TEST()
282 Server.addDocument(FooCpp, SourceContents); in TEST()
284 auto DumpParseDifferent = dumpASTWithoutMemoryLocs(Server, FooCpp); in TEST()
288 Server.addDocument(FooCpp, SourceContents); in TEST()
290 auto DumpParse2 = dumpASTWithoutMemoryLocs(Server, FooCpp); in TEST()
420 auto FooCpp = testPath("foo.cpp"); in TEST() local
425 FS.Files[FooCpp] = SourceContents; in TEST()
427 runAddDocument(Server, FooCpp, SourceContents); in TEST()
434 runAddDocument(Server, FooCpp, SourceContentsWithError); in TEST()
445 auto FooCpp = testPath("foo.cpp"); in TEST() local
455 FS.Files[FooCpp] = ""; in TEST()
459 runAddDocument(Server, FooCpp, SourceContents1); in TEST()
461 runAddDocument(Server, FooCpp, SourceContents2); in TEST()
466 runAddDocument(Server, FooCpp, SourceContents2); in TEST()
469 runAddDocument(Server, FooCpp, SourceContents1); in TEST()
471 runAddDocument(Server, FooCpp, SourceContents2); in TEST()
481 auto FooCpp = testPath("foo.cpp"); in TEST() local
489 FS.Files[FooCpp] = ""; in TEST()
493 runAddDocument(Server, FooCpp, SourceContents); in TEST()
498 runAddDocument(Server, FooCpp, SourceContents); in TEST()
502 runAddDocument(Server, FooCpp, SourceContents); in TEST()
533 auto FooCpp = testPath("foo.cpp"); in TEST() local
537 FS.Files[FooCpp] = ""; in TEST()
542 Server.addDocument(FooCpp, FooSource.code()); in TEST()
548 UnorderedElementsAre(Pair(FooCpp, false), Pair(BarCpp, true), in TEST()
551 auto Locations = runLocateSymbolAt(Server, FooCpp, FooSource.point()); in TEST()
553 EXPECT_THAT(*Locations, ElementsAre(DeclAt(FooCpp, FooSource.range("one")))); in TEST()
559 Server.addDocument(FooCpp, FooSource.code()); in TEST()
564 UnorderedElementsAre(Pair(FooCpp, false), Pair(BarCpp, false))); in TEST()
566 Locations = runLocateSymbolAt(Server, FooCpp, FooSource.point()); in TEST()
568 EXPECT_THAT(*Locations, ElementsAre(DeclAt(FooCpp, FooSource.range("two")))); in TEST()
585 Path FooCpp = testPath("foo.cpp"); in TEST() local
593 FS.Files[FooCpp] = ""; in TEST()
598 Server.addDocument(FooCpp, SourceContents); in TEST()
603 UnorderedElementsAre(Stats(FooCpp, true, 1, 1), in TEST()
606 Server.removeDocument(FooCpp); in TEST()
622 auto FooCpp = testPath("foo.cpp"); in TEST() local
626 CDB.ExtraClangFlags.push_back(FooCpp); in TEST()
629 runAddDocument(Server, FooCpp, "int main() {}"); in TEST()
631 EXPECT_EQ(dumpAST(Server, FooCpp), "<no-ast>"); in TEST()
632 EXPECT_ERROR(runLocateSymbolAt(Server, FooCpp, Position())); in TEST()
633 EXPECT_ERROR(runFindDocumentHighlights(Server, FooCpp, Position())); in TEST()
634 EXPECT_ERROR(runRename(Server, FooCpp, Position(), "new_name", in TEST()
636 EXPECT_ERROR(runSignatureHelp(Server, FooCpp, Position())); in TEST()
638 EXPECT_THAT(cantFail(runCodeComplete(Server, FooCpp, Position(), in TEST()
908 auto FooCpp = testPath("foo.cpp"); in TEST() local
910 FS.Files[FooCpp] = ""; in TEST()
918 Server.addDocument(FooCpp, SourceContentsWithErrors); in TEST()
920 Server.addDocument(FooCpp, SourceContentsWithoutErrors); in TEST()
1066 auto FooCpp = testPath("foo.cpp"); in TEST() local
1073 FS.Files[FooCpp] = FooCpp; in TEST()
1080 Server.addDocument(FooCpp, Code.code()); in TEST()
1082 auto Res = cantFail(runCodeComplete(Server, FooCpp, Code.point(), Opts)); in TEST()
1091 Server.addDocument(FooCpp, Code.code()); in TEST()
1094 cantFail(runCodeComplete(Server, FooCpp, Code.point(), Opts)).Completions, in TEST()
1101 cantFail(runCodeComplete(Server, FooCpp, Code.point(), Opts)).Completions, in TEST()
1137 auto FooCpp = testPath("foo.cpp"); in TEST() local
1144 FS.Files[FooCpp] = FooCpp; in TEST()
1145 Server.addDocument(FooCpp, Code.code()); in TEST()
1153 auto Res = cantFail(runCodeComplete(Server, FooCpp, Code.point(), Opts)); in TEST()
1158 EXPECT_THAT(cantFail(runCodeComplete(Server, FooCpp, Code.point(), in TEST()
1194 auto FooCpp = testPath("foo.cpp"); in TEST() local
1195 FS.Files[FooCpp] = SourceContents; in TEST()
1197 Server.addDocument(FooCpp, SourceContents); in TEST()
1251 auto FooCpp = testPath("foo.cpp"); in TEST() local
1252 Server.addDocument(FooCpp, ""); in TEST()
1259 EXPECT_TRUE(MT.child("tuscheduler").children().count(FooCpp)); in TEST()