Merge #11791: [tests] Rename NodeConn and NodeConnCB
[bitcoinplatinum.git] / src / test / test_bitcoin_main.cpp
blob8d81ff6fc65c49f058f80b5d686e9bd3c3102a24
1 // Copyright (c) 2011-2016 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #define BOOST_TEST_MODULE Bitcoin Test Suite
7 #include <net.h>
9 #include <boost/test/unit_test.hpp>
11 std::unique_ptr<CConnman> g_connman;
13 [[noreturn]] void Shutdown(void* parg)
15 std::exit(EXIT_SUCCESS);
18 [[noreturn]] void StartShutdown()
20 std::exit(EXIT_SUCCESS);
23 bool ShutdownRequested()
25 return false;