diff options
Diffstat (limited to 'test/contracts/AuctionRegistrar.cpp')
| -rw-r--r-- | test/contracts/AuctionRegistrar.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/contracts/AuctionRegistrar.cpp b/test/contracts/AuctionRegistrar.cpp index 277de4eb..fb8c1c68 100644 --- a/test/contracts/AuctionRegistrar.cpp +++ b/test/contracts/AuctionRegistrar.cpp @@ -1,18 +1,18 @@ /* - This file is part of cpp-ethereum. + This file is part of solidity. - cpp-ethereum is free software: you can redistribute it and/or modify + solidity is free software: you can redistribute it and/or modify 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. - cpp-ethereum is distributed in the hope that it will be useful, + solidity is distributed in the hope that it will be useful, 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 cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. + along with solidity. If not, see <http://www.gnu.org/licenses/>. */ /** * @author Christian <c@ethdev.com> @@ -27,6 +27,7 @@ #include <test/libsolidity/SolidityExecutionFramework.h> using namespace std; +using namespace dev::test; namespace dev { @@ -213,14 +214,13 @@ contract GlobalRegistrar is Registrar, AuctionSystem { static unique_ptr<bytes> s_compiledRegistrar; -class AuctionRegistrarTestFramework: public ExecutionFramework +class AuctionRegistrarTestFramework: public SolidityExecutionFramework { protected: void deployRegistrar() { if (!s_compiledRegistrar) { - m_optimize = true; m_compiler.reset(false); m_compiler.addSource("", registrarCode); ETH_TEST_REQUIRE_NO_THROW(m_compiler.compile(m_optimize, m_optimizeRuns), "Compiling contract failed"); @@ -230,11 +230,11 @@ protected: BOOST_REQUIRE(!m_output.empty()); } - using ContractInterface = ExecutionFramework::ContractInterface; + using ContractInterface = SolidityExecutionFramework::ContractInterface; class RegistrarInterface: public ContractInterface { public: - RegistrarInterface(ExecutionFramework& _framework): ContractInterface(_framework) {} + RegistrarInterface(SolidityExecutionFramework& _framework): ContractInterface(_framework) {} void reserve(string const& _name) { callString("reserve", _name); |
