Home | History | Annotate | Download | only in Dynamic

Lines Matching full:comps

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