diff options
author | winsvega <winsvega@mail.ru> | 2015-04-06 23:32:24 +0800 |
---|---|---|
committer | winsvega <winsvega@mail.ru> | 2015-04-08 02:32:32 +0800 |
commit | 4774ccfb287edc1dc61462c27a1ec5ea8af69673 (patch) | |
tree | 60a7e35a24e1ef75af638bfe9b57a14df50e7b3b /TestHelper.cpp | |
parent | 44405625f2b011dc1dddf4c05342e89d5539ba5b (diff) | |
download | dexon-solidity-4774ccfb287edc1dc61462c27a1ec5ea8af69673.tar.gz dexon-solidity-4774ccfb287edc1dc61462c27a1ec5ea8af69673.tar.zst dexon-solidity-4774ccfb287edc1dc61462c27a1ec5ea8af69673.zip |
Check State
Unused Variable
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r-- | TestHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index 94751c1e..1ff091c1 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -170,7 +170,7 @@ void ImportTest::importState(json_spirit::mObject& _o, State& _state) stateOptionsMap importedMap; importState(_o, _state, importedMap); for (auto& stateOptionMap: importedMap) - assert(stateOptionMap.second.isAllSet()); //check that every parameter was declared in state object + BOOST_CHECK_MESSAGE(stateOptionMap.second.isAllSet(), "Import State[" << stateOptionMap.first << "]: State is not complete!"); //check that every parameter was declared in state object } void ImportTest::importTransaction(json_spirit::mObject& _o) |