diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-03-16 03:12:54 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-03-16 04:17:53 -0400 |
commit | cade0da8f1e932a17886aa9893a580fa3e3289c7 (patch) | |
tree | bbb2c171f01b37e227754d648e29c93f15bb344b /tests/unit_tests/BlockchainDB.cpp | |
parent | BerkeleyDB BlockchainDB impl copy/paste/modify (diff) | |
download | monero-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.cpp | 3 |
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); |