/openbmc/smbios-mdr/src/smbios-ipmi-blobs/test/ |
H A D | handler_unittest.cpp | 18 EXPECT_FALSE(handler.canHandleBlob("asdf")); in TEST_F() 19 EXPECT_FALSE(handler.canHandleBlob("smbios")); in TEST_F() 20 EXPECT_FALSE(handler.canHandleBlob("/smbios0")); in TEST_F() 21 EXPECT_FALSE(handler.canHandleBlob("/smbios/0")); in TEST_F() 28 EXPECT_TRUE(handler.canHandleBlob(expectedBlobId)); in TEST_F()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_state_verificationpending_unittest.cpp | 56 EXPECT_FALSE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 60 EXPECT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 61 EXPECT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 62 EXPECT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F() 77 ASSERT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 92 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 122 ASSERT_TRUE(handler->canHandleBlob(hashBlobId)); in TEST_F() 164 ASSERT_TRUE(handler->canHandleBlob(activeHashBlobId)); in TEST_F() 174 ASSERT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 187 EXPECT_FALSE(handler->canHandleBlob(verifyBlobId)); in TEST_F() [all …]
|
H A D | firmware_state_verificationcompleted_unittest.cpp | 76 EXPECT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F() 83 EXPECT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F() 105 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 118 EXPECT_FALSE(handler->canHandleBlob(activeHashBlobId)); in TEST_F() 131 ASSERT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 145 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F() 286 ASSERT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F() 289 EXPECT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 300 ASSERT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F() 303 ASSERT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F()
|
H A D | firmware_state_updatepending_unittest.cpp | 106 EXPECT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 146 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 155 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 167 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F() 243 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 257 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 271 ASSERT_TRUE(handler->canHandleBlob(staticLayoutBlobId)); in TEST_F() 285 ASSERT_TRUE(handler->canHandleBlob(hashBlobId)); in TEST_F()
|
H A D | firmware_state_uploadinprogress_unittest.cpp | 75 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 87 ASSERT_TRUE(handler->canHandleBlob(activeHashBlobId)); in TEST_F() 175 EXPECT_FALSE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 181 EXPECT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 187 EXPECT_FALSE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 193 EXPECT_FALSE(handler->canHandleBlob(verifyBlobId)); in TEST_F()
|
H A D | firmware_state_notyetstarted_unittest.cpp | 67 EXPECT_TRUE(handler->canHandleBlob(blob)); in TEST_F() 99 EXPECT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 115 EXPECT_TRUE(handler->canHandleBlob(activeHashBlobId)); in TEST_F()
|
H A D | firmware_state_verificationstarted_unittest.cpp | 61 EXPECT_TRUE(handler->canHandleBlob(blob)); in TEST_F() 167 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 176 ASSERT_TRUE(handler->canHandleBlob(activeHashBlobId)); in TEST_F() 186 ASSERT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 199 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F()
|
H A D | firmware_state_updatestarted_unittest.cpp | 95 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 105 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 118 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F()
|
H A D | firmware_state_updatecompleted_unittest.cpp | 104 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 114 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 127 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F()
|
H A D | firmware_canhandle_unittest.cpp | 40 EXPECT_EQ(item.expected, handler->canHandleBlob(item.name)); in TEST()
|
/openbmc/phosphor-ipmi-blobs/test/ |
H A D | manager_delete_unittest.cpp | 26 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillRepeatedly(Return(true)); in TEST() 45 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(false)); in TEST() 63 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 81 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 100 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillRepeatedly(Return(true)); in TEST()
|
H A D | manager_open_unittest.cpp | 26 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(false)); in TEST() 42 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 61 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 78 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
|
H A D | manager_stat_unittest.cpp | 22 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(false)); in TEST() 38 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 55 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
|
H A D | manager_write_unittest.cpp | 38 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 61 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 82 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
|
H A D | manager_writemeta_unittest.cpp | 38 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 61 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 84 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
|
H A D | manager_expire_unittest.cpp | 27 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 47 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillRepeatedly(Return(true)); in TEST()
|
H A D | manager_close_unittest.cpp | 34 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 58 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
|
H A D | manager_commit_unittest.cpp | 37 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 59 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
|
H A D | manager_sessionstat_unittest.cpp | 35 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 57 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
|
H A D | manager_read_unittest.cpp | 43 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST() 68 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/ |
H A D | handler.cpp | 31 bool MetricBlobHandler::canHandleBlob(const std::string& path) in canHandleBlob() function in blobs::MetricBlobHandler 74 if (!canHandleBlob(path)) in open()
|
/openbmc/phosphor-ipmi-blobs/example/ |
H A D | example.cpp | 30 bool ExampleBlobHandler::canHandleBlob(const std::string& path) in canHandleBlob() function in blobs::ExampleBlobHandler 53 if (!canHandleBlob(path)) in open()
|
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/ |
H A D | version_canhandle_enumerate_unittest.cpp | 17 EXPECT_TRUE(handler.canHandleBlob(blobName)); in TEST()
|
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/ |
H A D | log_canhandle_enumerate_unittest.cpp | 31 EXPECT_TRUE(handler.canHandleBlob(blobName)); in TEST()
|
/openbmc/phosphor-ipmi-flash/cleanup/ |
H A D | cleanup.cpp | 37 bool FileCleanupHandler::canHandleBlob(const std::string& path) in canHandleBlob() function in ipmi_flash::FileCleanupHandler
|