diff options
author | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-11 00:37:55 +0800 |
---|---|---|
committer | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-11 00:37:55 +0800 |
commit | 3c45877e2aecb7e73392540fdbf82de0bd35156e (patch) | |
tree | 08bd25c2660fdc003055993094fecd23bbd27252 /TestHelper.h | |
parent | 99c3957eca07f8fb11a9c1dcfe047404c5d03f36 (diff) | |
download | dexon-solidity-3c45877e2aecb7e73392540fdbf82de0bd35156e.tar dexon-solidity-3c45877e2aecb7e73392540fdbf82de0bd35156e.tar.gz dexon-solidity-3c45877e2aecb7e73392540fdbf82de0bd35156e.tar.bz2 dexon-solidity-3c45877e2aecb7e73392540fdbf82de0bd35156e.tar.lz dexon-solidity-3c45877e2aecb7e73392540fdbf82de0bd35156e.tar.xz dexon-solidity-3c45877e2aecb7e73392540fdbf82de0bd35156e.tar.zst dexon-solidity-3c45877e2aecb7e73392540fdbf82de0bd35156e.zip |
added generic userDefinedTest function
Diffstat (limited to 'TestHelper.h')
-rw-r--r-- | TestHelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TestHelper.h b/TestHelper.h index a4eb64d8..c5e45f37 100644 --- a/TestHelper.h +++ b/TestHelper.h @@ -71,6 +71,7 @@ void checkOutput(bytes const& _output, json_spirit::mObject& _o); void checkStorage(std::map<u256, u256> _expectedStore, std::map<u256, u256> _resultStore, Address _expectedAddr); void executeTests(const std::string& _name, const std::string& _testPathAppendix, std::function<void(json_spirit::mValue&, bool)> doTests); std::string getTestPath(); +void userDefinedTest(string testTypeFlag, std::function<void(json_spirit::mValue&, bool)> doTests); template<typename mapType> void checkAddresses(mapType& _expectedAddrs, mapType& _resultAddrs) |