aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.h
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-05-13 05:55:03 +0800
committerGav Wood <g@ethdev.com>2015-05-13 05:55:03 +0800
commitc600607eae5325b0c9546d9aebcf803bb8b40a1f (patch)
tree914ff24ca53740b432b6e3ead319f612a1be937d /TestHelper.h
parent2087d3b6e3017c198c7669becf6920eeaf453b63 (diff)
parent0785602ad5d1a07cba81011669519476a551e516 (diff)
downloaddexon-solidity-c600607eae5325b0c9546d9aebcf803bb8b40a1f.tar.gz
dexon-solidity-c600607eae5325b0c9546d9aebcf803bb8b40a1f.tar.zst
dexon-solidity-c600607eae5325b0c9546d9aebcf803bb8b40a1f.zip
Merge pull request #1829 from imapp-pl/pr/fix_singletest_option
testeth: fix --singletest option
Diffstat (limited to 'TestHelper.h')
-rw-r--r--TestHelper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/TestHelper.h b/TestHelper.h
index 00b520d0..d1da7e24 100644
--- a/TestHelper.h
+++ b/TestHelper.h
@@ -157,7 +157,7 @@ void checkLog(eth::LogEntries _resultLogs, eth::LogEntries _expectedLogs);
void checkCallCreates(eth::Transactions _resultCallCreates, eth::Transactions _expectedCallCreates);
void executeTests(const std::string& _name, const std::string& _testPathAppendix, const boost::filesystem::path _pathToFiller, std::function<void(json_spirit::mValue&, bool)> doTests);
-void userDefinedTest(std::string testTypeFlag, std::function<void(json_spirit::mValue&, bool)> doTests);
+void userDefinedTest(std::function<void(json_spirit::mValue&, bool)> doTests);
RLPStream createRLPStreamFromTransactionFields(json_spirit::mObject& _tObj);
eth::LastHashes lastHashes(u256 _currentBlockNumber);
json_spirit::mObject fillJsonWithState(eth::State _state);
@@ -188,6 +188,7 @@ public:
/// Test selection
/// @{
bool singleTest = false;
+ std::string singleTestFile;
std::string singleTestName;
bool performance = false;
bool quadratic = false;