Lines Matching refs:termini

35         terminusManager(event, reqHandler, instanceIdDb, termini, nullptr),  in TerminusManagerTest()
36 mockTerminusManager(event, reqHandler, instanceIdDb, termini, nullptr) in TerminusManagerTest()
46 std::map<pldm_tid_t, std::shared_ptr<pldm::platform_mc::Terminus>> termini; member in TerminusManagerTest
159 EXPECT_EQ(1, termini.size()); in TEST_F()
178 EXPECT_EQ(1, termini.size()); in TEST_F()
185 EXPECT_EQ(0, termini.size()); in TEST_F()
204 EXPECT_EQ(0, termini.size()); in TEST_F()
219 EXPECT_EQ(0, termini.size()); in TEST_F()
241 EXPECT_EQ(0, termini.size()); in TEST_F()
280 EXPECT_EQ(1, termini.size()); in TEST_F()
282 EXPECT_EQ(true, termini.contains(1)); in TEST_F()
283 EXPECT_EQ(false, termini.contains(0)); in TEST_F()
284 EXPECT_EQ(false, termini.contains(2)); in TEST_F()
286 EXPECT_EQ(true, termini[1]->doesSupportType(PLDM_BASE)); in TEST_F()
287 EXPECT_EQ(true, termini[1]->doesSupportType(PLDM_PLATFORM)); in TEST_F()
288 EXPECT_EQ(true, termini[1]->doesSupportType(PLDM_BIOS)); in TEST_F()
289 EXPECT_EQ(true, termini[1]->doesSupportType(PLDM_FRU)); in TEST_F()
290 EXPECT_EQ(false, termini[1]->doesSupportType(PLDM_FWUP)); in TEST_F()
291 EXPECT_EQ(false, termini[1]->doesSupportType(PLDM_OEM)); in TEST_F()
422 EXPECT_EQ(1, termini.size()); in TEST_F()
423 EXPECT_EQ(true, termini.contains(1)); in TEST_F()
424 EXPECT_EQ(false, termini.contains(0)); in TEST_F()
425 EXPECT_EQ(false, termini.contains(2)); in TEST_F()
427 EXPECT_EQ(true, termini[1]->doesSupportType(PLDM_BASE)); in TEST_F()
428 EXPECT_EQ(true, termini[1]->doesSupportType(PLDM_PLATFORM)); in TEST_F()
429 EXPECT_EQ(true, termini[1]->doesSupportType(PLDM_BIOS)); in TEST_F()
430 EXPECT_EQ(true, termini[1]->doesSupportType(PLDM_FRU)); in TEST_F()
432 EXPECT_EQ(true, termini[1]->doesSupportCommand(PLDM_BASE, PLDM_SET_TID)); in TEST_F()
433 EXPECT_EQ(true, termini[1]->doesSupportCommand(PLDM_BASE, PLDM_GET_TID)); in TEST_F()
435 termini[1]->doesSupportCommand(PLDM_BASE, PLDM_GET_PLDM_VERSION)); in TEST_F()
437 termini[1]->doesSupportCommand(PLDM_BASE, PLDM_GET_PLDM_TYPES)); in TEST_F()
439 EXPECT_EQ(true, termini[1]->doesSupportCommand(PLDM_BASE, in TEST_F()
441 EXPECT_EQ(false, termini[1]->doesSupportCommand(PLDM_BASE, in TEST_F()
445 EXPECT_EQ(true, termini[1]->doesSupportCommand(PLDM_PLATFORM, in TEST_F()
447 EXPECT_EQ(true, termini[1]->doesSupportCommand( in TEST_F()
449 EXPECT_EQ(true, termini[1]->doesSupportCommand( in TEST_F()
451 EXPECT_EQ(true, termini[1]->doesSupportCommand( in TEST_F()
453 EXPECT_EQ(true, termini[1]->doesSupportCommand( in TEST_F()
455 EXPECT_EQ(true, termini[1]->doesSupportCommand(PLDM_PLATFORM, in TEST_F()
457 EXPECT_EQ(true, termini[1]->doesSupportCommand( in TEST_F()
459 EXPECT_EQ(true, termini[1]->doesSupportCommand( in TEST_F()
461 EXPECT_EQ(true, termini[1]->doesSupportCommand( in TEST_F()
463 EXPECT_EQ(false, termini[1]->doesSupportCommand( in TEST_F()
465 EXPECT_EQ(true, termini[1]->doesSupportCommand( in TEST_F()
468 termini[1]->doesSupportCommand(PLDM_PLATFORM, PLDM_GET_PDR)); in TEST_F()
472 termini[1]->doesSupportCommand(PLDM_BIOS, PLDM_GET_BIOS_TABLE)); in TEST_F()
474 termini[1]->doesSupportCommand(PLDM_BIOS, PLDM_SET_BIOS_TABLE)); in TEST_F()
475 EXPECT_EQ(false, termini[1]->doesSupportCommand( in TEST_F()
478 termini[1]->doesSupportCommand( in TEST_F()
481 termini[1]->doesSupportCommand(PLDM_BIOS, PLDM_GET_DATE_TIME)); in TEST_F()
483 termini[1]->doesSupportCommand(PLDM_BIOS, PLDM_SET_DATE_TIME)); in TEST_F()
486 EXPECT_EQ(true, termini[1]->doesSupportCommand( in TEST_F()
488 EXPECT_EQ(true, termini[1]->doesSupportCommand(PLDM_FRU, in TEST_F()
490 EXPECT_EQ(false, termini[1]->doesSupportCommand(PLDM_FRU, in TEST_F()
492 EXPECT_EQ(false, termini[1]->doesSupportCommand( in TEST_F()