aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/BlockchainDB.cpp
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-03-16 03:12:54 -0400
committerThomas Winget <tewinget@gmail.com>2015-03-16 04:17:53 -0400
commitcade0da8f1e932a17886aa9893a580fa3e3289c7 (patch)
treebbb2c171f01b37e227754d648e29c93f15bb344b /tests/unit_tests/BlockchainDB.cpp
parentBerkeleyDB BlockchainDB impl copy/paste/modify (diff)
downloadmonero-cade0da8f1e932a17886aa9893a580fa3e3289c7.tar.xz
CMake wiring, minor cleanup, minor test addition
Make Cmake things aware of BerkeleyDB and BlockchainBDB Make the BlockchainDB unit tests aware of BlockchainBDB
Diffstat (limited to '')
-rw-r--r--tests/unit_tests/BlockchainDB.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit_tests/BlockchainDB.cpp b/tests/unit_tests/BlockchainDB.cpp
index 4d39d7da8..bbe8582f9 100644
--- a/tests/unit_tests/BlockchainDB.cpp
+++ b/tests/unit_tests/BlockchainDB.cpp
@@ -35,6 +35,7 @@
#include "blockchain_db/blockchain_db.h"
#include "blockchain_db/lmdb/db_lmdb.h"
+#include "blockchain_db/berkeleydb/db_bdb.h"
#include "cryptonote_core/cryptonote_format_utils.h"
using namespace cryptonote;
@@ -209,7 +210,7 @@ protected:
using testing::Types;
-typedef Types<BlockchainLMDB> implementations;
+typedef Types<BlockchainLMDB, BlockchainBDB> implementations;
TYPED_TEST_CASE(BlockchainDBTest, implementations);