Crate keyvaluedb_shared_tests
source ·Expand description
Shared tests for keyvaluedb functionality, to be executed against actual implementations.
Constants
- The number of columns required to run
test_delete_prefix. - The number of columns required to run
test_io_stats.
Functions
- A complex test.
- A test for
KeyValueDB::getand delete with transaction. - A test for
KeyValueDB::getand delete without transaction. - A test for
KeyValueDB::delete_prefix. - A test for
KeyValueDB::get. Assumes thedbhas only 1 column. - A test for
KeyValueDB::io_stats. Assumes that thedbhas at least 3 columns. - A test for
KeyValueDB::iter. - A test for
KeyValueDB::iter_keys. - A test for
KeyValueDB::iterwith a prefix. - A test for
KeyValueDB::get. - A test for
KeyValueDB::write.