File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
modules/core/performance/tests Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,12 @@ TEST_P(GetStringParamNameParamTest, ReturnsExpectedString) {
105105 EXPECT_EQ (ppc::core::GetStringParamName (param.input ), param.expected_output );
106106}
107107
108- INSTANTIATE_TEST_SUITE_P_NOLINT (ParamTests, GetStringParamNameParamTest,
109- ::testing::Values (ParamTestCase{ppc::core::PerfResults::kTaskRun , " task_run" },
110- ParamTestCase{ppc::core::PerfResults::kPipeline , " pipeline" },
111- ParamTestCase{ppc::core::PerfResults::TypeOfRunning::kNone , " none" }));
108+ INSTANTIATE_TEST_SUITE_P_WITH_NAME (
109+ ParamTests, GetStringParamNameParamTest,
110+ ::testing::Values (ParamTestCase{ppc::core::PerfResults::kTaskRun , " task_run" },
111+ ParamTestCase{ppc::core::PerfResults::kPipeline , " pipeline" },
112+ ParamTestCase{ppc::core::PerfResults::TypeOfRunning::kNone , " none" }),
113+ [](const ::testing::TestParamInfo<ParamTestCase>& info) { return info.param .expected_output ; });
112114
113115struct TaskTypeTestCase {
114116 ppc::core::TypeOfTask type;
You can’t perform that action at this time.
0 commit comments