tests: Reduce noise level in test_bitcoin output
This commit is contained in:
parent
edc68d40e9
commit
e502c3c515
3 changed files with 0 additions and 5 deletions
|
@ -167,7 +167,6 @@ static void Correct_Queue_range(std::vector<size_t> range)
|
||||||
BOOST_REQUIRE(control.Wait());
|
BOOST_REQUIRE(control.Wait());
|
||||||
if (FakeCheckCheckCompletion::n_calls != i) {
|
if (FakeCheckCheckCompletion::n_calls != i) {
|
||||||
BOOST_REQUIRE_EQUAL(FakeCheckCheckCompletion::n_calls, i);
|
BOOST_REQUIRE_EQUAL(FakeCheckCheckCompletion::n_calls, i);
|
||||||
BOOST_TEST_MESSAGE("Failure on trial " << i << " expected, got " << FakeCheckCheckCompletion::n_calls);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tg.interrupt_all();
|
tg.interrupt_all();
|
||||||
|
|
|
@ -20,7 +20,6 @@ BOOST_FIXTURE_TEST_SUITE(torcontrol_tests, BasicTestingSetup)
|
||||||
|
|
||||||
static void CheckSplitTorReplyLine(std::string input, std::string command, std::string args)
|
static void CheckSplitTorReplyLine(std::string input, std::string command, std::string args)
|
||||||
{
|
{
|
||||||
BOOST_TEST_MESSAGE(std::string("CheckSplitTorReplyLine(") + input + ")");
|
|
||||||
auto ret = SplitTorReplyLine(input);
|
auto ret = SplitTorReplyLine(input);
|
||||||
BOOST_CHECK_EQUAL(ret.first, command);
|
BOOST_CHECK_EQUAL(ret.first, command);
|
||||||
BOOST_CHECK_EQUAL(ret.second, args);
|
BOOST_CHECK_EQUAL(ret.second, args);
|
||||||
|
@ -61,7 +60,6 @@ BOOST_AUTO_TEST_CASE(util_SplitTorReplyLine)
|
||||||
|
|
||||||
static void CheckParseTorReplyMapping(std::string input, std::map<std::string,std::string> expected)
|
static void CheckParseTorReplyMapping(std::string input, std::map<std::string,std::string> expected)
|
||||||
{
|
{
|
||||||
BOOST_TEST_MESSAGE(std::string("CheckParseTorReplyMapping(") + input + ")");
|
|
||||||
auto ret = ParseTorReplyMapping(input);
|
auto ret = ParseTorReplyMapping(input);
|
||||||
BOOST_CHECK_EQUAL(ret.size(), expected.size());
|
BOOST_CHECK_EQUAL(ret.size(), expected.size());
|
||||||
auto r_it = ret.begin();
|
auto r_it = ret.begin();
|
||||||
|
@ -173,7 +171,6 @@ BOOST_AUTO_TEST_CASE(util_ParseTorReplyMapping)
|
||||||
|
|
||||||
// Special handling for null case
|
// Special handling for null case
|
||||||
// (needed because string comparison reads the null as end-of-string)
|
// (needed because string comparison reads the null as end-of-string)
|
||||||
BOOST_TEST_MESSAGE(std::string("CheckParseTorReplyMapping(Null=\"\\0\")"));
|
|
||||||
auto ret = ParseTorReplyMapping("Null=\"\\0\"");
|
auto ret = ParseTorReplyMapping("Null=\"\\0\"");
|
||||||
BOOST_CHECK_EQUAL(ret.size(), 1U);
|
BOOST_CHECK_EQUAL(ret.size(), 1U);
|
||||||
auto r_it = ret.begin();
|
auto r_it = ret.begin();
|
||||||
|
|
|
@ -135,7 +135,6 @@ BOOST_AUTO_TEST_CASE(bnb_search_test)
|
||||||
/////////////////////////
|
/////////////////////////
|
||||||
// Known Outcome tests //
|
// Known Outcome tests //
|
||||||
/////////////////////////
|
/////////////////////////
|
||||||
BOOST_TEST_MESSAGE("Testing known outcomes");
|
|
||||||
|
|
||||||
// Empty utxo pool
|
// Empty utxo pool
|
||||||
BOOST_CHECK(!SelectCoinsBnB(GroupCoins(utxo_pool), 1 * CENT, 0.5 * CENT, selection, value_ret, not_input_fees));
|
BOOST_CHECK(!SelectCoinsBnB(GroupCoins(utxo_pool), 1 * CENT, 0.5 * CENT, selection, value_ret, not_input_fees));
|
||||||
|
|
Loading…
Add table
Reference in a new issue