Changeset View
Changeset View
Standalone View
Standalone View
src/test/excessiveblock_tests.cpp
// Copyright (c) 2017 The Bitcoin developers | // Copyright (c) 2017 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "consensus/consensus.h" | #include <consensus/consensus.h> | ||||
#include "rpc/server.h" | #include <rpc/server.h> | ||||
#include "test/test_bitcoin.h" | |||||
#include <test/test_bitcoin.h> | |||||
#include <boost/algorithm/string.hpp> | #include <boost/algorithm/string.hpp> | ||||
#include <boost/lexical_cast.hpp> | #include <boost/lexical_cast.hpp> | ||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
#include <limits> | #include <limits> | ||||
#include <string> | #include <string> | ||||
extern UniValue CallRPC(std::string strMethod); | extern UniValue CallRPC(std::string strMethod); | ||||
BOOST_FIXTURE_TEST_SUITE(excessiveblock_tests, TestingSetup) | BOOST_FIXTURE_TEST_SUITE(excessiveblock_tests, TestingSetup) | ||||
BOOST_AUTO_TEST_CASE(excessiveblock_rpc) { | BOOST_AUTO_TEST_CASE(excessiveblock_rpc) { | ||||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |