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

Function CreateTestRuntime

testing/testrunner/runner_lib_test.cc:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103absl::StatusOr<std::unique_ptr<const cel::Runtime>> CreateTestRuntime() {
104 CEL_ASSIGN_OR_RETURN(cel::RuntimeBuilder standard_runtime_builder,
105 cel::CreateStandardRuntimeBuilder(
106 cel::internal::GetTestingDescriptorPool(), {}));
107 return std::move(standard_runtime_builder).Build();
108}
109
110absl::StatusOr<std::unique_ptr<CelExpressionBuilder>>
111CreateTestCelExpressionBuilder() {

Callers

nothing calls this directly

Calls 1

BuildMethod · 0.45

Tested by

no test coverage detected