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::get
and delete with transaction. - A test for
KeyValueDB::get
and delete without transaction. - A test for
KeyValueDB::delete_prefix
. - A test for
KeyValueDB::get
. Assumes thedb
has only 1 column. - A test for
KeyValueDB::io_stats
. Assumes that thedb
has at least 3 columns. - A test for
KeyValueDB::iter
. - A test for
KeyValueDB::iter_keys
. - A test for
KeyValueDB::iter
with a prefix. - A test for
KeyValueDB::num_keys
. - A test for
KeyValueDB::get
. - A test for
KeyValueDB::write
.