| 138 | }; |
| 139 | |
| 140 | TEST(AstCrawlerTest, CheckCrawlConstant) { |
| 141 | SourceInfo source_info; |
| 142 | MockAstRewriter handler; |
| 143 | |
| 144 | Expr expr; |
| 145 | auto const_expr = expr.mutable_const_expr(); |
| 146 | |
| 147 | EXPECT_CALL(handler, PostVisitConst(const_expr, &expr, _)).Times(1); |
| 148 | |
| 149 | AstRewrite(&expr, &source_info, &handler); |
| 150 | } |
| 151 | |
| 152 | TEST(AstCrawlerTest, CheckCrawlIdent) { |
| 153 | SourceInfo source_info; |
nothing calls this directly
no test coverage detected