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

Method getAfterAddByteArray

tests/testmemcached.cpp:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 // *** Start testing get after adding QByteArray ****
217 C_ATTR(getAfterAddByteArray, :Local :AutoArgs)
218 void getAfterAddByteArray(Context *c)
219 {
220 Memcached::ReturnType rt;
221 const QByteArray ba1 = Memcached::get("add1", nullptr, &rt);
222 const QByteArray ba2 = QByteArrayLiteral("Lorem ipsum");
223 setValidity(c, ba1 == ba2);
224 }
225
226 // **** Start testing adding QVariantList valid ****
227 C_ATTR(addQVariantListValid, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected