• Home
  • Raw
  • Download

Lines Matching refs:Rebuilder

694         Rebuilder(&Target, &Source, /*Threads=*/10) {  in BackgroundIndexRebuilderTest()
723 BackgroundIndexRebuilder Rebuilder; member in clang::clangd::BackgroundIndexRebuilderTest
730 for (unsigned I = 0; I < Rebuilder.TUsBeforeFirstBuild - 1; ++I) in TEST_F()
731 EXPECT_FALSE(checkRebuild([&] { Rebuilder.indexedTU(); })); in TEST_F()
732 EXPECT_TRUE(checkRebuild([&] { Rebuilder.indexedTU(); })); in TEST_F()
733 for (unsigned I = 0; I < Rebuilder.TUsBeforeRebuild - 1; ++I) in TEST_F()
734 EXPECT_FALSE(checkRebuild([&] { Rebuilder.indexedTU(); })); in TEST_F()
735 EXPECT_TRUE(checkRebuild([&] { Rebuilder.indexedTU(); })); in TEST_F()
739 Rebuilder.startLoading(); in TEST_F()
740 Rebuilder.loadedShard(10); in TEST_F()
741 Rebuilder.loadedShard(20); in TEST_F()
742 EXPECT_TRUE(checkRebuild([&] { Rebuilder.doneLoading(); })); in TEST_F()
745 Rebuilder.startLoading(); in TEST_F()
746 EXPECT_FALSE(checkRebuild([&] { Rebuilder.doneLoading(); })); in TEST_F()
749 Rebuilder.startLoading(); in TEST_F()
750 Rebuilder.loadedShard(1); in TEST_F()
751 Rebuilder.startLoading(); in TEST_F()
752 Rebuilder.loadedShard(1); in TEST_F()
753 EXPECT_FALSE(checkRebuild([&] { Rebuilder.doneLoading(); })); in TEST_F()
754 Rebuilder.loadedShard(1); in TEST_F()
755 EXPECT_TRUE(checkRebuild([&] { Rebuilder.doneLoading(); })); in TEST_F()
758 Rebuilder.startLoading(); in TEST_F()
759 for (unsigned I = 0; I < 3 * Rebuilder.TUsBeforeRebuild; ++I) in TEST_F()
760 EXPECT_FALSE(checkRebuild([&] { Rebuilder.indexedTU(); })); in TEST_F()
762 EXPECT_TRUE(checkRebuild([&] { Rebuilder.doneLoading(); })); in TEST_F()