updated json abi tests

This commit is contained in:
arkpar 2015-01-31 01:28:43 +01:00
parent 7ed2dd65c8
commit ab366d140c

View File

@ -75,6 +75,7 @@ BOOST_AUTO_TEST_CASE(basic_test)
{ {
"name": "f", "name": "f",
"constant": false, "constant": false,
"type": "function",
"inputs": [ "inputs": [
{ {
"name": "a", "name": "a",
@ -114,6 +115,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods)
{ {
"name": "f", "name": "f",
"constant": false, "constant": false,
"type": "function",
"inputs": [ "inputs": [
{ {
"name": "a", "name": "a",
@ -130,6 +132,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods)
{ {
"name": "g", "name": "g",
"constant": false, "constant": false,
"type": "function",
"inputs": [ "inputs": [
{ {
"name": "b", "name": "b",
@ -158,6 +161,7 @@ BOOST_AUTO_TEST_CASE(multiple_params)
{ {
"name": "f", "name": "f",
"constant": false, "constant": false,
"type": "function",
"inputs": [ "inputs": [
{ {
"name": "a", "name": "a",
@ -192,6 +196,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods_order)
{ {
"name": "c", "name": "c",
"constant": false, "constant": false,
"type": "function",
"inputs": [ "inputs": [
{ {
"name": "b", "name": "b",
@ -208,6 +213,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods_order)
{ {
"name": "f", "name": "f",
"constant": false, "constant": false,
"type": "function",
"inputs": [ "inputs": [
{ {
"name": "a", "name": "a",
@ -237,6 +243,7 @@ BOOST_AUTO_TEST_CASE(const_function)
{ {
"name": "foo", "name": "foo",
"constant": false, "constant": false,
"type": "function",
"inputs": [ "inputs": [
{ {
"name": "a", "name": "a",
@ -257,6 +264,7 @@ BOOST_AUTO_TEST_CASE(const_function)
{ {
"name": "boo", "name": "boo",
"constant": true, "constant": true,
"type": "function",
"inputs": [{ "inputs": [{
"name": "a", "name": "a",
"type": "uint32" "type": "uint32"