Files
scylladb/tests/urchin/mutation_source_test.hh
Tomasz Grabiec 0f3588708e tests: Extract range query tests from sstable_mutation_test into mutation_source_test
The idea is to reuse the same testing code on any mutation_source, for
example on memtable.

The range query test cases are now part of a generic mutation_source
test suite.
2015-07-22 13:14:33 +02:00

13 lines
274 B
C++

/*
* Copyright 2015 Cloudius Systems
*/
#pragma once
#include "mutation_reader.hh"
using populate_fn = std::function<mutation_source(schema_ptr s, const std::vector<mutation>&)>;
// Must be run in a seastar thread
void run_mutation_source_tests(populate_fn populate);