aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/main.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-12-17 12:59:43 +0200
committerRiccardo Spagni <ric@spagni.net>2017-12-17 12:59:44 +0200
commit066fd7aced8ff0079271bae1295355d741f2ea7b (patch)
treee8056ad1f87ed1d9fc695e68c87bb5adc2700d52 /tests/unit_tests/main.cpp
parentMerge pull request #2864 (diff)
parentWallets now do not depend on the daemon rpc lib (diff)
downloadmonero-066fd7aced8ff0079271bae1295355d741f2ea7b.tar.xz
Merge pull request #2877
43f5269f Wallets now do not depend on the daemon rpc lib (moneromooo-monero) bb89ae8b move connection_basic and network_throttle from src/p2p to epee (moneromooo-monero) 4abf25f3 cryptonote_core does not depend on p2p anymore (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests/main.cpp')
-rw-r--r--tests/unit_tests/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit_tests/main.cpp b/tests/unit_tests/main.cpp
index c0e143551..073ac20fd 100644
--- a/tests/unit_tests/main.cpp
+++ b/tests/unit_tests/main.cpp
@@ -34,6 +34,10 @@
#include <boost/filesystem/operations.hpp>
#include <boost/program_options.hpp>
+#include "p2p/net_node.h"
+#include "p2p/net_node.inl"
+#include "cryptonote_protocol/cryptonote_protocol_handler.h"
+#include "cryptonote_protocol/cryptonote_protocol_handler.inl"
#include "include_base_utils.h"
#include "string_tools.h"
#include "common/command_line.h"
@@ -44,6 +48,9 @@ namespace po = boost::program_options;
boost::filesystem::path unit_test::data_dir;
+namespace nodetool { template class node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>>; }
+namespace cryptonote { template class t_cryptonote_protocol_handler<cryptonote::core>; }
+
int main(int argc, char** argv)
{
tools::on_startup();