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

Method directRemoveValid

tests/testmemcached.cpp:464–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462 // **** Start testing direct remove valid ****
463 C_ATTR(directRemoveValid, :Local :AutoArgs)
464 void directRemoveValid(Context *c)
465 {
466 Memcached::set("rem1", QByteArrayLiteral("Lorem ipsum"), 300);
467 Memcached::ReturnType rt;
468 setValidity(c, Memcached::remove("rem1", &rt));
469 }
470
471 // **** Start testing direct remove invalid ****
472 C_ATTR(directRemoveInvalid, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

setFunction · 0.85

Tested by

no test coverage detected