diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-05-08 17:00:17 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-05-08 17:00:53 +0800 |
commit | f7109717ed6ffbde00cbd9090cdb6e8f00c01359 (patch) | |
tree | 980265c526579d1c71c860c7292a5d188567f05c /TestHelper.h | |
parent | 6cce9710e5f61078b20c7014d62dbcde3a8ad2de (diff) | |
download | dexon-solidity-f7109717ed6ffbde00cbd9090cdb6e8f00c01359.tar dexon-solidity-f7109717ed6ffbde00cbd9090cdb6e8f00c01359.tar.gz dexon-solidity-f7109717ed6ffbde00cbd9090cdb6e8f00c01359.tar.bz2 dexon-solidity-f7109717ed6ffbde00cbd9090cdb6e8f00c01359.tar.lz dexon-solidity-f7109717ed6ffbde00cbd9090cdb6e8f00c01359.tar.xz dexon-solidity-f7109717ed6ffbde00cbd9090cdb6e8f00c01359.tar.zst dexon-solidity-f7109717ed6ffbde00cbd9090cdb6e8f00c01359.zip |
testeth: fix --singletest option
Diffstat (limited to 'TestHelper.h')
-rw-r--r-- | TestHelper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TestHelper.h b/TestHelper.h index 02f509e4..631bc4df 100644 --- a/TestHelper.h +++ b/TestHelper.h @@ -157,7 +157,7 @@ void checkLog(eth::LogEntries _resultLogs, eth::LogEntries _expectedLogs); void checkCallCreates(eth::Transactions _resultCallCreates, eth::Transactions _expectedCallCreates); void executeTests(const std::string& _name, const std::string& _testPathAppendix, const boost::filesystem::path _pathToFiller, std::function<void(json_spirit::mValue&, bool)> doTests); -void userDefinedTest(std::string testTypeFlag, std::function<void(json_spirit::mValue&, bool)> doTests); +void userDefinedTest(std::function<void(json_spirit::mValue&, bool)> doTests); RLPStream createRLPStreamFromTransactionFields(json_spirit::mObject& _tObj); eth::LastHashes lastHashes(u256 _currentBlockNumber); json_spirit::mObject fillJsonWithState(eth::State _state); @@ -189,6 +189,7 @@ public: /// Test selection /// @{ bool singleTest = false; + std::string singleTestFile; std::string singleTestName; bool performance = false; bool quadratic = false; |