diff options
author | Gav Wood <i@gavwood.com> | 2015-03-04 00:12:27 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-03-04 00:12:27 +0800 |
commit | 858203ecb729db7d2955cf30c3e66e84a989c912 (patch) | |
tree | d4f7f2e934596e272eb41c640a3dda7517698016 /state.cpp | |
parent | 731543e21c99d2fa245a8a5a2c8529887e9fd50f (diff) | |
download | dexon-solidity-858203ecb729db7d2955cf30c3e66e84a989c912.tar dexon-solidity-858203ecb729db7d2955cf30c3e66e84a989c912.tar.gz dexon-solidity-858203ecb729db7d2955cf30c3e66e84a989c912.tar.bz2 dexon-solidity-858203ecb729db7d2955cf30c3e66e84a989c912.tar.lz dexon-solidity-858203ecb729db7d2955cf30c3e66e84a989c912.tar.xz dexon-solidity-858203ecb729db7d2955cf30c3e66e84a989c912.tar.zst dexon-solidity-858203ecb729db7d2955cf30c3e66e84a989c912.zip |
state rebase.
Diffstat (limited to 'state.cpp')
-rw-r--r-- | state.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -227,24 +227,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<chrono::milliseconds>(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) |