Lines Matching refs:Comps
280 std::vector<MatcherCompletion> Comps = in TEST() local
282 ASSERT_EQ(1u, Comps.size()); in TEST()
283 EXPECT_EQ("Stmt(", Comps[0].TypedText); in TEST()
285 Comps[0].MatcherDecl); in TEST()
287 Comps = Parser::completeExpression("whileStmt().", 12); in TEST()
288 ASSERT_EQ(1u, Comps.size()); in TEST()
289 EXPECT_EQ("bind(\"", Comps[0].TypedText); in TEST()
290 EXPECT_EQ("bind", Comps[0].MatcherDecl); in TEST()
297 std::vector<MatcherCompletion> Comps = in TEST() local
299 ASSERT_EQ(1u, Comps.size()); in TEST()
300 EXPECT_EQ("nameX", Comps[0].TypedText); in TEST()
301 EXPECT_EQ("String nameX", Comps[0].MatcherDecl); in TEST()
305 Comps = Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues); in TEST()
306 EXPECT_LT(0u, Comps.size()); in TEST()
310 Comps = Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues); in TEST()
311 ASSERT_EQ(3u, Comps.size()); in TEST()
312 EXPECT_EQ("aramA", Comps[0].TypedText); in TEST()
313 EXPECT_EQ("Matcher<FunctionDecl> hasParamA", Comps[0].MatcherDecl); in TEST()
315 EXPECT_EQ("arameter(", Comps[1].TypedText); in TEST()
318 Comps[1].MatcherDecl); in TEST()
320 EXPECT_EQ("arent(", Comps[2].TypedText); in TEST()
324 Comps[2].MatcherDecl); in TEST()