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

Function TEST_P

common/internal/byte_string_test.cc:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120TEST_P(ByteStringTest, Default) {
121 ByteString byte_string = ByteString(GetAllocator(), "");
122 EXPECT_THAT(byte_string, SizeIs(0));
123 EXPECT_THAT(byte_string, IsEmpty());
124 EXPECT_EQ(GetKind(byte_string), ByteStringKind::kSmall);
125}
126
127TEST_P(ByteStringTest, ConstructSmallCString) {
128 ByteString byte_string = ByteString(GetAllocator(), GetSmallString().c_str());

Callers

nothing calls this directly

Calls 15

ByteStringFunction · 0.85
GetKindFunction · 0.85
GetSmallStringFunction · 0.85
GetSmallStringViewFunction · 0.85
GetMediumStringFunction · 0.85
GetMediumStringViewFunction · 0.85
GetSmallCordFunction · 0.85
NewDeleteAllocatorClass · 0.85
ArenaAllocatorClass · 0.85
LegacyByteStringFunction · 0.85
TryFlatMethod · 0.80
RemovePrefixMethod · 0.80

Tested by

no test coverage detected