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

Function AddFatalFailure

internal/testing.cc:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace cel::internal {
20
21void AddFatalFailure(const char* file, int line, absl::string_view expression,
22 const StatusBuilder& builder) {
23 GTEST_MESSAGE_AT_(file, line,
24 absl::StrCat(expression, " returned error: ",
25 absl::Status(builder).ToString(
26 absl::StatusToStringMode::kWithEverything))
27 .c_str(),
28 ::testing::TestPartResult::kFatalFailure);
29}
30
31} // namespace cel::internal

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected