Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
YottaChain
YTBP
提交
a2a7e154
Y
YTBP
项目概览
YottaChain
/
YTBP
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
YTBP
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a2a7e154
编写于
4月 27, 2018
作者:
K
Khaled Al-Hassanieh
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'slim' of github.com:EOSIO/eos into slim
上级
2cf4a65b
26afa696
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
3 addition
and
8 deletion
+3
-8
tests/CMakeLists.txt
tests/CMakeLists.txt
+2
-2
tests/tests/wallet_tests.cpp
tests/tests/wallet_tests.cpp
+0
-0
unittests/CMakeLists.txt
unittests/CMakeLists.txt
+1
-4
unittests/multisig_tests.cpp
unittests/multisig_tests.cpp
+0
-2
未找到文件。
tests/CMakeLists.txt
浏览文件 @
a2a7e154
...
...
@@ -19,8 +19,8 @@ include_directories("${CMAKE_SOURCE_DIR}/plugins/wallet_plugin/include")
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/config.hpp.in
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/config.hpp ESCAPE_QUOTES
)
# Temporarily remove some tests to get chain_test to compile
#file(GLOB UNIT_TESTS "chain_tests/*.cpp" "api_tests/*.cpp" "wasm_tests/*.cpp")
file
(
GLOB UNIT_TESTS
"api_tests/*.cpp"
)
#file(GLOB UNIT_TESTS "
tests/wallet_tests.cpp" "
chain_tests/*.cpp" "api_tests/*.cpp" "wasm_tests/*.cpp")
file
(
GLOB UNIT_TESTS
"
tests/wallet_tests.cpp"
"
api_tests/*.cpp"
)
add_executable
(
chain_test
${
UNIT_TESTS
}
${
WASM_UNIT_TESTS
}
common/main.cpp
)
target_link_libraries
(
chain_test eosio_testing eosio_chain chainbase eos_utilities chain_plugin wallet_plugin abi_generator fc
${
PLATFORM_SPECIFIC_LIBS
}
)
...
...
unit
tests/wallet_tests.cpp
→
tests/
tests/wallet_tests.cpp
浏览文件 @
a2a7e154
文件已移动
unittests/CMakeLists.txt
浏览文件 @
a2a7e154
...
...
@@ -15,16 +15,13 @@ set( CMAKE_CXX_STANDARD 14 )
include_directories
(
"
${
CMAKE_BINARY_DIR
}
/contracts"
)
include_directories
(
"
${
CMAKE_SOURCE_DIR
}
/contracts"
)
include_directories
(
"
${
CMAKE_SOURCE_DIR
}
/libraries/testing/include"
)
include_directories
(
"
${
CMAKE_SOURCE_DIR
}
/plugins/chain_plugin/include"
)
include_directories
(
"
${
CMAKE_SOURCE_DIR
}
/plugins/wallet_plugin/include"
)
include_directories
(
"
${
CMAKE_SOURCE_DIR
}
/libraries/appbase/include"
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/config.hpp.in
${
CMAKE_CURRENT_SOURCE_DIR
}
/config.hpp ESCAPE_QUOTES
)
file
(
GLOB UNIT_TESTS
"*.cpp"
)
add_executable
(
unit_test
${
UNIT_TESTS
}
${
WASM_UNIT_TESTS
}
)
target_link_libraries
(
unit_test eosio_chain chainbase eosio_testing eos_utilities
chain_plugin wallet_plugin
abi_generator fc
${
PLATFORM_SPECIFIC_LIBS
}
)
target_link_libraries
(
unit_test eosio_chain chainbase eosio_testing eos_utilities abi_generator fc
${
PLATFORM_SPECIFIC_LIBS
}
)
target_include_directories
(
unit_test PUBLIC
${
CMAKE_BINARY_DIR
}
/contracts
${
CMAKE_CURRENT_BINARY_DIR
}
/tests/contracts
)
target_include_directories
(
unit_test PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
/wasm_tests
)
...
...
unittests/multisig_tests.cpp
浏览文件 @
a2a7e154
...
...
@@ -2,7 +2,6 @@
#include <eosio/testing/tester.hpp>
#include <eosio/chain/abi_serializer.hpp>
#include <eosio/chain/wast_to_wasm.hpp>
#include <eosio/chain_plugin/chain_plugin.hpp>
#include <eosio.msig/eosio.msig.wast.hpp>
#include <eosio.msig/eosio.msig.abi.hpp>
...
...
@@ -17,7 +16,6 @@
using
namespace
eosio
::
testing
;
using
namespace
eosio
;
using
namespace
eosio
::
chain
;
using
namespace
eosio
::
chain_apis
;
using
namespace
eosio
::
testing
;
using
namespace
fc
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录