Skip to content

Commit

Permalink
Refs #18051. Fix statistics mock
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
  • Loading branch information
richiware committed Apr 11, 2023
1 parent eceabf0 commit 3b12f56
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class DomainParticipantImpl
{
participant_->impl_ = this;

guid_.guidPrefix.value[11] = 1;
eprosima::fastrtps::TopicAttributes top_attr;
eprosima::fastrtps::xmlparser::XMLProfileManager::getDefaultTopicAttributes(top_attr);
default_topic_qos_.history() = top_attr.historyQos;
Expand Down Expand Up @@ -354,9 +355,9 @@ class DomainParticipantImpl
}

MOCK_METHOD5(create_contentfilteredtopic, ContentFilteredTopic * (
const std::string& name,
const std::string & name,
Topic * related_topic,
const std::string& filter_expression,
const std::string & filter_expression,
const std::vector<std::string>& expression_parameters,
const char* filter_class_name));

Expand All @@ -377,7 +378,7 @@ class DomainParticipantImpl
const char* filter_class_name));

MOCK_METHOD1(ignore_participant, bool (
const fastrtps::rtps::InstanceHandle_t& handle));
const fastrtps::rtps::InstanceHandle_t & handle));


TopicDescription* lookup_topicdescription(
Expand Down

0 comments on commit 3b12f56

Please sign in to comment.