diff options
author | chriseth <chris@ethereum.org> | 2017-05-19 23:55:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 23:55:33 +0800 |
commit | 56424bb2026ab484470b5e0e6f1ddb2ab3c7ac85 (patch) | |
tree | 4ba6d697307c932957f7fe95d3d6b80797030e00 /test/libsolidity | |
parent | 20125c18ba6bd8876b24d988dd299e309fda8c83 (diff) | |
parent | bbef2cd4a8c4dd3ad0d1e16d6070a88a5f83fcc6 (diff) | |
download | dexon-solidity-56424bb2026ab484470b5e0e6f1ddb2ab3c7ac85.tar dexon-solidity-56424bb2026ab484470b5e0e6f1ddb2ab3c7ac85.tar.gz dexon-solidity-56424bb2026ab484470b5e0e6f1ddb2ab3c7ac85.tar.bz2 dexon-solidity-56424bb2026ab484470b5e0e6f1ddb2ab3c7ac85.tar.lz dexon-solidity-56424bb2026ab484470b5e0e6f1ddb2ab3c7ac85.tar.xz dexon-solidity-56424bb2026ab484470b5e0e6f1ddb2ab3c7ac85.tar.zst dexon-solidity-56424bb2026ab484470b5e0e6f1ddb2ab3c7ac85.zip |
Merge pull request #2262 from ethereum/interface-cleanup
Cleanup the external interfaces (ABI and Natspec)
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityABIJSON.cpp | 2 | ||||
-rw-r--r-- | test/libsolidity/SolidityNatspecJSON.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/SolidityABIJSON.cpp b/test/libsolidity/SolidityABIJSON.cpp index bdcc5b10..1ebccc13 100644 --- a/test/libsolidity/SolidityABIJSON.cpp +++ b/test/libsolidity/SolidityABIJSON.cpp @@ -44,7 +44,7 @@ public: { ETH_TEST_REQUIRE_NO_THROW(m_compilerStack.parseAndAnalyze("pragma solidity >=0.0;\n" + _code), "Parsing contract failed"); - Json::Value generatedInterface = m_compilerStack.metadata("", DocumentationType::ABIInterface); + Json::Value generatedInterface = m_compilerStack.contractABI(""); Json::Value expectedInterface; m_reader.parse(_expectedInterfaceString, expectedInterface); BOOST_CHECK_MESSAGE( diff --git a/test/libsolidity/SolidityNatspecJSON.cpp b/test/libsolidity/SolidityNatspecJSON.cpp index 78c1a0ee..2a7376b9 100644 --- a/test/libsolidity/SolidityNatspecJSON.cpp +++ b/test/libsolidity/SolidityNatspecJSON.cpp @@ -49,9 +49,9 @@ public: Json::Value generatedDocumentation; if (_userDocumentation) - generatedDocumentation = m_compilerStack.metadata("", DocumentationType::NatspecUser); + generatedDocumentation = m_compilerStack.natspec("", DocumentationType::NatspecUser); else - generatedDocumentation = m_compilerStack.metadata("", DocumentationType::NatspecDev); + generatedDocumentation = m_compilerStack.natspec("", DocumentationType::NatspecDev); Json::Value expectedDocumentation; m_reader.parse(_expectedDocumentationString, expectedDocumentation); BOOST_CHECK_MESSAGE( |