| 530 | } |
| 531 | static void DoMutateByKey(BasicTest& basic_tests) { basic_tests.RunMutateByKey(); } |
| 532 | void RunMutateNoKey() { |
| 533 | using B = BatchesWithSchema; |
| 534 | RunBatches([this](B l_batches, B r0_batches, B r1_batches, B exp_nokey_batches, |
| 535 | B exp_emptykey_batches, B exp_batches) { |
| 536 | ASSERT_OK_AND_ASSIGN(l_batches, MutateByKey(l_batches, "key", "key2", true)); |
| 537 | ASSERT_OK_AND_ASSIGN(r0_batches, MutateByKey(r0_batches, "key", "key2", true)); |
| 538 | ASSERT_OK_AND_ASSIGN(r1_batches, MutateByKey(r1_batches, "key", "key2", true)); |
| 539 | ASSERT_OK_AND_ASSIGN(exp_nokey_batches, |
| 540 | MutateByKey(exp_nokey_batches, "key", "key2", true)); |
| 541 | CheckRunOutput(l_batches, r0_batches, r1_batches, exp_nokey_batches, "time", "key2", |
| 542 | tolerance); |
| 543 | }); |
| 544 | } |
| 545 | static void DoMutateNoKey(BasicTest& basic_tests) { basic_tests.RunMutateNoKey(); } |
| 546 | void RunMutateNullKey() { |
| 547 | using B = BatchesWithSchema; |
nothing calls this directly
no test coverage detected