Skip to content

Commit

Permalink
Use INSTANTIATE_TEST_SUITE_P instead of deprecated -INSTANTIATE_TEST_…
Browse files Browse the repository at this point in the history
…CASE_P

Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Jan 4, 2021
1 parent 1b81a5a commit b77ebe2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/EntityComponentManager_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2137,5 +2137,5 @@ TEST_P(EntityComponentManagerFixture, SetEntityCreateOffset)

// Run multiple times. We want to make sure that static globals don't cause
// problems.
INSTANTIATE_TEST_CASE_P(EntityComponentManagerRepeat,
INSTANTIATE_TEST_SUITE_P(EntityComponentManagerRepeat,
EntityComponentManagerFixture, ::testing::Range(1, 10));
2 changes: 1 addition & 1 deletion src/Server_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -996,4 +996,4 @@ TEST_P(ServerFixture, AddResourcePaths)

// Run multiple times. We want to make sure that static globals don't cause
// problems.
INSTANTIATE_TEST_CASE_P(ServerRepeat, ServerFixture, ::testing::Range(1, 2));
INSTANTIATE_TEST_SUITE_P(ServerRepeat, ServerFixture, ::testing::Range(1, 2));
2 changes: 1 addition & 1 deletion src/SimulationRunner_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1294,5 +1294,5 @@ TEST_P(SimulationRunnerTest, GenerateWorldSdf)

// Run multiple times. We want to make sure that static globals don't cause
// problems.
INSTANTIATE_TEST_CASE_P(ServerRepeat, SimulationRunnerTest,
INSTANTIATE_TEST_SUITE_P(ServerRepeat, SimulationRunnerTest,
::testing::Range(1, 2));
2 changes: 1 addition & 1 deletion test/integration/diff_drive_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -418,5 +418,5 @@ TEST_P(DiffDriveTest, OdomCustomFrameId)
}

// Run multiple times
INSTANTIATE_TEST_CASE_P(ServerRepeat, DiffDriveTest,
INSTANTIATE_TEST_SUITE_P(ServerRepeat, DiffDriveTest,
::testing::Range(1, 2));
2 changes: 1 addition & 1 deletion test/integration/examples_build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ TEST_P(ExamplesBuild, Build)
}

//////////////////////////////////////////////////
INSTANTIATE_TEST_CASE_P(Plugins, ExamplesBuild, ::testing::Values(
INSTANTIATE_TEST_SUITE_P(Plugins, ExamplesBuild, ::testing::Values(
"plugin",
"standalone"
));
Expand Down
2 changes: 1 addition & 1 deletion test/integration/scene_broadcaster_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -564,5 +564,5 @@ TEST_P(SceneBroadcasterTest, StateStatic)
}

// Run multiple times
INSTANTIATE_TEST_CASE_P(ServerRepeat, SceneBroadcasterTest,
INSTANTIATE_TEST_SUITE_P(ServerRepeat, SceneBroadcasterTest,
::testing::Range(1, 2));
2 changes: 1 addition & 1 deletion test/integration/velocity_control_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ TEST_P(VelocityControlTest, PublishCmd)
}

// Run multiple times
INSTANTIATE_TEST_CASE_P(ServerRepeat, VelocityControlTest,
INSTANTIATE_TEST_SUITE_P(ServerRepeat, VelocityControlTest,
::testing::Range(1, 2));

0 comments on commit b77ebe2

Please sign in to comment.