OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[AUTO][HETERO][PROXY][TEST] Ensure test case parameters are never copied (#31699)
Egor Duplenskiib1644412d02a
diff --git a/src/plugins/auto/tests/functional/behavior/io_tensor.hpp b/src/plugins/auto/tests/functional/behavior/io_tensor.hppindex 98942bf33e9..a616a3bd98a 100644--- a/src/plugins/auto/tests/functional/behavior/io_tensor.hpp+++ b/src/plugins/auto/tests/functional/behavior/io_tensor.hpp@@ -22,7 +22,7 @@ using test_params = std::tuple<std::string, ov::AnyMap>;class InferRequest_IOTensor_Test : public AutoFuncTests, public ::testing::WithParamInterface<test_params> {public:- static std::string getTestCaseName(testing::TestParamInfo<test_params> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<test_params>& obj) {const auto& [target_device, configuration] = obj.param;std::ostringstream result;result << "target_device=" << target_device << "_";diff --git a/src/plugins/auto/tests/unit/compile_model_metric_test.cpp b/src/plugins/auto/tests/unit/compile_model_metric_test.cppindex c5637139c9c..bebfd282571 100644--- a/src/plugins/auto/tests/unit/compile_model_metric_test.cpp+++ b/src/plugins/auto/tests/unit/compile_model_metric_test.cpp@@ -26,7 +26,7 @@ using ConfigParams = std::tuple<bool, // if THROUGHPUTclass ExecNetworkget_propertyOptimalNumInferReq : public tests::AutoTest,public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [isThroughput,cpuOptimalNum,cpuCustomerNum,@@ -95,7 +95,7 @@ using modelPrioPerfHintTestParams = std::tuple<bool, // is New APIclass ExecNetworkget_propertyOtherTest : public tests::AutoTest,public ::testing::TestWithParam<modelPrioPerfHintTestParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<modelPrioPerfHintTestParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<modelPrioPerfHintTestParams>& obj) {const auto& [isNewAPI, actualSleep, actualDeviceName, performanceMode, modelPriority] = obj.param;std::ostringstream result;if (isNewAPI) {@@ -335,7 +335,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Auto_BehaviorTests,class ExecNetworkGetMetricOtherTest : public tests::AutoTest,public ::testing::TestWithParam<modelPrioPerfHintTestParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<modelPrioPerfHintTestParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<modelPrioPerfHintTestParams>& obj) {const auto& [isNewAPI, actualSleep, actualDeviceName, performanceMode, modelPriority] = obj.param;std::ostringstream result;if (isNewAPI) {diff --git a/src/plugins/auto/tests/unit/compile_model_property_test.cpp b/src/plugins/auto/tests/unit/compile_model_property_test.cppindex 74acd7f3e58..5b8c0d62343 100644--- a/src/plugins/auto/tests/unit/compile_model_property_test.cpp+++ b/src/plugins/auto/tests/unit/compile_model_property_test.cpp@@ -32,7 +32,7 @@ static std::vector<ConfigParams> testConfigs;class LoadNetworkWithSecondaryConfigsMockTest : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [deviceName, targetDevices, deviceConfigs] = obj.param;std::ostringstream result;result << "_virtual_device_" << deviceName;@@ -231,7 +231,7 @@ using PropertyTestParams = std::tuple<std::string, // virtual dclass CompiledModelPropertyMockTest : public tests::AutoTest, public ::testing::TestWithParam<PropertyTestParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<PropertyTestParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<PropertyTestParams>& obj) {const auto& [deviceName, devicePriorities, isSupportProperty, properties] = obj.param;std::ostringstream result;result << "_virtual_device_" << deviceName;diff --git a/src/plugins/auto/tests/unit/ctput_test.cpp b/src/plugins/auto/tests/unit/ctput_test.cppindex 9a44307d7ff..e0395e58c35 100644--- a/src/plugins/auto/tests/unit/ctput_test.cpp+++ b/src/plugins/auto/tests/unit/ctput_test.cpp@@ -9,7 +9,7 @@ using ConfigParams = std::tuple<std::vector<std::string>>;class LoadNetworkWithCTPUTMockTest : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [targetDevices] = obj.param;std::ostringstream result;result << "ctput_loadnetwork_to_device_";@@ -125,7 +125,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_AutoCTPUTExecutionDevice,using ConfigParams_1 = std::tuple<bool, std::vector<std::string>>;class AutoCTPUTCallMulti : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams_1> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams_1> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams_1>& obj) {const auto& [AutoCallMulti, targetDevices] = obj.param;std::ostringstream result;if (AutoCallMulti) {diff --git a/src/plugins/auto/tests/unit/default_perf_hint_test.cpp b/src/plugins/auto/tests/unit/default_perf_hint_test.cppindex 0288b88e562..39c5c24aadd 100644--- a/src/plugins/auto/tests/unit/default_perf_hint_test.cpp+++ b/src/plugins/auto/tests/unit/default_perf_hint_test.cpp@@ -13,7 +13,7 @@ static std::vector<ConfigParams> testConfigs;class AutoDefaultPerfHintTest : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [deviceName, targetDevices, deviceConfigs] = obj.param;std::ostringstream result;result << deviceName;diff --git a/src/plugins/auto/tests/unit/dynamic_output_test.cpp b/src/plugins/auto/tests/unit/dynamic_output_test.cppindex a3589aabf6b..3838c42e674 100644--- a/src/plugins/auto/tests/unit/dynamic_output_test.cpp+++ b/src/plugins/auto/tests/unit/dynamic_output_test.cpp@@ -14,7 +14,7 @@ using DynamicOutputConfigParams = std::tuple<ov::Any, // priority device listclass DynamicOutputInferenceTest : public tests::AutoTest, public ::testing::TestWithParam<DynamicOutputConfigParams> {public:DynamicOutputInferenceTest(const tests::MODELTYPE modelType = tests::MODELTYPE::DYNAMIC) : AutoTest(modelType) {}- static std::string getTestCaseName(testing::TestParamInfo<DynamicOutputConfigParams> obj);+ static std::string getTestCaseName(const testing::TestParamInfo<DynamicOutputConfigParams>& obj);void SetUp() override;void TearDown() override {mockExecutor.reset();@@ -36,7 +36,7 @@ protected:std::shared_ptr<ov::threading::ImmediateExecutor> mockExecutorActual;};-std::string DynamicOutputInferenceTest::getTestCaseName(testing::TestParamInfo<DynamicOutputConfigParams> obj) {+std::string DynamicOutputInferenceTest::getTestCaseName(const testing::TestParamInfo<DynamicOutputConfigParams>& obj) {const auto& [priorityList, targetList] = obj.param;std::ostringstream result;result << "_withList_" << priorityList.as<std::string>();diff --git a/src/plugins/auto/tests/unit/get_device_list.cpp b/src/plugins/auto/tests/unit/get_device_list.cppindex dd88e7af00b..c230eff04fa 100644--- a/src/plugins/auto/tests/unit/get_device_list.cpp+++ b/src/plugins/auto/tests/unit/get_device_list.cpp@@ -15,7 +15,7 @@ using ConfigParams = std::tuple<std::vector<std::string>, // Available devices>;class GetDeviceListTest : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [availableDevices, priorityAndMetaDev] = obj.param;const auto& [priorityDevices, metaDevices, expectedTimes] = priorityAndMetaDev;std::ostringstream result;diff --git a/src/plugins/auto/tests/unit/infer_request_schedule_policy_test.cpp b/src/plugins/auto/tests/unit/infer_request_schedule_policy_test.cppindex 3f080c24428..712a4f30d7c 100644--- a/src/plugins/auto/tests/unit/infer_request_schedule_policy_test.cpp+++ b/src/plugins/auto/tests/unit/infer_request_schedule_policy_test.cpp@@ -25,7 +25,7 @@ protected:std::vector<std::string> expectedScheDevs;public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [devicesInfo, schedulePolicy, numOfInferRequests, expectedScheDevs] = obj.param;std::ostringstream result;std::string candidateDevList;diff --git a/src/plugins/auto/tests/unit/key_network_priority_test.cpp b/src/plugins/auto/tests/unit/key_network_priority_test.cppindex 4945bdef65c..b326a409044 100644--- a/src/plugins/auto/tests/unit/key_network_priority_test.cpp+++ b/src/plugins/auto/tests/unit/key_network_priority_test.cpp@@ -18,7 +18,7 @@ public:std::vector<DeviceInformation> metaDevices;public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [netPrecision, enableDevicePriority, PriorityConfigs] = obj.param;std::ostringstream result;if (enableDevicePriority) {diff --git a/src/plugins/auto/tests/unit/log_utils_test.cpp b/src/plugins/auto/tests/unit/log_utils_test.cppindex bac5ce597e8..d695400e12b 100644--- a/src/plugins/auto/tests/unit/log_utils_test.cpp+++ b/src/plugins/auto/tests/unit/log_utils_test.cpp@@ -34,7 +34,7 @@ public:int _expectCallNum;public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [logLevel, envLogLevel, expectCallNum] = obj.param;std::ostringstream result;result << "logLevel_" << logLevel << "_expectCallNum_" << expectCallNum << "envlogLevel" << envLogLevel;diff --git a/src/plugins/auto/tests/unit/meta_device_check_test.cpp b/src/plugins/auto/tests/unit/meta_device_check_test.cppindex fb84108743f..911d7e75a4e 100644--- a/src/plugins/auto/tests/unit/meta_device_check_test.cpp+++ b/src/plugins/auto/tests/unit/meta_device_check_test.cpp@@ -10,7 +10,7 @@ using ConfigParams = std::tuple<std::string, // Priority devices>;class IsMetaDeviceInCandidateListTest : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [priorityDevices, expectedRet] = obj.param;std::ostringstream result;result << "priorityDevices_" << priorityDevices;diff --git a/src/plugins/auto/tests/unit/parse_meta_device_test.cpp b/src/plugins/auto/tests/unit/parse_meta_device_test.cppindex 6de588d5084..eb6d9c6fdfa 100644--- a/src/plugins/auto/tests/unit/parse_meta_device_test.cpp+++ b/src/plugins/auto/tests/unit/parse_meta_device_test.cpp@@ -18,7 +18,7 @@ using ConfigParams = std::tuple<std::string, // Priority dev>;class ParseMetaDeviceTest : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [priorityDevices, metaDevices, throwException, expectedTimes] = obj.param;std::ostringstream result;result << "priorityDevices_" << priorityDevices;diff --git a/src/plugins/auto/tests/unit/release_helper_test.cpp b/src/plugins/auto/tests/unit/release_helper_test.cppindex 7bbeb167e41..4110d7db6da 100644--- a/src/plugins/auto/tests/unit/release_helper_test.cpp+++ b/src/plugins/auto/tests/unit/release_helper_test.cpp@@ -15,7 +15,7 @@ using ConfigParams = std::tuple<bool, // cpu load success>;class AutoReleaseHelperTest : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [cpuSuccess, accSuccess] = obj.param;std::ostringstream result;if (!cpuSuccess) {@@ -38,7 +38,7 @@ using PropertyConfigParams = std::tuple<bool, // if CPU device sleepclass AutoCompiledModelGetPropertyWithReleaseHelper : public tests::AutoTest,public ::testing::TestWithParam<PropertyConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<PropertyConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<PropertyConfigParams>& obj) {const auto& [cpuSleep, actSleep] = obj.param;std::ostringstream result;if (cpuSleep) {diff --git a/src/plugins/auto/tests/unit/runtime_fallback_test.cpp b/src/plugins/auto/tests/unit/runtime_fallback_test.cppindex 012d7cf6152..577291be662 100644--- a/src/plugins/auto/tests/unit/runtime_fallback_test.cpp+++ b/src/plugins/auto/tests/unit/runtime_fallback_test.cpp@@ -34,7 +34,7 @@ public:std::shared_ptr<ov::threading::ImmediateExecutor> mockExecutorOTHER;public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [targetDevices,loadNetworkNum,enableRumtimeFallback,diff --git a/src/plugins/auto/tests/unit/select_device_failed_test.cpp b/src/plugins/auto/tests/unit/select_device_failed_test.cppindex 7b076549fba..5db23a2808d 100644--- a/src/plugins/auto/tests/unit/select_device_failed_test.cpp+++ b/src/plugins/auto/tests/unit/select_device_failed_test.cpp@@ -26,7 +26,7 @@ using ConfigParams = std::tuple<bool, // if can continue tclass AutoLoadFailedTest : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [continueRun,thrExcWheSelect,configModel,diff --git a/src/plugins/auto/tests/unit/select_device_test.cpp b/src/plugins/auto/tests/unit/select_device_test.cppindex 80d8e5eece2..9f202c427ad 100644--- a/src/plugins/auto/tests/unit/select_device_test.cpp+++ b/src/plugins/auto/tests/unit/select_device_test.cpp@@ -32,7 +32,7 @@ std::vector<ConfigParams> testConfigs;class SelectDeviceTest : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [netPrecision, devices, expect, throwExcept, enabledevice_priority, reverse] = obj.param;std::ostringstream result;result << "_netPrecision_" << netPrecision;diff --git a/src/plugins/auto/tests/unit/set_log_level_test.cpp b/src/plugins/auto/tests/unit/set_log_level_test.cppindex 9154f27bbd5..fee138168a7 100644--- a/src/plugins/auto/tests/unit/set_log_level_test.cpp+++ b/src/plugins/auto/tests/unit/set_log_level_test.cpp@@ -18,7 +18,7 @@ using namespace ov::mock_auto_plugin;class AutoSetLogLevel : public tests::AutoTest, public ::testing::TestWithParam<ConfigParams> {public:- static std::string getTestCaseName(testing::TestParamInfo<ConfigParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<ConfigParams>& obj) {const auto& [log_level, config] = obj.param;std::ostringstream result;result << log_level;diff --git a/src/plugins/auto/tests/unit/stateful_model_test.cpp b/src/plugins/auto/tests/unit/stateful_model_test.cppindex 55bb7a7b904..e438fa11381 100644--- a/src/plugins/auto/tests/unit/stateful_model_test.cpp+++ b/src/plugins/auto/tests/unit/stateful_model_test.cpp@@ -23,7 +23,7 @@ public:std::shared_ptr<ov::Model> create_dynamic_output_model();std::shared_ptr<ov::Model> create_stateful_model();std::shared_ptr<ov::Model> create_stateful_dynamic_model();- static std::string getTestCaseName(testing::TestParamInfo<StatefulModelConfigParams> obj);+ static std::string getTestCaseName(const testing::TestParamInfo<StatefulModelConfigParams>& obj);void SetUp() override;protected:@@ -36,7 +36,7 @@ protected:std::string expectedExecuteDev;};-std::string StatefulModelSupportedTest::getTestCaseName(testing::TestParamInfo<StatefulModelConfigParams> obj) {+std::string StatefulModelSupportedTest::getTestCaseName(const testing::TestParamInfo<StatefulModelConfigParams>& obj) {const auto& [devicesList,isDynamicModel,isStatefulModel,diff --git a/src/plugins/auto_batch/tests/unit/async_infer_request_test.cpp b/src/plugins/auto_batch/tests/unit/async_infer_request_test.cppindex 57bbd4a19c2..7b296d2e727 100644--- a/src/plugins/auto_batch/tests/unit/async_infer_request_test.cpp+++ b/src/plugins/auto_batch/tests/unit/async_infer_request_test.cpp@@ -61,7 +61,7 @@ public:bool m_terminate;- static std::string getTestCaseName(testing::TestParamInfo<AutoBatchRequestTestParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<AutoBatchRequestTestParams>& obj) {const auto& [batch_size, element_type, infer_interval] = obj.param;std::string res;diff --git a/src/plugins/auto_batch/tests/unit/compile_model_create_infer_request_test.cpp b/src/plugins/auto_batch/tests/unit/compile_model_create_infer_request_test.cppindex a56a157a70d..d92605eb1f5 100644--- a/src/plugins/auto_batch/tests/unit/compile_model_create_infer_request_test.cpp+++ b/src/plugins/auto_batch/tests/unit/compile_model_create_infer_request_test.cpp@@ -38,7 +38,7 @@ public:int m_infer_request_num;public:- static std::string getTestCaseName(testing::TestParamInfo<CreateInferRequestTestParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<CreateInferRequestTestParams>& obj) {const auto& [batch_size, infer_num] = obj.param;std::string res;diff --git a/src/plugins/auto_batch/tests/unit/compile_model_get_property_test.cpp b/src/plugins/auto_batch/tests/unit/compile_model_get_property_test.cppindex 2b65697e188..4925ea0f0a6 100644--- a/src/plugins/auto_batch/tests/unit/compile_model_get_property_test.cpp+++ b/src/plugins/auto_batch/tests/unit/compile_model_get_property_test.cpp@@ -24,7 +24,7 @@ public:std::shared_ptr<ov::ICompiledModel> auto_batch_compile_model;public:- static std::string getTestCaseName(testing::TestParamInfo<get_property_param> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<get_property_param>& obj) {const auto& [properity_name, throw_exception] = obj.param;std::string res;diff --git a/src/plugins/auto_batch/tests/unit/compile_model_set_property_test.cpp b/src/plugins/auto_batch/tests/unit/compile_model_set_property_test.cppindex 5078c28f2e7..ac9c990ad11 100644--- a/src/plugins/auto_batch/tests/unit/compile_model_set_property_test.cpp+++ b/src/plugins/auto_batch/tests/unit/compile_model_set_property_test.cpp@@ -25,7 +25,7 @@ public:std::shared_ptr<ov::ICompiledModel> m_auto_batch_compile_model;public:- static std::string getTestCaseName(testing::TestParamInfo<set_property_param> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<set_property_param>& obj) {const auto& [properities, throw_exception] = obj.param;std::string res;diff --git a/src/plugins/auto_batch/tests/unit/parse_batch_device_test.cpp b/src/plugins/auto_batch/tests/unit/parse_batch_device_test.cppindex 77e43a45d77..7e1e7256f52 100644--- a/src/plugins/auto_batch/tests/unit/parse_batch_device_test.cpp+++ b/src/plugins/auto_batch/tests/unit/parse_batch_device_test.cpp@@ -19,7 +19,7 @@ public:std::shared_ptr<NiceMock<MockAutoBatchInferencePlugin>> m_plugin;public:- static std::string getTestCaseName(testing::TestParamInfo<batch_device_config_params> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<batch_device_config_params>& obj) {const auto& [batch_device_config, device_name, batch_size, throw_exception] = obj.param;std::string res = batch_device_config;if (throw_exception)diff --git a/src/plugins/auto_batch/tests/unit/parse_meta_device_test.cpp b/src/plugins/auto_batch/tests/unit/parse_meta_device_test.cppindex 25372aca97c..d254624ae84 100644--- a/src/plugins/auto_batch/tests/unit/parse_meta_device_test.cpp+++ b/src/plugins/auto_batch/tests/unit/parse_meta_device_test.cpp@@ -30,7 +30,7 @@ public:bool m_throw_exception;public:- static std::string getTestCaseName(testing::TestParamInfo<meta_device_params> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<meta_device_params>& obj) {const auto& [batch_cfg, config, info, throw_exception] = obj.param;std::string res = batch_cfg;for (auto& c : config) {diff --git a/src/plugins/auto_batch/tests/unit/plugin_compile_model_test.cpp b/src/plugins/auto_batch/tests/unit/plugin_compile_model_test.cppindex 2071e1c41a5..e1d13c29911 100644--- a/src/plugins/auto_batch/tests/unit/plugin_compile_model_test.cpp+++ b/src/plugins/auto_batch/tests/unit/plugin_compile_model_test.cpp@@ -29,7 +29,7 @@ public:std::shared_ptr<NiceMock<MockIPlugin>> m_hardware_plugin;public:- static std::string getTestCaseName(testing::TestParamInfo<plugin_compile_model_param> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<plugin_compile_model_param>& obj) {const auto& [core_properities, plugin_properities, expect_batch_size] = obj.param;std::string res;diff --git a/src/plugins/auto_batch/tests/unit/plugin_get_property_test.cpp b/src/plugins/auto_batch/tests/unit/plugin_get_property_test.cppindex 19c0cea025d..58c5286dd91 100644--- a/src/plugins/auto_batch/tests/unit/plugin_get_property_test.cpp+++ b/src/plugins/auto_batch/tests/unit/plugin_get_property_test.cpp@@ -14,7 +14,7 @@ public:std::shared_ptr<NiceMock<MockAutoBatchInferencePlugin>> m_plugin;public:- static std::string getTestCaseName(testing::TestParamInfo<get_property_params> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<get_property_params>& obj) {const auto& [property_name, throw_exception] = obj.param;std::string res = "";diff --git a/src/plugins/auto_batch/tests/unit/plugin_query_model_test.cpp b/src/plugins/auto_batch/tests/unit/plugin_query_model_test.cppindex 89790a34070..62263156e53 100644--- a/src/plugins/auto_batch/tests/unit/plugin_query_model_test.cpp+++ b/src/plugins/auto_batch/tests/unit/plugin_query_model_test.cpp@@ -19,7 +19,7 @@ public:ov::SupportedOpsMap m_supported_ops_map;public:- static std::string getTestCaseName(testing::TestParamInfo<query_model_params> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<query_model_params>& obj) {const auto& [properties, throw_exception] = obj.param;std::string res = "";if (properties.size() > 0) {diff --git a/src/plugins/auto_batch/tests/unit/plugin_set_property_test.cpp b/src/plugins/auto_batch/tests/unit/plugin_set_property_test.cppindex e0cfe08194c..88f4f57441b 100644--- a/src/plugins/auto_batch/tests/unit/plugin_set_property_test.cpp+++ b/src/plugins/auto_batch/tests/unit/plugin_set_property_test.cpp@@ -14,7 +14,7 @@ public:std::shared_ptr<NiceMock<MockAutoBatchInferencePlugin>> m_plugin;public:- static std::string getTestCaseName(testing::TestParamInfo<set_property_params> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<set_property_params>& obj) {const auto& [properties, throw_exception] = obj.param;std::string res = "";if (properties.size() > 0) {diff --git a/src/plugins/auto_batch/tests/unit/sync_infer_request_test.cpp b/src/plugins/auto_batch/tests/unit/sync_infer_request_test.cppindex 040d6bec46b..844e8a3ef07 100644--- a/src/plugins/auto_batch/tests/unit/sync_infer_request_test.cpp+++ b/src/plugins/auto_batch/tests/unit/sync_infer_request_test.cpp@@ -50,7 +50,7 @@ public:std::vector<ov::ProfilingInfo> m_profiling_info;- static std::string getTestCaseName(testing::TestParamInfo<AutoBatchRequestTestParams> obj) {+ static std::string getTestCaseName(const testing::TestParamInfo<AutoBatchRequestTestParams>& obj) {const auto& [batch_size, element_type] = obj.param;std::string res;diff --git a/src/plugins/hetero/tests/functional/shared_tests_instances/behavior/ov_infer_request/gpu_dyn_batch_shape_tests.cpp b/src/plugins/hetero/tests/functional/shared_tests_instances/behavior/ov_infer_request/gpu_dyn_batch_shape_tests.cppindex 5daaf149ba0..c701913c7a9 100644--- a/src/plugins/hetero/tests/functional/shared_tests_instances/behavior/ov_infer_request/gpu_dyn_batch_shape_tests.cpp+++ b/src/plugins/hetero/tests/functional/shared_tests_instances/behavior/ov_infer_request/gpu_dyn_batch_shape_tests.cpp@@ -21,7 +21,7 @@ using OVDynamicBatchParams = std::tuple<std::vector<InputShape>, // dynamic andclass OVDynamicBatchShape_Tests : public ::testing::WithParamInterface<OVDynamicBatchParams>,virtual public ov::test::SubgraphBaseTest {public:- static std::string getTestCaseName(::testing::TestParamInfo<OVDynamicBatchParams> obj) {+ static std::string getTestCaseName(const ::testing::TestParamInfo<OVDynamicBatchParams>& obj) {const auto& [input_shapes, model_type, target_device, configuration] = obj.param;std::ostringstream result;