Skip to content

Commit b74460e

Browse files
authored
INSTANTIATE_TEST_CASE_P -> INSTANTIATE_TEST_SUITE_P (#293)
1 parent 953fec6 commit b74460e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

joint_trajectory_controller/test/test_trajectory_controller.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,8 +1130,6 @@ TEST_P(TrajectoryControllerTestParameterized, test_hw_states_has_offset_later_co
11301130
executor.cancel();
11311131
}
11321132

1133-
// TODO(anyone): the new gtest version after 1.8.0 uses INSTANTIATE_TEST_SUITE_P
1134-
11351133
// position controllers
11361134
INSTANTIATE_TEST_SUITE_P(
11371135
PositionTrajectoryControllers, TrajectoryControllerTestParameterized,
@@ -1171,7 +1169,7 @@ INSTANTIATE_TEST_SUITE_P(
11711169
std::vector<std::string>({"position", "velocity", "acceleration"}))));
11721170

11731171
// only velocity controller
1174-
INSTANTIATE_TEST_CASE_P(
1172+
INSTANTIATE_TEST_SUITE_P(
11751173
OnlyVelocityTrajectoryControllers, TrajectoryControllerTestParameterized,
11761174
::testing::Values(
11771175
std::make_tuple(

0 commit comments

Comments
 (0)