diff options
author | winsvega <winsvega@mail.ru> | 2015-01-23 20:28:04 +0800 |
---|---|---|
committer | winsvega <winsvega@mail.ru> | 2015-01-23 20:28:04 +0800 |
commit | 34249753e8fae8baa4ccd87e16df46c42ef4d4b2 (patch) | |
tree | f2051b4c9ca2f9c08dd3ae9efdb08f015e66bc1d /TestHelper.h | |
parent | 0f7b1b33445ebc61b295da4fa0722c66158dc0d3 (diff) | |
parent | fd773be884d945682f633fe70e61498f38663668 (diff) | |
download | dexon-solidity-34249753e8fae8baa4ccd87e16df46c42ef4d4b2.tar dexon-solidity-34249753e8fae8baa4ccd87e16df46c42ef4d4b2.tar.gz dexon-solidity-34249753e8fae8baa4ccd87e16df46c42ef4d4b2.tar.bz2 dexon-solidity-34249753e8fae8baa4ccd87e16df46c42ef4d4b2.tar.lz dexon-solidity-34249753e8fae8baa4ccd87e16df46c42ef4d4b2.tar.xz dexon-solidity-34249753e8fae8baa4ccd87e16df46c42ef4d4b2.tar.zst dexon-solidity-34249753e8fae8baa4ccd87e16df46c42ef4d4b2.zip |
Merge remote-tracking branch 'ethereum/develop' into develop
Diffstat (limited to 'TestHelper.h')
-rw-r--r-- | TestHelper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TestHelper.h b/TestHelper.h index e605c74a..dc84b556 100644 --- a/TestHelper.h +++ b/TestHelper.h @@ -74,10 +74,13 @@ json_spirit::mArray exportLog(eth::LogEntries _logs); void checkOutput(bytes const& _output, json_spirit::mObject& _o); void checkStorage(std::map<u256, u256> _expectedStore, std::map<u256, u256> _resultStore, Address _expectedAddr); 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, std::function<void(json_spirit::mValue&, bool)> doTests); std::string getTestPath(); void userDefinedTest(std::string testTypeFlag, std::function<void(json_spirit::mValue&, bool)> doTests); void processCommandLineOptions(); +eth::LastHashes lastHashes(u256 _currentBlockNumber); template<typename mapType> void checkAddresses(mapType& _expectedAddrs, mapType& _resultAddrs) |