diff --git a/test/blackbox/common/DDSBlackboxTestsFindTopic.cpp b/test/blackbox/common/DDSBlackboxTestsFindTopic.cpp index ce274a7aab7..ae3cbda37c6 100644 --- a/test/blackbox/common/DDSBlackboxTestsFindTopic.cpp +++ b/test/blackbox/common/DDSBlackboxTestsFindTopic.cpp @@ -98,10 +98,6 @@ class DDSFindTopicTest : public testing::Test return false; } - private: - - using TopicDataType::getSerializedSizeProvider; - using TopicDataType::serialize; }; public: diff --git a/test/performance/latency/LatencyTestTypes.hpp b/test/performance/latency/LatencyTestTypes.hpp index a675110fcbf..b288cd8b6fa 100644 --- a/test/performance/latency/LatencyTestTypes.hpp +++ b/test/performance/latency/LatencyTestTypes.hpp @@ -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 diff --git a/test/performance/throughput/ThroughputTypes.hpp b/test/performance/throughput/ThroughputTypes.hpp index 1ff9f06a2ac..d62abd894ae 100644 --- a/test/performance/throughput/ThroughputTypes.hpp +++ b/test/performance/throughput/ThroughputTypes.hpp @@ -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 diff --git a/test/unittest/dds/status/ListenerTests.cpp b/test/unittest/dds/status/ListenerTests.cpp index 61afbb40dcf..ed4c3e962b1 100644 --- a/test/unittest/dds/status/ListenerTests.cpp +++ b/test/unittest/dds/status/ListenerTests.cpp @@ -535,10 +535,6 @@ class TopicDataTypeMock : public TopicDataType return true; } -private: - - using TopicDataType::getSerializedSizeProvider; - using TopicDataType::serialize; }; class UserListeners : public ::testing::Test diff --git a/test/unittest/dds/subscriber/DataReaderHistoryTests.cpp b/test/unittest/dds/subscriber/DataReaderHistoryTests.cpp index 5efd99bf2b6..b80e24c6847 100644 --- a/test/unittest/dds/subscriber/DataReaderHistoryTests.cpp +++ b/test/unittest/dds/subscriber/DataReaderHistoryTests.cpp @@ -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 ( - void* data, DataRepresentationId_t data_representation)); - MOCK_METHOD1(getSerializedSizeProvider, std::function ( void* data)); diff --git a/test/unittest/dds/topic/TopicTests.cpp b/test/unittest/dds/topic/TopicTests.cpp index 7f004619090..a5bb4c4aa9f 100644 --- a/test/unittest/dds/topic/TopicTests.cpp +++ b/test/unittest/dds/topic/TopicTests.cpp @@ -124,10 +124,6 @@ class TopicDataTypeMock : public TopicDataType return true; } -private: - - using TopicDataType::getSerializedSizeProvider; - using TopicDataType::serialize; }; TEST(TopicTests, ChangeTopicQos)