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

Method setEmptyKey

tests/testmemcached.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 // **** Start testing set empty key ****
92 C_ATTR(setEmptyKey, :Local :AutoArgs)
93 void setEmptyKey(Context *c)
94 {
95 Memcached::ReturnType rt;
96 setValidity(c, Memcached::set({}, QByteArray(), std::chrono::seconds{5}, &rt));
97 }
98
99 // **** Start testing setting too long key ****
100 C_ATTR(setTooLongKey, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

setFunction · 0.85

Tested by

no test coverage detected