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

Function TEST

common/memory_test.cc:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43using ::testing::TestWithParam;
44
45TEST(Owner, None) {
46 EXPECT_THAT(Owner::None(), IsFalse());
47 EXPECT_THAT(Owner::None().arena(), IsNull());
48}
49
50TEST(Owner, Allocator) {
51 google::protobuf::Arena arena;

Callers

nothing calls this directly

Calls 7

ArenaFunction · 0.85
StrongUnrefFunction · 0.85
to_addressFunction · 0.85
AllocatorFunction · 0.70
ReferenceCountClass · 0.70
arenaMethod · 0.45
operator->Method · 0.45

Tested by

no test coverage detected