solidity/test/TestHelper.h

47 lines
1.0 KiB
C
Raw Normal View History

2014-03-26 05:01:17 +00:00
/*
This file is part of solidity.
2014-03-26 05:01:17 +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.
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
along with solidity. If not, see <http://www.gnu.org/licenses/>.
2014-03-26 05:01:17 +00:00
*/
/** @file TestHelper.h
*/
#pragma once
#include <functional>
#include <boost/test/unit_test.hpp>
2015-04-20 20:48:53 +00:00
#include <boost/filesystem.hpp>
#include <boost/version.hpp>
namespace dev
{
namespace test
{
2016-08-06 09:37:52 +00:00
struct Options: boost::noncopyable
{
std::string ipcPath;
2016-12-06 17:38:59 +00:00
bool showMessages = false;
2016-11-23 14:14:25 +00:00
bool optimize = false;
bool disableIPC = false;
2016-08-06 09:37:52 +00:00
static Options const& get();
2016-08-06 09:37:52 +00:00
private:
Options();
};
2016-08-02 16:32:03 +00:00
2014-03-26 05:01:17 +00:00
}
}