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

Function TEST_F

runtime/activation_test.cc:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75using ActivationTest = common_internal::ValueTest<>;
76
77TEST_F(ActivationTest, ValueNotFound) {
78 Activation activation;
79
80 EXPECT_THAT(activation.FindVariable("var1", descriptor_pool(),
81 message_factory(), arena()),
82 IsOkAndHolds(Eq(absl::nullopt)));
83}
84
85TEST_F(ActivationTest, InsertValue) {
86 Activation activation;

Callers

nothing calls this directly

Calls 14

AttributePatternClass · 0.85
AttributeClass · 0.85
FunctionDescriptorClass · 0.85
InsertOrAssignValueMethod · 0.80
SetUnknownPatternsMethod · 0.80
SetMissingPatternsMethod · 0.80
IntValueClass · 0.50
FindVariableMethod · 0.45
GetUnknownAttributesMethod · 0.45
GetMissingAttributesMethod · 0.45
InsertFunctionMethod · 0.45

Tested by

no test coverage detected