From bfc4d2eceb44b07f1bbdb3b3418af39a89efc420 Mon Sep 17 00:00:00 2001 From: winsvega Date: Wed, 25 Mar 2015 15:47:28 +0300 Subject: Expect State Check state and vmtests --- TestHelper.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'TestHelper.h') 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; }; -- cgit