From 1317d0773c18c7659d9e49962712fc9cb5a20242 Mon Sep 17 00:00:00 2001 From: panhaiqi Date: Wed, 18 Oct 2023 20:11:17 +0800 Subject: [PATCH] remove failed case CanCompileModelWithEmptyProperties, CanLoadNetworkWithCustomLocale and LoadNetworkWithBigDeviceIDThrows to test --- .../compiled_model/compiled_model_base.hpp | 23 ------------------- .../behavior/compiled_model/properties.cpp | 2 -- 2 files changed, 25 deletions(-) diff --git a/src/tests/functional/plugin/shared/include/behavior/compiled_model/compiled_model_base.hpp b/src/tests/functional/plugin/shared/include/behavior/compiled_model/compiled_model_base.hpp index d02e8ff9d2e..304376799e8 100644 --- a/src/tests/functional/plugin/shared/include/behavior/compiled_model/compiled_model_base.hpp +++ b/src/tests/functional/plugin/shared/include/behavior/compiled_model/compiled_model_base.hpp @@ -311,29 +311,6 @@ TEST_P(OVCompiledModelBaseTest_2_0, canSetOutputPrecisionForNetwork) { ASSERT_NO_THROW(core.compile_model(model, target_device, configuration)); } -TEST_P(OVCompiledModelBaseTest_2_0, CanCompileModelWithEmptyProperties) { - ov::Core ie = createCoreWithTemplate(); - std::shared_ptr model = ngraph::builder::subgraph::makeSingleConcatWithConstant(); - OV_ASSERT_NO_THROW(auto compiled_model = ie.compile_model(model, target_device, ov::AnyMap{})); -} - -TEST_P(OVCompiledModelBaseTest_2_0, LoadNetworkWithBigDeviceIDThrows) { - ov::Core ie = createCoreWithTemplate(); - std::shared_ptr model = ngraph::builder::subgraph::makeSingleConcatWithConstant(); - ASSERT_THROW(ie.compile_model(model, target_device + ".10"), ov::Exception); -} - -TEST_P(OVCompiledModelBaseTest_2_0, CanLoadNetworkWithCustomLocale) { - auto prev = std::locale().name(); - setlocale(LC_ALL, "en_GB.UTF-8"); - - ov::Core ie = createCoreWithTemplate(); - std::shared_ptr model = ngraph::builder::subgraph::makeSingleConcatWithConstant(); - ASSERT_NO_THROW(auto compiled_model = ie.compile_model(model, target_device);); - - setlocale(LC_ALL, prev.c_str()); -} - TEST_P(OVCompiledModelBaseTest, CanGetOutputsInfo) { auto execNet = core->compile_model(function, target_device, configuration); EXPECT_NO_THROW(auto outInfo = execNet.outputs()); diff --git a/src/tests/functional/plugin/shared/src/behavior/compiled_model/properties.cpp b/src/tests/functional/plugin/shared/src/behavior/compiled_model/properties.cpp index 870c70e21c2..14d45908d15 100644 --- a/src/tests/functional/plugin/shared/src/behavior/compiled_model/properties.cpp +++ b/src/tests/functional/plugin/shared/src/behavior/compiled_model/properties.cpp @@ -351,8 +351,6 @@ TEST_P(OVCompileModelGetExecutionDeviceTests, CanGetExecutionDeviceInfo) { ASSERT_FALSE(property.empty()); } - - } // namespace behavior } // namespace test } // namespace ov