@@ -135,14 +135,6 @@ TYPED_TEST_SUITE(TestExecutorsStable, StandardExecutors, ExecutorTypeNames);
135135TYPED_TEST (TestExecutors, detachOnDestruction)
136136{
137137 using ExecutorType = TypeParam;
138- // rmw_connextdds doesn't support events-executor
139- if (
140- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
141- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
142- {
143- GTEST_SKIP ();
144- }
145-
146138 {
147139 ExecutorType executor;
148140 executor.add_node (this ->node );
@@ -159,14 +151,6 @@ TYPED_TEST(TestExecutors, detachOnDestruction)
159151TYPED_TEST (TestExecutorsStable, addTemporaryNode)
160152{
161153 using ExecutorType = TypeParam;
162- // rmw_connextdds doesn't support events-executor
163- if (
164- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
165- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
166- {
167- GTEST_SKIP ();
168- }
169-
170154 ExecutorType executor;
171155
172156 {
@@ -187,14 +171,6 @@ TYPED_TEST(TestExecutorsStable, addTemporaryNode)
187171TYPED_TEST (TestExecutors, emptyExecutor)
188172{
189173 using ExecutorType = TypeParam;
190- // rmw_connextdds doesn't support events-executor
191- if (
192- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
193- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
194- {
195- GTEST_SKIP ();
196- }
197-
198174 ExecutorType executor;
199175 std::thread spinner ([&]() {EXPECT_NO_THROW (executor.spin ());});
200176 std::this_thread::sleep_for (50ms);
@@ -206,14 +182,6 @@ TYPED_TEST(TestExecutors, emptyExecutor)
206182TYPED_TEST (TestExecutors, addNodeTwoExecutors)
207183{
208184 using ExecutorType = TypeParam;
209- // rmw_connextdds doesn't support events-executor
210- if (
211- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
212- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
213- {
214- GTEST_SKIP ();
215- }
216-
217185 ExecutorType executor1;
218186 ExecutorType executor2;
219187 EXPECT_NO_THROW (executor1.add_node (this ->node ));
@@ -225,14 +193,6 @@ TYPED_TEST(TestExecutors, addNodeTwoExecutors)
225193TYPED_TEST (TestExecutors, spinWithTimer)
226194{
227195 using ExecutorType = TypeParam;
228- // rmw_connextdds doesn't support events-executor
229- if (
230- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
231- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
232- {
233- GTEST_SKIP ();
234- }
235-
236196 ExecutorType executor;
237197
238198 bool timer_completed = false ;
@@ -256,14 +216,6 @@ TYPED_TEST(TestExecutors, spinWithTimer)
256216TYPED_TEST (TestExecutors, spinWhileAlreadySpinning)
257217{
258218 using ExecutorType = TypeParam;
259- // rmw_connextdds doesn't support events-executor
260- if (
261- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
262- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
263- {
264- GTEST_SKIP ();
265- }
266-
267219 ExecutorType executor;
268220 executor.add_node (this ->node );
269221
@@ -291,14 +243,6 @@ TYPED_TEST(TestExecutors, spinWhileAlreadySpinning)
291243TYPED_TEST (TestExecutors, testSpinUntilFutureComplete)
292244{
293245 using ExecutorType = TypeParam;
294- // rmw_connextdds doesn't support events-executor
295- if (
296- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
297- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
298- {
299- GTEST_SKIP ();
300- }
301-
302246 ExecutorType executor;
303247 executor.add_node (this ->node );
304248
@@ -322,14 +266,6 @@ TYPED_TEST(TestExecutors, testSpinUntilFutureComplete)
322266TYPED_TEST (TestExecutors, testSpinUntilSharedFutureComplete)
323267{
324268 using ExecutorType = TypeParam;
325- // rmw_connextdds doesn't support events-executor
326- if (
327- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
328- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
329- {
330- GTEST_SKIP ();
331- }
332-
333269 ExecutorType executor;
334270 executor.add_node (this ->node );
335271
@@ -354,14 +290,6 @@ TYPED_TEST(TestExecutors, testSpinUntilSharedFutureComplete)
354290TYPED_TEST (TestExecutors, testSpinUntilFutureCompleteNoTimeout)
355291{
356292 using ExecutorType = TypeParam;
357- // rmw_connextdds doesn't support events-executor
358- if (
359- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
360- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
361- {
362- GTEST_SKIP ();
363- }
364-
365293 ExecutorType executor;
366294 executor.add_node (this ->node );
367295
@@ -409,14 +337,6 @@ TYPED_TEST(TestExecutors, testSpinUntilFutureCompleteNoTimeout)
409337TYPED_TEST (TestExecutors, testSpinUntilFutureCompleteWithTimeout)
410338{
411339 using ExecutorType = TypeParam;
412- // rmw_connextdds doesn't support events-executor
413- if (
414- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
415- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
416- {
417- GTEST_SKIP ();
418- }
419-
420340 ExecutorType executor;
421341 executor.add_node (this ->node );
422342
@@ -529,14 +449,6 @@ class TestWaitable : public rclcpp::Waitable
529449TYPED_TEST (TestExecutors, spinAll)
530450{
531451 using ExecutorType = TypeParam;
532- // rmw_connextdds doesn't support events-executor
533- if (
534- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
535- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
536- {
537- GTEST_SKIP ();
538- }
539-
540452 ExecutorType executor;
541453 auto waitable_interfaces = this ->node ->get_node_waitables_interface ();
542454 auto my_waitable = std::make_shared<TestWaitable>();
@@ -579,14 +491,6 @@ TYPED_TEST(TestExecutors, spinAll)
579491TYPED_TEST (TestExecutors, spinSome)
580492{
581493 using ExecutorType = TypeParam;
582- // rmw_connextdds doesn't support events-executor
583- if (
584- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
585- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
586- {
587- GTEST_SKIP ();
588- }
589-
590494 ExecutorType executor;
591495 auto waitable_interfaces = this ->node ->get_node_waitables_interface ();
592496 auto my_waitable = std::make_shared<TestWaitable>();
@@ -629,14 +533,6 @@ TYPED_TEST(TestExecutors, spinSome)
629533TYPED_TEST (TestExecutors, testSpinNodeUntilFutureCompleteNodeBasePtr)
630534{
631535 using ExecutorType = TypeParam;
632- // rmw_connextdds doesn't support events-executor
633- if (
634- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
635- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
636- {
637- GTEST_SKIP ();
638- }
639-
640536 ExecutorType executor;
641537
642538 std::promise<bool > promise;
@@ -653,14 +549,6 @@ TYPED_TEST(TestExecutors, testSpinNodeUntilFutureCompleteNodeBasePtr)
653549TYPED_TEST (TestExecutors, testSpinNodeUntilFutureCompleteNodePtr)
654550{
655551 using ExecutorType = TypeParam;
656- // rmw_connextdds doesn't support events-executor
657- if (
658- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
659- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
660- {
661- GTEST_SKIP ();
662- }
663-
664552 ExecutorType executor;
665553
666554 std::promise<bool > promise;
@@ -677,14 +565,6 @@ TYPED_TEST(TestExecutors, testSpinNodeUntilFutureCompleteNodePtr)
677565TYPED_TEST (TestExecutors, testSpinUntilFutureCompleteInterrupted)
678566{
679567 using ExecutorType = TypeParam;
680- // rmw_connextdds doesn't support events-executor
681- if (
682- std::is_same<ExecutorType, rclcpp::experimental::executors::EventsExecutor>() &&
683- std::string (rmw_get_implementation_identifier ()).find (" rmw_connextdds" ) == 0 )
684- {
685- GTEST_SKIP ();
686- }
687-
688568 ExecutorType executor;
689569 executor.add_node (this ->node );
690570
0 commit comments