updated unit test

This commit is contained in:
Liana Husikyan 2015-05-11 16:24:04 +02:00
parent 342afb10d5
commit 78a343d2ff

View File

@ -60,10 +60,14 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio
method["type"] = "function";
method["name"] = it.second->getDeclaration().getName();
method["constant"] = it.second->isConstant();
method["inputs"] = populateParameters(externalFunctionType->getParameterNames(),
externalFunctionType->getParameterTypeNames());
method["outputs"] = populateParameters(externalFunctionType->getReturnParameterNames(),
externalFunctionType->getReturnParameterTypeNames());
method["inputs"] = populateParameters(
externalFunctionType->getParameterNames(),
externalFunctionType->getParameterTypeNames()
);
method["outputs"] = populateParameters(
externalFunctionType->getReturnParameterNames(),
externalFunctionType->getReturnParameterTypeNames()
);
abi.append(method);
}
if (_contractDef.getConstructor())