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

Method getAfterReplaceByteArrayByKey

tests/testmemcached.cpp:415–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 // **** Start testing get after replace byte array by key ****
414 C_ATTR(getAfterReplaceByteArrayByKey, :Local :AutoArgs)
415 void getAfterReplaceByteArrayByKey(Context *c)
416 {
417 Memcached::ReturnType rt;
418 const QByteArray ba1 = QByteArrayLiteral("Lorem ipsum 2");
419 const QByteArray ba2 = Memcached::getByKey("replaceGroup", "replace5", nullptr, &rt);
420 setValidity(c, ba1 == ba2);
421 }
422
423 // **** Start testing replace variant list by key valid ****
424 C_ATTR(replaceQVariantListValidByKey, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected