Skip to content

Commit

Permalink
Add test for CoreImpl::get_versions() (openvinotoolkit#23336)
Browse files Browse the repository at this point in the history
Closes [23298](openvinotoolkit#23298)
### Tickets: 
- [CVS-132140](https://jira.devtools.intel.com/browse/CVS-132140)

---------

Co-authored-by: Oleg Pipikin <oleg.pipikin@intel.com>
  • Loading branch information
2 people authored and alvoron committed Apr 29, 2024
1 parent f93c686 commit 0776362
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/inference/tests/functional/ov_register_plugin_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ TEST(RegisterPluginTests, getVersionforRegisteredPluginThrows) {

TEST(RegisterPluginTests, getVersionforNoRegisteredPluginNoThrows) {
ov::Core core;
ASSERT_NO_THROW(core.get_versions("unkown_device"));
std::map<std::string, ov::Version> versions;
ASSERT_NO_THROW(versions = core.get_versions("unkown_device"));
ASSERT_TRUE(versions.empty());

auto plugin = std::make_shared<NiceMock<ov::MockIPlugin>>();

Expand Down

0 comments on commit 0776362

Please sign in to comment.