MCPcopy Create free account
hub / github.com/cutelyst/cutelyst / directRemoveValidByKey

Method directRemoveValidByKey

tests/testmemcached.cpp:490–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 // **** Start testing direct remove by key valid ****
489 C_ATTR(directRemoveValidByKey, :Local :AutoArgs)
490 void directRemoveValidByKey(Context *c)
491 {
492 Memcached::setByKey("remGroup", "rem3", QByteArrayLiteral("Lorem ipsum"), 300);
493 Memcached::ReturnType rt;
494 setValidity(c, Memcached::removeByKey("remGroup", "rem3", &rt));
495 }
496
497 // **** Start testing direct remove by key invalid ****
498 C_ATTR(directRemoveInvalidByKey, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected