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

Function CreateTestRuntime

testing/testrunner/coverage_index_test.cc:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50using ::cel::expr::CheckedExpr;
51
52absl::StatusOr<std::unique_ptr<const cel::Runtime>> CreateTestRuntime() {
53 CEL_ASSIGN_OR_RETURN(cel::RuntimeBuilder standard_runtime_builder,
54 cel::CreateStandardRuntimeBuilder(
55 cel::internal::GetTestingDescriptorPool(), {}));
56 return std::move(standard_runtime_builder).Build();
57}
58
59TEST(CoverageIndexTest, RecordCoverageWithErrorDoesNotCrash) {
60 ASSERT_OK_AND_ASSIGN(

Callers

nothing calls this directly

Calls 1

BuildMethod · 0.45

Tested by

no test coverage detected