Creates a harness for generic KVEngine testing of all KVEngine implementations.
More...
#include <kv_engine_test_harness.h>
Creates a harness for generic KVEngine testing of all KVEngine implementations.
A particular KVHarnessHelper implementation (with a particular KVEngine implementation) will implement registerFactory() and create() such that generic unit tests can create() and test the particular KVHarnessHelper implementation. This library can be pulled into a particular implementation's CppUnitTest to exercise the generic test coverage on that implementation.
◆ ~KVHarnessHelper()
virtual mongo::KVHarnessHelper::~KVHarnessHelper |
( |
| ) |
|
|
inlinevirtual |
◆ create()
◆ getEngine()
virtual KVEngine* mongo::KVHarnessHelper::getEngine |
( |
| ) |
|
|
pure virtual |
◆ registerFactory()
void mongo::KVHarnessHelper::registerFactory |
( |
stdx::function< std::unique_ptr< KVHarnessHelper >()> |
factory | ) |
|
|
static |
◆ restartEngine()
virtual KVEngine* mongo::KVHarnessHelper::restartEngine |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: