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

Method addByteArrayValid

tests/testmemcached.cpp:198–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 // **** Start testing adding QByteArray valid ****
197 C_ATTR(addByteArrayValid, :Local :AutoArgs)
198 void addByteArrayValid(Context *c)
199 {
200 Memcached::ReturnType rt;
201 setValidity(
202 c,
203 Memcached::add("add1", QByteArrayLiteral("Lorem ipsum"), std::chrono::seconds{5}, &rt));
204 }
205
206 // *** Start testing adding QByteArray invalid ****
207 C_ATTR(addByteArrayInvalid, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected