tests/flat_mutation_reader_assertions: add produces(dht::decorated_key)

There is an equivalent member function in mutation_reader assertions.
This commit is contained in:
Paweł Dziepak
2017-11-30 14:12:22 +00:00
parent 28caa76c8c
commit d2dfca458f

View File

@@ -145,6 +145,12 @@ public:
return *this;
}
flat_reader_assertions& produces(const dht::decorated_key& dk) {
produces_partition_start(dk);
next_partition();
return *this;
}
flat_reader_assertions& fast_forward_to(const dht::partition_range& pr) {
_pr = pr;
_reader.fast_forward_to(_pr).get();