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

Method getAfterAddByteArrayByKey

tests/testmemcached.cpp:282–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 // *** Start testing get after adding QByteArray by key ****
281 C_ATTR(getAfterAddByteArrayByKey, :Local :AutoArgs)
282 void getAfterAddByteArrayByKey(Context *c)
283 {
284 Memcached::ReturnType rt;
285 const QByteArray ba1 = Memcached::getByKey("addGroup", "add3", nullptr, &rt);
286 const QByteArray ba2 = QByteArrayLiteral("Lorem ipsum");
287 setValidity(c, ba1 == ba2);
288 }
289
290 // **** Start testing adding QVariantList by key valid ****
291 C_ATTR(addQVariantListValidByKey, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected