Skip to content

Commit

Permalink
Refs #20679: Apply Miguel's suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <[email protected]>
  • Loading branch information
EduPonz committed Apr 2, 2024
1 parent 1c00b30 commit 670c7c7
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 45 deletions.
4 changes: 0 additions & 4 deletions test/blackbox/common/DDSBlackboxTestsFindTopic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ class DDSFindTopicTest : public testing::Test
return false;
}

private:

using TopicDataType::getSerializedSizeProvider;
using TopicDataType::serialize;
};

public:
Expand Down
4 changes: 0 additions & 4 deletions test/performance/latency/LatencyTestTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ class LatencyDataType : public eprosima::fastdds::dds::TopicDataType

// Name
static const std::string type_name_;

private:

using eprosima::fastrtps::TopicDataType::is_plain;
};

enum TESTCOMMAND : uint32_t
Expand Down
4 changes: 0 additions & 4 deletions test/performance/throughput/ThroughputTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,6 @@ class ThroughputDataType : public eprosima::fastrtps::TopicDataType

// Name
static const std::string type_name_;

private:

using eprosima::fastrtps::TopicDataType::is_plain;
};

enum e_Command : uint32_t
Expand Down
3 changes: 0 additions & 3 deletions test/unittest/dds/participant/ParticipantTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,6 @@ class LoanableTopicDataTypeMock : public TopicDataType
return true;
}

private:

using TopicDataType::is_plain;
};

class BarType
Expand Down
1 change: 0 additions & 1 deletion test/unittest/dds/publisher/DataWriterTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,6 @@ class LoanableTypeSupport : public TopicDataType
public:

typedef LoanableType type;
using TopicDataType::is_plain;

LoanableTypeSupport()
: TopicDataType()
Expand Down
3 changes: 0 additions & 3 deletions test/unittest/dds/publisher/PublisherTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,6 @@ class LoanableTopicDataTypeMock : public TopicDataType
return true;
}

private:

using TopicDataType::is_plain;
};


Expand Down
4 changes: 0 additions & 4 deletions test/unittest/dds/status/ListenerTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,10 +535,6 @@ class TopicDataTypeMock : public TopicDataType
return true;
}

private:

using TopicDataType::getSerializedSizeProvider;
using TopicDataType::serialize;
};

class UserListeners : public ::testing::Test
Expand Down
8 changes: 0 additions & 8 deletions test/unittest/dds/subscriber/DataReaderHistoryTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,10 @@ class TestType : public TopicDataType
void* data,
eprosima::fastrtps::rtps::SerializedPayload_t* payload));

MOCK_METHOD3(serialize, bool(
void* data,
eprosima::fastrtps::rtps::SerializedPayload_t* payload,
DataRepresentationId_t data_representation));

MOCK_METHOD2(deserialize, bool(
eprosima::fastrtps::rtps::SerializedPayload_t* payload,
void* data));

MOCK_METHOD2(getSerializedSizeProvider, std::function<uint32_t()> (
void* data, DataRepresentationId_t data_representation));

MOCK_METHOD1(getSerializedSizeProvider, std::function<uint32_t()> (
void* data));

Expand Down
3 changes: 0 additions & 3 deletions test/unittest/dds/subscriber/FooBoundedTypeSupport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ class FooBoundedTypeSupport : public TopicDataType
return false;
}

private:

using TopicDataType::is_plain;
};

} // namespace dds
Expand Down
3 changes: 0 additions & 3 deletions test/unittest/dds/subscriber/FooTypeSupport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ class FooTypeSupport : public TopicDataType
return true;
}

private:

using TopicDataType::is_plain;
};

} // namespace dds
Expand Down
4 changes: 0 additions & 4 deletions test/unittest/dds/topic/TopicTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,6 @@ class TopicDataTypeMock : public TopicDataType
return true;
}

private:

using TopicDataType::getSerializedSizeProvider;
using TopicDataType::serialize;
};

TEST(TopicTests, ChangeTopicQos)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ class TopicDataTypeMock : public eprosima::fastdds::dds::TopicDataType
return true;
}

private:

using eprosima::fastdds::dds::TopicDataType::getSerializedSizeProvider;
using eprosima::fastdds::dds::TopicDataType::serialize;
};

class StatisticsDomainParticipantTests : public ::testing::Test
Expand Down

0 comments on commit 670c7c7

Please sign in to comment.