diff --git a/tests/unit_tests/components/bar.cpp b/tests/unit_tests/components/bar.cpp index 4181100a..f00a3d50 100644 --- a/tests/unit_tests/components/bar.cpp +++ b/tests/unit_tests/components/bar.cpp @@ -35,10 +35,10 @@ vector> to_pixels_with_offset_list = { {0, "1%:-100"}, }; -INSTANTIATE_TEST_CASE_P(NoOffset, GeomFormatToPixelsTest, +INSTANTIATE_TEST_SUITE_P(NoOffset, GeomFormatToPixelsTest, ::testing::ValuesIn(to_pixels_no_offset_list)); -INSTANTIATE_TEST_CASE_P(WithOffset, GeomFormatToPixelsTest, +INSTANTIATE_TEST_SUITE_P(WithOffset, GeomFormatToPixelsTest, ::testing::ValuesIn(to_pixels_with_offset_list)); TEST_P(GeomFormatToPixelsTest, correctness) { diff --git a/tests/unit_tests/components/builder.cpp b/tests/unit_tests/components/builder.cpp index f3d67f10..f23bfa14 100644 --- a/tests/unit_tests/components/builder.cpp +++ b/tests/unit_tests/components/builder.cpp @@ -51,7 +51,7 @@ vector>> get_label_text_list = { {"abcdefgh", make_tuple("abcdefgh", true, 8)}, }; -INSTANTIATE_TEST_CASE_P(Inst, GetLabelTextTest, +INSTANTIATE_TEST_SUITE_P(Inst, GetLabelTextTest, ::testing::ValuesIn(get_label_text_list)); TEST_P(GetLabelTextTest, correctness) { diff --git a/tests/unit_tests/components/parser.cpp b/tests/unit_tests/components/parser.cpp index 27b1b46e..493e688a 100644 --- a/tests/unit_tests/components/parser.cpp +++ b/tests/unit_tests/components/parser.cpp @@ -27,7 +27,7 @@ vector> parse_action_cmd_list = { {"\\:\\:\\:", ":\\:\\:\\::\\abc"}, }; -INSTANTIATE_TEST_CASE_P(Inst, ParseActionCmd, +INSTANTIATE_TEST_SUITE_P(Inst, ParseActionCmd, ::testing::ValuesIn(parse_action_cmd_list)); TEST_P(ParseActionCmd, correctness) {