2014-03-26 05:01:17 +00:00
|
|
|
/*
|
2016-11-18 23:13:20 +00:00
|
|
|
This file is part of solidity.
|
2014-03-26 05:01:17 +00:00
|
|
|
|
2016-11-18 23:13:20 +00:00
|
|
|
solidity is free software: you can redistribute it and/or modify
|
2014-03-26 05:01:17 +00:00
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
2016-11-18 23:13:20 +00:00
|
|
|
solidity is distributed in the hope that it will be useful,
|
2014-03-26 05:01:17 +00:00
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
2016-11-18 23:13:20 +00:00
|
|
|
along with solidity. If not, see <http://www.gnu.org/licenses/>.
|
2014-03-26 05:01:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-11-14 13:59:30 +00:00
|
|
|
#include <liblangutil/EVMVersion.h>
|
2019-02-19 16:34:59 +00:00
|
|
|
#include <test/Common.h>
|
2018-02-22 16:21:26 +00:00
|
|
|
|
2014-11-03 15:33:02 +00:00
|
|
|
#include <boost/test/unit_test.hpp>
|
2015-04-20 20:48:53 +00:00
|
|
|
#include <boost/filesystem.hpp>
|
2019-02-19 16:34:59 +00:00
|
|
|
#include <boost/program_options.hpp>
|
2015-10-24 21:11:01 +00:00
|
|
|
#include <boost/version.hpp>
|
2018-10-15 16:08:41 +00:00
|
|
|
|
2018-02-22 16:21:26 +00:00
|
|
|
#include <functional>
|
|
|
|
|
2014-09-05 15:09:58 +00:00
|
|
|
namespace dev
|
|
|
|
{
|
2014-10-29 16:25:02 +00:00
|
|
|
namespace test
|
|
|
|
{
|
|
|
|
|
2019-02-19 16:34:59 +00:00
|
|
|
struct Options: CommonOptions
|
2016-08-06 09:37:52 +00:00
|
|
|
{
|
2016-12-06 17:38:59 +00:00
|
|
|
bool showMessages = false;
|
2018-09-26 17:06:35 +00:00
|
|
|
bool useABIEncoderV2 = false;
|
2016-08-06 09:37:52 +00:00
|
|
|
|
2018-02-23 10:42:53 +00:00
|
|
|
solidity::EVMVersion evmVersion() const;
|
|
|
|
|
2016-08-06 09:55:37 +00:00
|
|
|
static Options const& get();
|
2016-08-06 09:37:52 +00:00
|
|
|
|
|
|
|
private:
|
2018-02-23 10:42:53 +00:00
|
|
|
std::string evmVersionString;
|
|
|
|
|
2016-08-06 09:37:52 +00:00
|
|
|
Options();
|
|
|
|
};
|
2016-08-02 16:32:03 +00:00
|
|
|
|
2014-03-26 05:01:17 +00:00
|
|
|
}
|
2014-09-05 15:09:58 +00:00
|
|
|
}
|