diff options
Diffstat (limited to 'libs/libmdbx/src/test/test.h')
-rw-r--r-- | libs/libmdbx/src/test/test.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libs/libmdbx/src/test/test.h b/libs/libmdbx/src/test/test.h index d145ec2e38..e726023279 100644 --- a/libs/libmdbx/src/test/test.h +++ b/libs/libmdbx/src/test/test.h @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev <leo@yuriev.ru> + * Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru> * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * @@ -107,6 +107,8 @@ protected: void txn_begin(bool readonly, unsigned flags = 0); void txn_end(bool abort); void txn_restart(bool abort, bool readonly, unsigned flags = 0); + void cursor_open(unsigned dbi); + void cursor_close(); void txn_inject_writefault(void); void txn_inject_writefault(MDBX_txn *txn); void fetch_canary(); @@ -158,6 +160,13 @@ public: bool run(); }; +class testcase_append : public testcase { +public: + testcase_append(const actor_config &config, const mdbx_pid_t pid) + : testcase(config, pid) {} + bool run(); +}; + class testcase_deadread : public testcase { public: testcase_deadread(const actor_config &config, const mdbx_pid_t pid) |