diff options
author | arkpar <arkadiy@ethdev.com> | 2015-01-31 08:28:43 +0800 |
---|---|---|
committer | arkpar <arkadiy@ethdev.com> | 2015-01-31 08:28:43 +0800 |
commit | ab366d140c087b59854f8760e6929f545cc8f903 (patch) | |
tree | 52564eca1674dd406b41ac3fd1d26f2de2b6a8b9 /SolidityABIJSON.cpp | |
parent | 7ed2dd65c8ea797de068940d27c19dc5deebc447 (diff) | |
download | dexon-solidity-ab366d140c087b59854f8760e6929f545cc8f903.tar.gz dexon-solidity-ab366d140c087b59854f8760e6929f545cc8f903.tar.zst dexon-solidity-ab366d140c087b59854f8760e6929f545cc8f903.zip |
updated json abi tests
Diffstat (limited to 'SolidityABIJSON.cpp')
-rw-r--r-- | SolidityABIJSON.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SolidityABIJSON.cpp b/SolidityABIJSON.cpp index edafb168..aa5fcb0e 100644 --- a/SolidityABIJSON.cpp +++ b/SolidityABIJSON.cpp @@ -75,6 +75,7 @@ BOOST_AUTO_TEST_CASE(basic_test) { "name": "f", "constant": false, + "type": "function", "inputs": [ { "name": "a", @@ -114,6 +115,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods) { "name": "f", "constant": false, + "type": "function", "inputs": [ { "name": "a", @@ -130,6 +132,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods) { "name": "g", "constant": false, + "type": "function", "inputs": [ { "name": "b", @@ -158,6 +161,7 @@ BOOST_AUTO_TEST_CASE(multiple_params) { "name": "f", "constant": false, + "type": "function", "inputs": [ { "name": "a", @@ -192,6 +196,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods_order) { "name": "c", "constant": false, + "type": "function", "inputs": [ { "name": "b", @@ -208,6 +213,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods_order) { "name": "f", "constant": false, + "type": "function", "inputs": [ { "name": "a", @@ -237,6 +243,7 @@ BOOST_AUTO_TEST_CASE(const_function) { "name": "foo", "constant": false, + "type": "function", "inputs": [ { "name": "a", @@ -257,6 +264,7 @@ BOOST_AUTO_TEST_CASE(const_function) { "name": "boo", "constant": true, + "type": "function", "inputs": [{ "name": "a", "type": "uint32" |