aboutsummaryrefslogtreecommitdiffstats
path: root/solidityJSONInterfaceTest.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-03 23:40:37 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-03 23:40:37 +0800
commit4eefbc941ef593d7649491a5f2681ecc2a61cfbe (patch)
tree5812f8d440e3fd615f16bb82af4db83260c0d288 /solidityJSONInterfaceTest.cpp
parent2f7b263f9bc5e6bb75d0974721ca6b90cc9001e9 (diff)
downloaddexon-solidity-4eefbc941ef593d7649491a5f2681ecc2a61cfbe.tar.gz
dexon-solidity-4eefbc941ef593d7649491a5f2681ecc2a61cfbe.tar.zst
dexon-solidity-4eefbc941ef593d7649491a5f2681ecc2a61cfbe.zip
Moving all Interface and Documentation functionality to own class
- Creating the Interface Handler class which will take care of the parsing of Natspec comments and of interfacing with and outputing to JSON files. - Will also handle the ABI interface creation
Diffstat (limited to 'solidityJSONInterfaceTest.cpp')
-rw-r--r--solidityJSONInterfaceTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/solidityJSONInterfaceTest.cpp b/solidityJSONInterfaceTest.cpp
index f46a3ad3..8fe0ea65 100644
--- a/solidityJSONInterfaceTest.cpp
+++ b/solidityJSONInterfaceTest.cpp
@@ -50,7 +50,7 @@ public:
msg += *extra;
BOOST_FAIL(msg);
}
- std::string generatedInterfaceString = m_compilerStack.getInterface();
+ std::string generatedInterfaceString = *m_compilerStack.getJsonDocumentation(ABI_INTERFACE);
Json::Value generatedInterface;
m_reader.parse(generatedInterfaceString, generatedInterface);
Json::Value expectedInterface;