Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge test cases in OVClassModelTestP to OVClassQueryModelTest #26197

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ using namespace ov::test::behavior;

namespace {

INSTANTIATE_TEST_SUITE_P(smoke_OVClassModelTestP, OVClassModelTestP,
::testing::Values(std::string(ov::test::utils::DEVICE_GPU)));

INSTANTIATE_TEST_SUITE_P(nightly_OVClassModelOptionalTestP, OVClassModelOptionalTestP,
::testing::Values(std::string(ov::test::utils::DEVICE_GPU)));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ namespace ov {
namespace test {
namespace behavior {

INSTANTIATE_TEST_SUITE_P(compatibility_smoke_BehaviorTests_OVClassModelTestP, OVClassModelTestP,
::testing::Values(ov::test::utils::DEVICE_NPU),
(ov::test::utils::appendPlatformTypeTestName<OVClassModelTestP>));

INSTANTIATE_TEST_SUITE_P(compatibility_smoke_BehaviorTests_OVClassQueryModelTestTests, OVClassQueryModelTest,
::testing::Values(ov::test::utils::DEVICE_NPU),
(ov::test::utils::appendPlatformTypeTestName<OVClassQueryModelTest>));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ namespace {
// OV Class Common tests with <pluginName, device_name params>
//

INSTANTIATE_TEST_SUITE_P(smoke_OVClassModelTestP,
OVClassModelTestP,
::testing::Values(ov::test::utils::DEVICE_TEMPLATE));

INSTANTIATE_TEST_SUITE_P(smoke_OVClassModelOptionalTestP,
OVClassModelOptionalTestP,
::testing::Values(ov::test::utils::DEVICE_TEMPLATE));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ namespace {
// OV Class Common tests with <pluginName, deviceName params>
//

INSTANTIATE_TEST_SUITE_P(ov_plugin_mandatory,
OVClassModelTestP,
::testing::Values(ov::test::utils::target_device));

INSTANTIATE_TEST_SUITE_P(ov_plugin,
OVClassModelOptionalTestP,
::testing::Values(ov::test::utils::target_device));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ class OVClassBaseTestP : public OVClassNetworkTest,
OVClassNetworkTest::SetUp();
}
};
using OVClassModelTestP = OVClassBaseTestP;
using OVClassModelOptionalTestP = OVClassBaseTestP;

class OVCompiledModelClassBaseTestP : public OVClassNetworkTest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ namespace behavior {

using OVClassQueryModelTest = OVClassBaseTestP;

TEST_P(OVClassModelTestP, QueryModelActualNoThrow) {
TEST_P(OVClassQueryModelTest, QueryModelActualNoThrow) {
ov::Core ie = ov::test::utils::create_core();
ie.query_model(actualNetwork, target_device);
}

TEST_P(OVClassModelTestP, QueryModelWithKSO) {
TEST_P(OVClassQueryModelTest, QueryModelWithKSO) {
ov::Core ie = ov::test::utils::create_core();

auto rl_map = ie.query_model(ksoNetwork, target_device);
Expand Down
Loading