TestFramework: Remove headers from Options.h

This commit is contained in:
Mathias Baumann 2020-01-14 15:55:31 +01:00
parent 336f560155
commit 2f1f8e25c1
31 changed files with 51 additions and 6 deletions

View File

@ -34,6 +34,8 @@
#include <functional>
#include <boost/test/unit_test.hpp>
namespace solidity::test
{
class EVMHost;

View File

@ -29,6 +29,7 @@
#include <boost/test/framework.hpp>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
#include <boost/test/unit_test.hpp>
using namespace std;
using namespace solidity::test;

View File

@ -17,13 +17,8 @@
#pragma once
#include <liblangutil/EVMVersion.h>
#include <test/Common.h>
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
#include <boost/version.hpp>
#include <functional>

View File

@ -25,6 +25,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
namespace solidity::langutil::test
{

View File

@ -24,6 +24,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
namespace solidity::langutil::test
{

View File

@ -25,6 +25,7 @@
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/throw_exception.hpp>
#include <boost/test/unit_test.hpp>
#include <fstream>
#include <memory>
#include <stdexcept>

View File

@ -22,6 +22,8 @@
#include <liblangutil/SourceReferenceFormatterHuman.h>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/throw_exception.hpp>
#include <fstream>
#include <stdexcept>

View File

@ -35,6 +35,7 @@
#include <libevmasm/Assembly.h>
#include <boost/algorithm/string/replace.hpp>
#include <boost/test/unit_test.hpp>
#include <memory>
#include <optional>

View File

@ -27,6 +27,8 @@
#include <libsolutil/IpfsHash.h>
#include <libsolutil/JSON.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::frontend::test

View File

@ -23,6 +23,7 @@
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/throw_exception.hpp>
#include <fstream>
#include <memory>

View File

@ -27,6 +27,8 @@
#include <liblangutil/SemVerHandler.h>
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
using namespace solidity::langutil;

View File

@ -22,6 +22,8 @@
#include <test/Metadata.h>
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::frontend::test

View File

@ -33,6 +33,8 @@
#include <liblangutil/ErrorReporter.h>
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
using namespace solidity::evmasm;
using namespace solidity::langutil;

View File

@ -27,6 +27,8 @@
#include <liblangutil/Exceptions.h>
#include <libsolutil/Exceptions.h>
#include <boost/test/unit_test.hpp>
using namespace solidity::langutil;
namespace solidity::frontend::test

View File

@ -29,6 +29,8 @@
#include <test/libsolidity/ErrorCheck.h>
#include <libsolidity/ast/ASTVisitor.h>
#include <boost/test/unit_test.hpp>
using namespace std;
using namespace solidity::langutil;

View File

@ -19,6 +19,7 @@
#include <test/Options.h>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/throw_exception.hpp>
#include <fstream>
#include <memory>

View File

@ -21,9 +21,10 @@
#include <libsolutil/CommonData.h>
#include <libsolutil/Exceptions.h>
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::util::test

View File

@ -25,6 +25,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
using namespace solidity::frontend;

View File

@ -22,6 +22,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::util::test

View File

@ -22,6 +22,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::util::test

View File

@ -22,6 +22,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::util::test

View File

@ -23,6 +23,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::util::test

View File

@ -26,6 +26,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::util::test

View File

@ -24,6 +24,8 @@
#include <libsolutil/Keccak256.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::util::test

View File

@ -23,6 +23,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::util::test

View File

@ -22,6 +22,8 @@
#include <test/Options.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::util::test

View File

@ -25,6 +25,7 @@
#include <libyul/CompilabilityChecker.h>
#include <boost/test/unit_test.hpp>
using namespace std;

View File

@ -25,6 +25,7 @@
#include <libyul/optimiser/Metrics.h>
#include <libyul/AsmData.h>
#include <boost/test/unit_test.hpp>
using namespace std;
using namespace solidity::langutil;

View File

@ -28,6 +28,7 @@
#include <libsolidity/interface/OptimiserSettings.h>
#include <boost/algorithm/string/replace.hpp>
#include <boost/test/unit_test.hpp>
#include <memory>
#include <optional>

View File

@ -32,6 +32,7 @@
#include <liblangutil/ErrorReporter.h>
#include <boost/algorithm/string/replace.hpp>
#include <boost/test/unit_test.hpp>
#include <memory>
#include <optional>

View File

@ -23,6 +23,8 @@
#include <libyul/AssemblyStack.h>
#include <libevmasm/Instruction.h>
#include <boost/test/unit_test.hpp>
using namespace std;
namespace solidity::yul::test