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

Function CreateTestCelExpressionBuilder

testing/testrunner/runner_lib_test.cc:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110absl::StatusOr<std::unique_ptr<CelExpressionBuilder>>
111CreateTestCelExpressionBuilder() {
112 auto builder = google::api::expr::runtime::CreateCelExpressionBuilder();
113 CEL_RETURN_IF_ERROR(google::api::expr::runtime::RegisterBuiltinFunctions(
114 builder->GetRegistry()));
115 return builder;
116}
117
118// Creates a static, singleton instance of the basic compiler to be shared
119// across tests, avoiding repeated setup costs.

Callers 2

CreateTestContextMethod · 0.85
TESTFunction · 0.85

Calls 3

RegisterBuiltinFunctionsFunction · 0.85
GetRegistryMethod · 0.80

Tested by

no test coverage detected