Implements infrastructure for semantic tests.

This commit is contained in:
Erik Kundt
2019-02-13 13:05:58 +01:00
committed by Erik Kundt
parent bbeab9ffdf
commit 190634e1f9
14 changed files with 357 additions and 14 deletions
+2 -2
View File
@@ -40,9 +40,9 @@ namespace test
class ObjectCompilerTest: public dev::solidity::test::TestCase
{
public:
static std::unique_ptr<TestCase> create(std::string const& _filename)
static std::unique_ptr<TestCase> create(Config const& _config)
{
return std::unique_ptr<TestCase>(new ObjectCompilerTest(_filename));
return std::unique_ptr<TestCase>(new ObjectCompilerTest(_config.filename));
}
explicit ObjectCompilerTest(std::string const& _filename);