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

Method replaceByteArrayInvalid

tests/testmemcached.cpp:332–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330 // **** Start testing replace byte array invalid ****
331 C_ATTR(replaceByteArrayInvalid, :Local :AutoArgs)
332 void replaceByteArrayInvalid(Context *c)
333 {
334 Memcached::ReturnType rt;
335 setValidity(
336 c,
337 Memcached::replace(
338 "replace2", QByteArrayLiteral("Lorem ipsum 2"), std::chrono::seconds{5}, &rt));
339 }
340
341 // **** Start testing get after replace byte array ****
342 C_ATTR(getAfterReplaceByteArray, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected