From cfed92a8ce7ff10a5cad23db9bc17bff8c8930a5 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 3 Mar 2015 17:12:27 +0100 Subject: state rebase. --- state.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/state.cpp b/state.cpp index 07409d00..b6a9d425 100644 --- a/state.cpp +++ b/state.cpp @@ -229,24 +229,6 @@ BOOST_AUTO_TEST_CASE(stMemoryTest) dev::test::executeTests("stMemoryTest", "/StateTests", dev::test::doStateTests); } -BOOST_AUTO_TEST_CASE(stMemoryStressTest) -{ - for (int i = 1; i < boost::unit_test::framework::master_test_suite().argc; ++i) - { - string arg = boost::unit_test::framework::master_test_suite().argv[i]; - if (arg == "--memory" || arg == "--all") - { - auto start = chrono::steady_clock::now(); - - dev::test::executeTests("stMemoryStressTest", "/StateTests", dev::test::doStateTests); - - auto end = chrono::steady_clock::now(); - auto duration(chrono::duration_cast(end - start)); - cnote << "test duration: " << duration.count() << " milliseconds.\n"; - } - } -} - BOOST_AUTO_TEST_CASE(stCreateTest) { for (int i = 1; i < boost::unit_test::framework::master_test_suite().argc; ++i) -- cgit