diff --git a/test/common_test/world_features.cc b/test/common_test/world_features.cc index b9d7d0011..b4d3b784d 100644 --- a/test/common_test/world_features.cc +++ b/test/common_test/world_features.cc @@ -77,13 +77,10 @@ using GravityFeatures = gz::physics::FeatureList< gz::physics::ForwardStep >; -using GravityFeaturesTestTypes = - ::testing::Types; -TYPED_TEST_SUITE(WorldFeaturesTest, - GravityFeatures,); +using WorldFeaturesTestGravity = WorldFeaturesTest; ///////////////////////////////////////////////// -TYPED_TEST(WorldFeaturesTest, GravityFeatures) +TEST_F(WorldFeaturesTestGravity, GravityFeatures) { for (const std::string &name : this->pluginNames) { @@ -182,19 +179,18 @@ TYPED_TEST(WorldFeaturesTest, GravityFeatures) } } -struct WorldModelFeatureList - : gz::physics::FeatureList -{ -}; +using WorldModelFeatureList = gz::physics::FeatureList< + GravityFeatures, + gz::physics::WorldModelFeature, + gz::physics::RemoveEntities, + gz::physics::GetNestedModelFromModel, + gz::physics::sdf::ConstructSdfLink, + gz::physics::sdf::ConstructSdfJoint, + gz::physics::sdf::ConstructSdfModel, + gz::physics::sdf::ConstructSdfNestedModel, + gz::physics::ConstructEmptyLinkFeature, + gz::physics::ConstructEmptyNestedModelFeature +>; class WorldModelTest : public WorldFeaturesTest {