Searched refs:MustBeFresh (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/support/ |
D | FileCacheTests.cpp | 61 auto MustBeFresh = StaleOK + std::chrono::hours(1); in TEST() local 66 EXPECT_EQ("a", C.get(MustBeFresh, /*ExpectParse=*/false)) << "Cached (stat)"; in TEST() 69 EXPECT_EQ("bb", C.get(MustBeFresh, /*ExpectParse=*/true)) << "Size changed"; in TEST() 70 EXPECT_EQ("bb", C.get(MustBeFresh, /*ExpectParse=*/true)) << "Cached (stat)"; in TEST() 73 EXPECT_EQ("", C.get(MustBeFresh, /*ExpectParse=*/true)) << "Stat failed"; in TEST() 74 EXPECT_EQ("", C.get(MustBeFresh, /*ExpectParse=*/false)) << "Cached (404)"; in TEST() 77 EXPECT_EQ("bb", C.get(MustBeFresh, /*ExpectParse=*/true)) << "Size changed"; in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ConfigProviderTests.cpp | 172 Params MustBeFresh; in TEST() local 173 MustBeFresh.FreshTime = StartTime + std::chrono::hours(1); in TEST() 192 Cfg = P->getConfig(MustBeFresh, Diags.callback()); in TEST()
|