Skip to content

Commit

Permalink
descgate getpublisher test corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Apr 18, 2024
1 parent 6bd7b83 commit 1897fe6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ecal/tests/cpp/descgate_test/src/getpublisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace
eCAL::Registration::Sample reg_sample;
reg_sample.cmd_type = eCAL::bct_reg_publisher;
reg_sample.topic.tname = topic_name_;
reg_sample.topic.tid = topic_id_;
reg_sample.topic.tid = std::to_string(topic_id_);
reg_sample.topic.tdatatype.name = topic_name_ + "-tdatatype.name";
reg_sample.topic.tdatatype.encoding = topic_name_ + "-tdatatype.encoding";
reg_sample.topic.tdatatype.descriptor = topic_name_ + "-tdatatype.descriptor";
Expand All @@ -45,7 +45,7 @@ namespace
eCAL::Registration::Sample reg_sample;
reg_sample.cmd_type = eCAL::bct_reg_subscriber;
reg_sample.topic.tname = topic_name_;
reg_sample.topic.tid = topic_id_;
reg_sample.topic.tid = std::to_string(topic_id_);
reg_sample.topic.tdatatype.name = topic_name_ + "-tdatatype.name";
reg_sample.topic.tdatatype.encoding = topic_name_ + "-tdatatype.encoding";
reg_sample.topic.tdatatype.descriptor = topic_name_ + "-tdatatype.descriptor";
Expand All @@ -57,7 +57,7 @@ namespace
eCAL::Registration::Sample reg_sample;
reg_sample.cmd_type = eCAL::bct_reg_service;
reg_sample.service.sname = service_name_;
reg_sample.service.sid = service_id_;
reg_sample.service.sid = std::to_string(service_id_);

eCAL::Service::Method method;
method.mname = "method_name";
Expand All @@ -70,7 +70,7 @@ namespace
eCAL::Registration::Sample reg_sample;
reg_sample.cmd_type = eCAL::bct_reg_client;
reg_sample.client.sname = client_name_;
reg_sample.client.sid = service_id_;
reg_sample.client.sid = std::to_string(service_id_);

eCAL::Service::Method method;
method.mname = "method_name";
Expand Down

0 comments on commit 1897fe6

Please sign in to comment.