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

Method replaceByteArrayInvalidByKey

tests/testmemcached.cpp:402–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 // **** Start testing replace byte array by key invalid ****
401 C_ATTR(replaceByteArrayInvalidByKey, :Local :AutoArgs)
402 void replaceByteArrayInvalidByKey(Context *c)
403 {
404 Memcached::ReturnType rt;
405 setValidity(c,
406 Memcached::replaceByKey("replaceGroup",
407 "replace6",
408 QByteArrayLiteral("Lorem ipsum 2"),
409 std::chrono::seconds{5},
410 &rt));
411 }
412
413 // **** Start testing get after replace byte array by key ****
414 C_ATTR(getAfterReplaceByteArrayByKey, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected