Browse Source

Merge pull request #2746 from CJentzsch/disableNetworktests

disable whisper tests which need networking
cl-refactor
Gav Wood 9 years ago
parent
commit
1cfa597d43
  1. 9
      test/libwhisper/whisperDB.cpp

9
test/libwhisper/whisperDB.cpp

@ -130,6 +130,9 @@ BOOST_AUTO_TEST_CASE(persistence)
BOOST_AUTO_TEST_CASE(messages)
{
if (test::Options::get().nonetwork)
return;
cnote << "Testing load/save Whisper messages...";
VerbosityHolder setTemporaryLevel(2);
unsigned const TestSize = 3;
@ -185,6 +188,9 @@ BOOST_AUTO_TEST_CASE(messages)
BOOST_AUTO_TEST_CASE(corruptedData)
{
if (test::Options::get().nonetwork)
return;
cnote << "Testing corrupted data...";
VerbosityHolder setTemporaryLevel(2);
map<h256, Envelope> m;
@ -211,6 +217,9 @@ BOOST_AUTO_TEST_CASE(corruptedData)
BOOST_AUTO_TEST_CASE(filters)
{
if (test::Options::get().nonetwork)
return;
cnote << "Testing filters saving...";
VerbosityHolder setTemporaryLevel(2);
h256 persistID(0xC0FFEE);

Loading…
Cancel
Save