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

Method existValid

tests/testmemcached.cpp:516–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514 // **** Start testing exist valid ****
515 C_ATTR(existValid, :Local :AutoArgs)
516 void existValid(Context *c)
517 {
518 Memcached::set("exist1", QByteArrayLiteral("Lorem ipsum"), 10);
519 setValidity(c, Memcached::exist("exist1"));
520 }
521
522 // **** Start testing exist invalid ****
523 C_ATTR(existInvalid, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

setFunction · 0.85

Tested by

no test coverage detected