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 <[email protected]>
  • Loading branch information
2 people authored and bbielawx committed Apr 12, 2024
1 parent f008a0e commit 076fc1b
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 076fc1b

Please sign in to comment.