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

Function TEST

common/ast/metadata_test.cc:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28using ::testing::ElementsAre;
29
30TEST(AstTest, ListTypeSpecMutableConstruction) {
31 ListTypeSpec type;
32 type.mutable_elem_type() = TypeSpec(PrimitiveType::kBool);
33 EXPECT_EQ(absl::get<PrimitiveType>(type.elem_type().type_kind()),
34 PrimitiveType::kBool);
35}
36
37TEST(AstTest, MapTypeSpecMutableConstruction) {
38 MapTypeSpec type;

Callers

nothing calls this directly

Calls 15

TypeSpecClass · 0.85
MapTypeSpecClass · 0.85
FunctionTypeSpecClass · 0.85
ListTypeSpecClass · 0.85
NullTypeSpecClass · 0.85
MessageTypeSpecClass · 0.85
ParamTypeSpecClass · 0.85
ErrorTypeSpecEnum · 0.85
AbstractTypeClass · 0.85
ConstantClass · 0.85
ExtensionSpecClass · 0.85
nullMethod · 0.80

Tested by

no test coverage detected