| 596 | // **** Start testing icrement with initial by key valid **** |
| 597 | C_ATTR(incrementWithInitialByKeyValid, :Local :AutoArgs) |
| 598 | void incrementWithInitialByKeyValid(Context *c) |
| 599 | { |
| 600 | const uint64_t initial = 10; |
| 601 | uint64_t val = 0; |
| 602 | if (!Memcached::incrementWithInitialByKey( |
| 603 | "incGroup", "inc3", 1, initial, std::chrono::seconds{10}, &val)) { |
| 604 | setInvalid(c); |
| 605 | } else { |
| 606 | setValidity(c, initial == val); |
| 607 | } |
| 608 | } |
| 609 | |
| 610 | // **** Start testing icrement with initial by key value available valid **** |
| 611 | C_ATTR(incrementWithInitialByKeyAvailableValid, :Local :AutoArgs) |
nothing calls this directly
no outgoing calls
no test coverage detected