@@ -2597,11 +2597,9 @@ class DataReaderUnsupportedTests : public ::testing::Test
25972597/*
25982598 * This test checks that the DataReader methods defined in the standard not yet implemented in FastDDS return
25992599 * ReturnCode_t::RETCODE_UNSUPPORTED. The following methods are checked:
2600- * 1. get_matched_publication_data
2601- * 2. create_querycondition
2602- * 3. get_matched_publications
2603- * 4. get_key_value
2604- * 5. wait_for_historical_data
2600+ * 1. create_querycondition
2601+ * 2. get_key_value
2602+ * 3. wait_for_historical_data
26052603 */
26062604TEST_F (DataReaderUnsupportedTests, UnsupportedDataReaderMethods)
26072605{
@@ -2621,13 +2619,6 @@ TEST_F(DataReaderUnsupportedTests, UnsupportedDataReaderMethods)
26212619
26222620 DataReader* data_reader = subscriber->create_datareader (topic, DATAREADER_QOS_DEFAULT );
26232621 ASSERT_NE (data_reader, nullptr );
2624-
2625- builtin::PublicationBuiltinTopicData publication_data;
2626- InstanceHandle_t publication_handle;
2627- EXPECT_EQ (
2628- ReturnCode_t::RETCODE_UNSUPPORTED ,
2629- data_reader->get_matched_publication_data (publication_data, publication_handle));
2630-
26312622 {
26322623 SampleStateMask sample_states = ANY_SAMPLE_STATE ;
26332624 ViewStateMask view_states = ANY_VIEW_STATE ;
@@ -2644,9 +2635,6 @@ TEST_F(DataReaderUnsupportedTests, UnsupportedDataReaderMethods)
26442635 query_parameters));
26452636 }
26462637
2647- std::vector<InstanceHandle_t> publication_handles;
2648- EXPECT_EQ (ReturnCode_t::RETCODE_UNSUPPORTED , data_reader->get_matched_publications (publication_handles));
2649-
26502638 InstanceHandle_t key_handle;
26512639 EXPECT_EQ (ReturnCode_t::RETCODE_UNSUPPORTED , data_reader->get_key_value (nullptr , key_handle));
26522640
0 commit comments