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

Method mgetByKeyVariantValid

tests/testmemcached.cpp:937–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935 // **** Start testing mget by key variant valid
936 C_ATTR(mgetByKeyVariantValid, :Local :AutoArgs)
937 void mgetByKeyVariantValid(Context *c)
938 {
939 const auto h1 = getTestHashList("vald");
940 for (const auto &[key, value] : h1.asKeyValueRange()) {
941 Memcached::setByKey("mgetGroup", key, value, 1min);
942 }
943 const auto h2 = Memcached::mgetByKey<QVariantList>("mgetGroup", h1.keys());
944 setValidity(c, h1 == h2);
945 }
946
947 // **** Start testing flush
948 C_ATTR(flush, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected