Lines Matching defs:test_action
96 TestASTFrontendAction test_action;
97 ASSERT_TRUE(compiler.ExecuteAction(test_action));
98 ASSERT_EQ(2U, test_action.decl_names.size());
99 EXPECT_EQ("main", test_action.decl_names[0]);
100 EXPECT_EQ("x", test_action.decl_names[1]);
116 TestASTFrontendAction test_action(/*enableIncrementalProcessing=*/true);
117 ASSERT_TRUE(compiler.ExecuteAction(test_action));
118 ASSERT_EQ(2U, test_action.decl_names.size());
119 EXPECT_EQ("main", test_action.decl_names[0]);
120 EXPECT_EQ("x", test_action.decl_names[1]);
143 TestASTFrontendAction test_action(/*enableIncrementalProcessing=*/true,
145 ASSERT_TRUE(compiler.ExecuteAction(test_action));
146 ASSERT_EQ(13U, test_action.decl_names.size());
147 EXPECT_EQ("A", test_action.decl_names[0]);
148 EXPECT_EQ("c", test_action.decl_names[12]);