| 108 | // **** Start testing setting byte array by key **** |
| 109 | C_ATTR(setByteArrayByKey, :Local :AutoArgs) |
| 110 | void setByteArrayByKey(Context *c) |
| 111 | { |
| 112 | auto in = getKeyVal(c); |
| 113 | Memcached::ReturnType rt; |
| 114 | if (Memcached::setByKey( |
| 115 | "myLittleGroup", in.first, in.second.toUtf8(), std::chrono::seconds{5}, &rt)) { |
| 116 | setValid(c); |
| 117 | } else { |
| 118 | setRt(c, rt); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | // **** Start testing getting byte array by key **** |
| 123 | C_ATTR(getByteArrayByKey, :Local :AutoArgs) |
nothing calls this directly
no outgoing calls
no test coverage detected