| 318 | // **** Start testing replace byte array valid **** |
| 319 | C_ATTR(replaceByteArrayValid, :Local :AutoArgs) |
| 320 | void replaceByteArrayValid(Context *c) |
| 321 | { |
| 322 | Memcached::set("replace1", QByteArrayLiteral("Lorem ipsum"), std::chrono::seconds{5}); |
| 323 | Memcached::ReturnType rt; |
| 324 | setValidity( |
| 325 | c, |
| 326 | Memcached::replace( |
| 327 | "replace1", QByteArrayLiteral("Lorem ipsum 2"), std::chrono::seconds{5}, &rt)); |
| 328 | } |
| 329 | |
| 330 | // **** Start testing replace byte array invalid **** |
| 331 | C_ATTR(replaceByteArrayInvalid, :Local :AutoArgs) |