aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.h
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2014-12-02 05:04:09 +0800
committerCJentzsch <jentzsch.software@gmail.com>2014-12-02 05:41:16 +0800
commitd952833c1b86ce45c6da826ce2a9877ffa795d9e (patch)
tree2704cf263e3f005fedf3d106c040eb6a89261248 /TestHelper.h
parent366514a72577d9e9b1c58fc768d084e73ef4f3a5 (diff)
downloaddexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.tar
dexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.tar.gz
dexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.tar.bz2
dexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.tar.lz
dexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.tar.xz
dexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.tar.zst
dexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.zip
added logs to state tests
Diffstat (limited to 'TestHelper.h')
-rw-r--r--TestHelper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/TestHelper.h b/TestHelper.h
index 7a2b8da5..c5c3a083 100644
--- a/TestHelper.h
+++ b/TestHelper.h
@@ -68,6 +68,8 @@ u256 toInt(json_spirit::mValue const& _v);
byte toByte(json_spirit::mValue const& _v);
bytes importCode(json_spirit::mObject& _o);
bytes importData(json_spirit::mObject& _o);
+eth::LogEntries importLog(json_spirit::mObject& _o);
+json_spirit::mObject 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);