Skip to content

Commit

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

---------

Co-authored-by: Oleg Pipikin <oleg.pipikin@intel.com>
  • Loading branch information
awayzjj and olpipi authored Mar 20, 2024
1 parent 3d45a64 commit 902f1b1
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 902f1b1

Please sign in to comment.