| 541 | // **** Start testing icrement with initial value valid **** |
| 542 | C_ATTR(incrementWithInitialValid, :Local :AutoArgs) |
| 543 | void incrementWithInitialValid(Context *c) |
| 544 | { |
| 545 | const uint64_t initial = 10; |
| 546 | uint64_t val = 0; |
| 547 | if (!Memcached::incrementWithInitial("inc1", 1, initial, std::chrono::seconds{10}, &val)) { |
| 548 | setInvalid(c); |
| 549 | } else { |
| 550 | setValidity(c, initial == val); |
| 551 | } |
| 552 | } |
| 553 | |
| 554 | // **** Start testing icrement with initial value available valid **** |
| 555 | C_ATTR(incrementWithInitialAvailableValid, :Local :AutoArgs) |
nothing calls this directly
no outgoing calls
no test coverage detected