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

Method SetCustomBindings

testing/testrunner/cel_test_context.h:120–124  ·  view source on GitHub ↗

Allows the runner to inject custom bindings.

Source from the content-addressed store, hash-verified

118
119 // Allows the runner to inject custom bindings.
120 void SetCustomBindings(
121 absl::flat_hash_map<std::string, cel::expr::Value>
122 custom_bindings) {
123 custom_bindings_ = std::move(custom_bindings);
124 }
125
126 // Allows the runner to inject a custom activation factory. If not set, an
127 // empty activation will be used. Custom bindings and test case inputs will

Callers 1

TEST_PFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected