未验证 提交 c8808b0c 编写于 作者: W wanderingbort 提交者: GitHub

Merge pull request #1318 from EOSIO/feature/fix-abi-tests

fix abi tests
......@@ -4,6 +4,7 @@
#include <eosiolib/system.h>
#include <eosiolib/memory.hpp>
#include <eosiolib/print.hpp>
#include <eosiolib/varint.hpp>
namespace eosio {
/**
......
......@@ -414,6 +414,8 @@ BOOST_AUTO_TEST_CASE(generator)
const char* all_types = R"=====(
#include <eosiolib/types.hpp>
#include <eosiolib/string.hpp>
#include <eosiolib/asset.hpp>
#include <eosiolib/vector.hpp>
typedef int field;
typedef int struct_def;
......@@ -442,7 +444,7 @@ BOOST_AUTO_TEST_CASE(generator)
fixed_string32 field6;
fixed_string16 field7;
type_name field8;
bytes field9;
eosio::bytes field9;
uint8_t field10;
uint16_t field11;
uint32_t field12;
......@@ -473,9 +475,8 @@ BOOST_AUTO_TEST_CASE(generator)
action_def field37;
table_def field38;
abi_def field39;
nonce field40;
public_key field41;
asset field42;
public_key field40;
eosio::asset field41;
};
)=====";
......@@ -604,12 +605,9 @@ BOOST_AUTO_TEST_CASE(generator)
"type": "abi_def"
},{
"name": "field40",
"type": "nonce"
},{
"name": "field41",
"type": "public_key"
},{
"name": "field42",
"name": "field41",
"type": "asset"
}]
}],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册