diff options
author | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-19 21:30:42 +0800 |
---|---|---|
committer | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-19 21:30:42 +0800 |
commit | b1e26e28e3996abb2c45edf481681a491a357f32 (patch) | |
tree | 1055957cc8d558ef90bb3be971763f54c4b9e5b2 /TestHelper.h | |
parent | 52dc2b4bc57c782bf12159e47c0c42490c86f28c (diff) | |
download | dexon-solidity-b1e26e28e3996abb2c45edf481681a491a357f32.tar.gz dexon-solidity-b1e26e28e3996abb2c45edf481681a491a357f32.tar.zst dexon-solidity-b1e26e28e3996abb2c45edf481681a491a357f32.zip |
Add Log tests
Diffstat (limited to 'TestHelper.h')
-rw-r--r-- | TestHelper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TestHelper.h b/TestHelper.h index ef67d52f..7a2b8da5 100644 --- a/TestHelper.h +++ b/TestHelper.h @@ -25,6 +25,7 @@ #include <boost/test/unit_test.hpp> #include "JsonSpiritHeaders.h" #include <libethereum/State.h> +#include <libevm/ExtVMFace.h> namespace dev { @@ -69,6 +70,7 @@ bytes importCode(json_spirit::mObject& _o); bytes importData(json_spirit::mObject& _o); 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 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); |