MCPcopy Create free account
hub / github.com/baidu/babylon / TEST_F

Function TEST_F

test/concurrent/test_garbage_collector.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37size_t GarbageCollectorTest::Reclaimer::times {0};
38
39TEST_F(GarbageCollectorTest, reclaim_if_no_accessor) {
40 gc.start();
41 gc.retire({});
42 gc.stop();
43 ASSERT_EQ(1, Reclaimer::times);
44}
45
46TEST_F(GarbageCollectorTest, wait_reclaim_on_destroy) {
47 {

Callers

nothing calls this directly

Calls 11

get_futureMethod · 0.80
create_accessorMethod · 0.80
wait_forMethod · 0.80
tickMethod · 0.80
set_valueMethod · 0.80
startMethod · 0.45
retireMethod · 0.45
stopMethod · 0.45
getMethod · 0.45
set_queue_capacityMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected