| 58 | ); |
| 59 | |
| 60 | TEST_P(ParseDeviceId, IntegrationTest) { |
| 61 | const auto &[input_value, expected_value] = GetParam(); |
| 62 | |
| 63 | config::video_t video_config {}; |
| 64 | video_config.dd.configuration_option = config_option_e::verify_only; |
| 65 | video_config.output_name = input_value; |
| 66 | |
| 67 | const auto result {display_device::parse_configuration(video_config, {})}; |
| 68 | EXPECT_EQ(std::get<display_device::SingleDisplayConfiguration>(result).m_device_id, expected_value); |
| 69 | } |
| 70 | |
| 71 | using ParseConfigOption = DisplayDeviceConfigTest<std::pair<config_option_e, std::optional<device_prep_t>>>; |
| 72 | INSTANTIATE_TEST_SUITE_P( |
nothing calls this directly
no test coverage detected