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

Method SetExpressionSource

testing/testrunner/cel_test_context.h:109–112  ·  view source on GitHub ↗

Allows the runner to inject the expression source parsed from command-line flags.

Source from the content-addressed store, hash-verified

107 // Allows the runner to inject the expression source
108 // parsed from command-line flags.
109 void SetExpressionSource(CelExpressionSource source) {
110 expression_source_ =
111 std::make_unique<CelExpressionSource>(std::move(source));
112 }
113
114 // Allows the runner to inject an optional CEL compiler.
115 void SetCompiler(std::unique_ptr<const cel::Compiler> compiler) {

Callers 5

TEST_PFunction · 0.80
TESTFunction · 0.80
simple.ccFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected