| 385 | // **** Start testing replace byte array by key valid **** |
| 386 | C_ATTR(replaceByteArrayValidByKey, :Local :AutoArgs) |
| 387 | void replaceByteArrayValidByKey(Context *c) |
| 388 | { |
| 389 | Memcached::setByKey( |
| 390 | "replaceGroup", "replace5", QByteArrayLiteral("Lorem ipsum"), std::chrono::seconds{5}); |
| 391 | Memcached::ReturnType rt; |
| 392 | setValidity(c, |
| 393 | Memcached::replaceByKey("replaceGroup", |
| 394 | "replace5", |
| 395 | QByteArrayLiteral("Lorem ipsum 2"), |
| 396 | std::chrono::seconds{5}, |
| 397 | &rt)); |
| 398 | } |
| 399 | |
| 400 | // **** Start testing replace byte array by key invalid **** |
| 401 | C_ATTR(replaceByteArrayInvalidByKey, :Local :AutoArgs) |
nothing calls this directly
no outgoing calls
no test coverage detected