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

Method addByteArrayInvalid

tests/testmemcached.cpp:208–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 // *** Start testing adding QByteArray invalid ****
207 C_ATTR(addByteArrayInvalid, :Local :AutoArgs)
208 void addByteArrayInvalid(Context *c)
209 {
210 Memcached::ReturnType rt;
211 setValidity(
212 c,
213 Memcached::add("add1", QByteArrayLiteral("Lorem ipsum"), std::chrono::seconds{5}, &rt));
214 }
215
216 // *** Start testing get after adding QByteArray ****
217 C_ATTR(getAfterAddByteArray, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected