Lines Matching refs:Has
83 Matcher<const std::vector<CodeCompletion> &> Has(std::string Name) { in Has() function
86 Matcher<const std::vector<CodeCompletion> &> Has(std::string Name, in Has() function
255 AllOf(Has("FooBar"), Has("FooBaz"), Not(Has("Qux")))); in TEST()
262 AllOf(Has("Car"), Not(Has("MotorCar")), Not(Has("MotorCarIndex")))); in TEST()
264 AllOf(Has("MotorCar"), Has("MotorCarIndex"))); in TEST()
303 AllOf(Has("method"), Has("field"), Not(Has("ClassWithMembers")), in testAfterDotCompletion()
304 Not(Has("operator=")), Not(Has("~ClassWithMembers")))); in testAfterDotCompletion()
306 Has("private_field")); in testAfterDotCompletion()
310 Not(AnyOf(Has("global_var"), Has("index_var"), Has("global_func"), in testAfterDotCompletion()
311 Has("global_func()"), Has("index_func"), Has("GlobalClass"), in testAfterDotCompletion()
312 Has("IndexClass"), Has("MACRO"), Has("LocalClass")))); in testAfterDotCompletion()
352 Not(AnyOf(Has("method"), Has("method()"), Has("field")))); in testGlobalScopeCompletion()
355 AllOf(Has("global_var"), Has("index_var"), Has("global_func"), in testGlobalScopeCompletion()
356 Has("index_func" /* our fake symbol doesn't include () */), in testGlobalScopeCompletion()
357 Has("GlobalClass"), Has("IndexClass"))); in testGlobalScopeCompletion()
359 EXPECT_IFF(Opts.IncludeMacros, Results.Completions, Has("MACRO")); in testGlobalScopeCompletion()
362 AllOf(Has("local_var"), Has("LocalClass"), in testGlobalScopeCompletion()
401 AllOf(Has("priv"), Has("prot"), Has("pub"))); in TEST()
415 AllOf(Has("pub"), Not(Has("prot")), Not(Has("priv")))); in TEST()
442 Not(Has("X"))); in TEST()
444 Not(Has("X"))); in TEST()
447 Has("X")); in TEST()
450 Has("Y")); in TEST()
455 Has("Y")); in TEST()
458 Has("X")); in TEST()
540 AllOf(Has("function", CompletionItemKind::Function), in TEST()
541 Has("variable", CompletionItemKind::Variable), in TEST()
542 Has("int", CompletionItemKind::Keyword), in TEST()
543 Has("Struct", CompletionItemKind::Struct), in TEST()
544 Has("MACRO", CompletionItemKind::Text), in TEST()
545 Has("indexFunction", CompletionItemKind::Function), in TEST()
546 Has("indexVariable", CompletionItemKind::Variable), in TEST()
547 Has("indexClass", CompletionItemKind::Class))); in TEST()
551 Has("namespace", CompletionItemKind::Snippet)); in TEST()
683 AllOf(Has("XYZ", CompletionItemKind::Class), in TEST()
684 Has("f", CompletionItemKind::Function))); in TEST()
695 AllOf(Has("XYZ", CompletionItemKind::Class), in TEST()
696 Has("bar", CompletionItemKind::Function))); in TEST()
900 EXPECT_THAT(Results.Completions, Has("XYZ", CompletionItemKind::Class)); in TEST()
901 EXPECT_THAT(Results.Completions, Has("foo", CompletionItemKind::Function)); in TEST()
902 EXPECT_THAT(Results.Completions, Has("XXX", CompletionItemKind::Class)); in TEST()
2539 AllOf(Has("sub/", CompletionItemKind::Folder), in TEST()
2540 Has("bar.h\"", CompletionItemKind::File))); in TEST()