From b429e1cfde0259c0beb70a49b32d9c35319ed5de Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 26 May 2015 16:51:29 +0300 Subject: [PATCH] Random Code: Style --- test/fuzzTesting/createRandomStateTest.cpp | 5 ----- test/libethereum/blockchain.cpp | 15 --------------- 2 files changed, 20 deletions(-) diff --git a/test/fuzzTesting/createRandomStateTest.cpp b/test/fuzzTesting/createRandomStateTest.cpp index e2c0600b6..622ccb1ac 100644 --- a/test/fuzzTesting/createRandomStateTest.cpp +++ b/test/fuzzTesting/createRandomStateTest.cpp @@ -198,8 +198,6 @@ void doRandomCodeAlgo() cout << json_spirit::write_string(v, true); } - - void doStateTests(json_spirit::mValue& _v) { eth::VMFactory::setKind(eth::VMKind::Interpreter); @@ -238,6 +236,3 @@ void doStateTests(json_spirit::mValue& _v) #endif } } - - - diff --git a/test/libethereum/blockchain.cpp b/test/libethereum/blockchain.cpp index 085a855d4..67b3955ff 100644 --- a/test/libethereum/blockchain.cpp +++ b/test/libethereum/blockchain.cpp @@ -811,19 +811,4 @@ BOOST_AUTO_TEST_CASE(userDefinedFile) dev::test::userDefinedTest(dev::test::doBlockchainTests); } -BOOST_AUTO_TEST_CASE(rndCode) -{ - std::string code; - cerr << "Testing Random Code: "; - try - { - code = dev::test::RandomCode::generate(10); - } - catch(...) - { - BOOST_ERROR("Exception thrown when generating random code!"); - } - cerr << code; -} - BOOST_AUTO_TEST_SUITE_END()