Split out Solidity-specific part of ExecutionFramework

This commit is contained in:
Alex Beregszaszi
2016-11-29 21:54:27 +00:00
parent 4af30cc518
commit a226db7338
10 changed files with 441 additions and 349 deletions
+3 -3
View File
@@ -213,7 +213,7 @@ contract GlobalRegistrar is Registrar, AuctionSystem {
static unique_ptr<bytes> s_compiledRegistrar;
class AuctionRegistrarTestFramework: public ExecutionFramework
class AuctionRegistrarTestFramework: public SolidityExecutionFramework
{
protected:
void deployRegistrar()
@@ -229,11 +229,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);
+1 -1
View File
@@ -125,7 +125,7 @@ contract FixedFeeRegistrar is Registrar {
static unique_ptr<bytes> s_compiledRegistrar;
class RegistrarTestFramework: public ExecutionFramework
class RegistrarTestFramework: public SolidityExecutionFramework
{
protected:
void deployRegistrar()
+1 -1
View File
@@ -435,7 +435,7 @@ contract Wallet is multisig, multiowned, daylimit {
static unique_ptr<bytes> s_compiledWallet;
class WalletTestFramework: public ExecutionFramework
class WalletTestFramework: public SolidityExecutionFramework
{
protected:
void deployWallet(