Expand description
Shared tests for kvdb functionality, to be executed against actual implementations.
Constants§
- DELETE_
PREFIX_ NUM_ COLUMNS - The number of columns required to run
test_delete_prefix. - IO_
STATS_ NUM_ COLUMNS - The number of columns required to run
test_io_stats.
Functions§
- test_
complex - A complex test.
- test_
delete_ and_ get - A test for
KeyValueDB::get. - test_
delete_ prefix - A test for
KeyValueDB::delete_prefix. - test_
get_ fails_ with_ non_ existing_ column - A test for
KeyValueDB::get. Assumes thedbhas only 1 column. - test_
io_ stats - A test for
KeyValueDB::io_stats. Assumes that thedbhas at least 3 columns. - test_
iter - A test for
KeyValueDB::iter. - test_
iter_ with_ prefix - A test for
KeyValueDB::iter_with_prefix. - test_
put_ and_ get - A test for
KeyValueDB::get. - test_
write_ clears_ buffered_ ops - A test for
KeyValueDB::write.