diff options
Diffstat (limited to 'test/libsolidity/solidityExecutionFramework.h')
-rw-r--r-- | test/libsolidity/solidityExecutionFramework.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/libsolidity/solidityExecutionFramework.h b/test/libsolidity/solidityExecutionFramework.h index ed317d2f..4da02eb2 100644 --- a/test/libsolidity/solidityExecutionFramework.h +++ b/test/libsolidity/solidityExecutionFramework.h @@ -67,28 +67,6 @@ public: return m_output; } - void compileRequireError(std::string const& _sourceCode, Error::Type _type) - { - m_compiler.reset(false, m_addStandardSources); - m_compiler.addSource("", _sourceCode); - bool foundError = false; - try - { - m_compiler.compile(m_optimize, m_optimizeRuns); - BOOST_REQUIRE(Error::containsErrorOfType(m_compiler.errors(), _type)); - } - catch (Error const& _e) - { - BOOST_REQUIRE(_e.type() == _type); - foundError = true; - } - catch (Exception const& _exception) - { - BOOST_REQUIRE(false); - } - BOOST_REQUIRE(foundError); - } - bytes const& compileAndRun( std::string const& _sourceCode, u256 const& _value = 0, |