Lines Matching refs:test_action
95 TestASTFrontendAction test_action; in TEST() local
96 ASSERT_TRUE(compiler.ExecuteAction(test_action)); in TEST()
97 ASSERT_EQ(2U, test_action.decl_names.size()); in TEST()
98 EXPECT_EQ("main", test_action.decl_names[0]); in TEST()
99 EXPECT_EQ("x", test_action.decl_names[1]); in TEST()
115 TestASTFrontendAction test_action(/*enableIncrementalProcessing=*/true); in TEST() local
116 ASSERT_TRUE(compiler.ExecuteAction(test_action)); in TEST()
117 ASSERT_EQ(2U, test_action.decl_names.size()); in TEST()
118 EXPECT_EQ("main", test_action.decl_names[0]); in TEST()
119 EXPECT_EQ("x", test_action.decl_names[1]); in TEST()
142 TestASTFrontendAction test_action(/*enableIncrementalProcessing=*/true, in TEST() local
144 ASSERT_TRUE(compiler.ExecuteAction(test_action)); in TEST()
145 ASSERT_EQ(13U, test_action.decl_names.size()); in TEST()
146 EXPECT_EQ("A", test_action.decl_names[0]); in TEST()
147 EXPECT_EQ("c", test_action.decl_names[12]); in TEST()