diff options
author | winsvega <winsvega@mail.ru> | 2015-03-25 20:47:28 +0800 |
---|---|---|
committer | winsvega <winsvega@mail.ru> | 2015-04-08 02:32:31 +0800 |
commit | bfc4d2eceb44b07f1bbdb3b3418af39a89efc420 (patch) | |
tree | 3c54736d3f134451c9cc18c396712c400a35f3bb /TestHelper.h | |
parent | a14cada9dd81a263a6af2c299507f1aa9c913807 (diff) | |
download | dexon-solidity-bfc4d2eceb44b07f1bbdb3b3418af39a89efc420.tar dexon-solidity-bfc4d2eceb44b07f1bbdb3b3418af39a89efc420.tar.gz dexon-solidity-bfc4d2eceb44b07f1bbdb3b3418af39a89efc420.tar.bz2 dexon-solidity-bfc4d2eceb44b07f1bbdb3b3418af39a89efc420.tar.lz dexon-solidity-bfc4d2eceb44b07f1bbdb3b3418af39a89efc420.tar.xz dexon-solidity-bfc4d2eceb44b07f1bbdb3b3418af39a89efc420.tar.zst dexon-solidity-bfc4d2eceb44b07f1bbdb3b3418af39a89efc420.zip |
Expect State Check
state and vmtests
Diffstat (limited to 'TestHelper.h')
-rw-r--r-- | TestHelper.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TestHelper.h b/TestHelper.h index d830ceb6..4e205378 100644 --- a/TestHelper.h +++ b/TestHelper.h @@ -105,18 +105,17 @@ public: ImportTest(json_spirit::mObject& _o, bool isFiller); // imports void importEnv(json_spirit::mObject& _o); - void importState(json_spirit::mObject& _o, eth::State& _state); + static void importState(json_spirit::mObject& _o, eth::State& _state); void importTransaction(json_spirit::mObject& _o); void exportTest(bytes const& _output, eth::State const& _statePost); + static bool compareStates(eth::State const& _stateExpect, eth::State const& _statePost); eth::State m_statePre; - eth::State m_stateExpect; eth::State m_statePost; eth::ExtVMFace m_environment; eth::Transaction m_transaction; private: - void checkFillTest(eth::State const& _statePost); json_spirit::mObject& m_TestObject; }; |