MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / TEST

Function TEST

eval/public/ast_rewrite_test.cc:140–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138};
139
140TEST(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
152TEST(AstCrawlerTest, CheckCrawlIdent) {
153 SourceInfo source_info;

Callers

nothing calls this directly

Calls 8

EqualsProtoFunction · 0.85
mutable_valueMethod · 0.80
set_fieldMethod · 0.80
source_infoMethod · 0.80
AstRewriteFunction · 0.70
valueMethod · 0.45
set_nameMethod · 0.45
exprMethod · 0.45

Tested by

no test coverage detected