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

Method addByteArrayValidByKey

tests/testmemcached.cpp:256–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254 // **** Start testing adding QByteArray by key valid ****
255 C_ATTR(addByteArrayValidByKey, :Local :AutoArgs)
256 void addByteArrayValidByKey(Context *c)
257 {
258 Memcached::ReturnType rt;
259 setValidity(c,
260 Memcached::addByKey("addGroup",
261 "add3",
262 QByteArrayLiteral("Lorem ipsum"),
263 std::chrono::seconds{5},
264 &rt));
265 }
266
267 // *** Start testing adding QByteArray by key invalid ****
268 C_ATTR(addByteArrayInvalidByKey, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected