aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.h
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2015-06-04 22:55:59 +0800
committersubtly <subtly@users.noreply.github.com>2015-06-04 22:55:59 +0800
commit2afad75469658a45da547e3b78a652cc8c8ad728 (patch)
treef555ba9e1463cddf1d0750f8250968b946a51895 /TestHelper.h
parentf9955c8ba10332f9c2a674ffdfc447895c15b01a (diff)
parent2f88fd6f5874a1f15135d443b5f05699ae971f18 (diff)
downloaddexon-solidity-2afad75469658a45da547e3b78a652cc8c8ad728.tar
dexon-solidity-2afad75469658a45da547e3b78a652cc8c8ad728.tar.gz
dexon-solidity-2afad75469658a45da547e3b78a652cc8c8ad728.tar.bz2
dexon-solidity-2afad75469658a45da547e3b78a652cc8c8ad728.tar.lz
dexon-solidity-2afad75469658a45da547e3b78a652cc8c8ad728.tar.xz
dexon-solidity-2afad75469658a45da547e3b78a652cc8c8ad728.tar.zst
dexon-solidity-2afad75469658a45da547e3b78a652cc8c8ad728.zip
Merge branch 'develop' into whisper
Diffstat (limited to 'TestHelper.h')
-rw-r--r--TestHelper.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/TestHelper.h b/TestHelper.h
index 02f509e4..8f0c73bf 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);
@@ -179,22 +179,24 @@ void checkAddresses(mapType& _expectedAddrs, mapType& _resultAddrs)
class Options
{
public:
- bool jit = false; ///< Use JIT
bool vmtrace = false; ///< Create EVM execution tracer // TODO: Link with log verbosity?
bool fillTests = false; ///< Create JSON test files from execution results
bool stats = false; ///< Execution time stats
std::string statsOutFile; ///< Stats output file. "out" for standard output
bool checkState = false;///< Throw error when checking test states
+ bool fulloutput = false;///< Replace large output to just it's length
/// Test selection
/// @{
bool singleTest = false;
+ std::string singleTestFile;
std::string singleTestName;
bool performance = false;
bool quadratic = false;
bool memory = false;
bool inputLimits = false;
bool bigData = false;
+ bool wallet = false;
/// @}
/// Get reference to options