Skip to content

Commit

Permalink
Refs #21745. Add unittests
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
  • Loading branch information
juanlofer-eprosima committed Oct 2, 2024
1 parent ae7b5a9 commit 4bfe8b3
Show file tree
Hide file tree
Showing 8 changed files with 536 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,14 @@ class DomainParticipantImpl
return RETCODE_OK;
}

ReturnCode_t get_publisher_qos_from_xml(
const std::string& /*xml*/,
PublisherQos& /*qos*/,
const std::string& /*profile_name*/) const
{
return RETCODE_OK;
}

ReturnCode_t set_default_subscriber_qos(
const SubscriberQos& /*qos*/)
{
Expand All @@ -497,6 +505,14 @@ class DomainParticipantImpl
return RETCODE_OK;
}

ReturnCode_t get_subscriber_qos_from_xml(
const std::string& /*xml*/,
SubscriberQos& /*qos*/,
const std::string& /*profile_name*/) const
{
return RETCODE_OK;
}

ReturnCode_t set_default_topic_qos(
const TopicQos& /*qos*/)
{
Expand All @@ -515,20 +531,63 @@ class DomainParticipantImpl
return RETCODE_OK;
}

ReturnCode_t get_topic_qos_from_profile(
const std::string& /*profile_name*/,
TopicQos& /*qos*/,
std::string& /*topic_name*/,
std::string& /*topic_data_type*/) const
{
return RETCODE_OK;
}

ReturnCode_t get_topic_qos_from_xml(
const std::string& /*xml*/,
TopicQos& /*qos*/,
const std::string& /*profile_name*/) const
{
return RETCODE_OK;
}

ReturnCode_t get_topic_qos_from_xml(
const std::string& /*xml*/,
TopicQos& /*qos*/,
std::string& /*topic_name*/,
std::string& /*topic_data_type*/,
const std::string& /*profile_name*/) const
{
return RETCODE_OK;
}

ReturnCode_t get_replier_qos_from_profile(
const std::string& /*profile_name*/,
ReplierQos& /*qos*/) const
{
return RETCODE_OK;
}

ReturnCode_t get_replier_qos_from_xml(
const std::string& /*xml*/,
ReplierQos& /*qos*/,
const std::string& /*profile_name*/) const
{
return RETCODE_OK;
}

ReturnCode_t get_requester_qos_from_profile(
const std::string& /*profile_name*/,
RequesterQos& /*qos*/) const
{
return RETCODE_OK;
}

ReturnCode_t get_requester_qos_from_xml(
const std::string& /*xml*/,
RequesterQos& /*qos*/,
const std::string& /*profile_name*/) const
{
return RETCODE_OK;
}

bool contains_entity(
const InstanceHandle_t& /*handle*/,
bool /*recursive*/) const
Expand Down
1 change: 1 addition & 0 deletions test/unittest/dds/participant/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ target_compile_definitions(ParticipantTests PRIVATE
target_include_directories(ParticipantTests PRIVATE
${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/test/utils
)
target_link_libraries(ParticipantTests fastdds fastcdr foonathan_memory
GTest::gmock
Expand Down
Loading

0 comments on commit 4bfe8b3

Please sign in to comment.