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

Function TEST_F

common/values/error_value_test.cc:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32using ErrorValueTest = common_internal::ValueTest<>;
33
34TEST_F(ErrorValueTest, Default) {
35 ErrorValue value;
36 EXPECT_THAT(value.NativeValue(), StatusIs(absl::StatusCode::kUnknown));
37}
38
39TEST_F(ErrorValueTest, OkStatus) {
40 EXPECT_DEBUG_DEATH(static_cast<void>(ErrorValue(absl::OkStatus())), _);

Callers

nothing calls this directly

Calls 7

ErrorValueFunction · 0.85
OfFunction · 0.85
ValueClass · 0.70
NativeValueMethod · 0.45
kindMethod · 0.45
SerializeToMethod · 0.45
ConvertToJsonMethod · 0.45

Tested by

no test coverage detected