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

Function TEST

common/ast_traverse_test.cc:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91};
92
93TEST(AstCrawlerTest, CheckCrawlConstant) {
94 MockAstVisitor handler;
95
96 Expr expr;
97 auto& const_expr = expr.mutable_const_expr();
98
99 EXPECT_CALL(handler, PostVisitConst(Ref(expr), Ref(const_expr))).Times(1);
100
101 AstTraverse(expr, handler);
102}
103
104TEST(AstCrawlerTest, CheckCrawlIdent) {
105 MockAstVisitor handler;

Callers

nothing calls this directly

Calls 6

mutable_valueMethod · 0.80
keyMethod · 0.80
IsDoneMethod · 0.80
AstTraverseFunction · 0.70
valueMethod · 0.45
StepMethod · 0.45

Tested by

no test coverage detected