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

Method getAfterDirectRemoveByKey

tests/testmemcached.cpp:507–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505 // **** Start testing get after direct remove by key ****
506 C_ATTR(getAfterDirectRemoveByKey, :Local :AutoArgs)
507 void getAfterDirectRemoveByKey(Context *c)
508 {
509 const QByteArray ba1 = QByteArrayLiteral("Lorem ipsum");
510 const QByteArray ba2 = Memcached::getByKey("remGroup", "rem3");
511 setValidity(c, ba1 == ba2);
512 }
513
514 // **** Start testing exist valid ****
515 C_ATTR(existValid, :Local :AutoArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected