Lines Matching refs:psuPath

54     void onPsuInventoryChanged(const std::string& psuPath,  in onPsuInventoryChanged()  argument
57 itemUpdater->onPsuInventoryChanged(psuPath, properties); in onPsuInventoryChanged()
83 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local
88 .WillOnce(Return(std::vector<std::string>({psuPath}))); in TEST_F()
89 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F()
91 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
93 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
96 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
112 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local
117 .WillOnce(Return(std::vector<std::string>({psuPath}))); in TEST_F()
118 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F()
120 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
122 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
125 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
251 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local
256 .WillOnce(Return(std::vector<std::string>({psuPath}))); in TEST_F()
257 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F()
259 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
261 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
264 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
281 onPsuInventoryChanged(psuPath, p); in TEST_F()
290 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local
295 .WillOnce(Return(std::vector<std::string>({psuPath}))); in TEST_F()
296 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F()
298 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
300 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
303 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
320 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
324 onPsuInventoryChanged(psuPath, propAddedAndModel); in TEST_F()
329 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local
334 .WillByDefault(Return(std::vector<std::string>({psuPath}))); in TEST_F()
335 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F()
337 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
339 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
342 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
358 onPsuInventoryChanged(psuPath, propRemoved); in TEST_F()
360 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
369 EXPECT_CALL(mockedUtils, isAssociated(StrEq(psuPath), _)) in TEST_F()
374 onPsuInventoryChanged(psuPath, propAdded); in TEST_F()
375 onPsuInventoryChanged(psuPath, propModel); in TEST_F()
474 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local
479 .WillOnce(Return(std::vector<std::string>({psuPath}))); in TEST_F()
480 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F()
482 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
484 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
487 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
513 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local
518 .WillOnce(Return(std::vector<std::string>({psuPath}))); in TEST_F()
519 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F()
521 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
523 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
526 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
689 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local
696 .WillByDefault(Return(std::vector<std::string>({psuPath}))); in TEST_F()
697 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F()
700 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
702 ON_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), _, in TEST_F()
706 getPropertyImpl(_, StrEq(service), StrEq(psuPath), _, StrEq(MODEL))) in TEST_F()
718 onPsuInventoryChanged(psuPath, propRemoved); in TEST_F()
722 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F()
724 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
728 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F()
735 ON_CALL(mockedUtils, isAssociated(StrEq(psuPath), _)) in TEST_F()
741 onPsuInventoryChanged(psuPath, propAdded); in TEST_F()
742 onPsuInventoryChanged(psuPath, propModel); in TEST_F()