MCPcopy Create free account
hub / github.com/facebook/CacheLib / TYPED_TEST

Function TYPED_TEST

cachelib/interface/tests/InterfaceTest.cpp:295–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293TYPED_TEST_SUITE(HandleTest, HandleTypes);
294
295TYPED_TEST(HandleTest, basic) {
296 auto* item = this->template makeItem<TypeParam>();
297 {
298 auto handle = ASSERT_OK(tryCreateHandle<TypeParam>(this->cache_, *item));
299 this->checkItemFields(handle);
300 }
301 this->template checkReleased<TypeParam>(item, /* removedFromCache */ false);
302}
303
304TYPED_TEST(HandleTest, move) {
305 auto* item = this->template makeItem<TypeParam>();

Callers

nothing calls this directly

Calls 1

checkItemFieldsMethod · 0.80

Tested by

no test coverage detected