test:test hlc touch grpc service
This commit is contained in:
parent
11b0609a35
commit
4765a69c49
@ -64,12 +64,12 @@ target_link_libraries(grpc_humanoid_robot_client_test
|
||||
|
||||
|
||||
|
||||
add_executable(grpc_touch_client_test
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/grpc_touch_client_test.cpp
|
||||
add_executable(grpc_hlc_client_test
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/grpc_hlc_client_test.cpp
|
||||
)
|
||||
|
||||
|
||||
target_link_libraries(grpc_touch_client_test
|
||||
target_link_libraries(grpc_hlc_client_test
|
||||
PRIVATE
|
||||
cmvr_es::device::canbus
|
||||
cmvr_es::device::ti5motor
|
||||
|
||||
@ -13,7 +13,7 @@ using namespace cmvr::api;
|
||||
|
||||
TEST(GrpcHlcClientTest, MyTest) {
|
||||
// 连接服务端
|
||||
auto channel = grpc::CreateChannel("0.0.0.0:50052", grpc::InsecureChannelCredentials());
|
||||
auto channel = grpc::CreateChannel("0.0.0.0:50055", grpc::InsecureChannelCredentials());
|
||||
auto stub = cmvr::api::HlcService::NewStub(channel);
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user