Home
last modified time | relevance | path

Searched refs:canHandleBlob (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/smbios-mdr/src/smbios-ipmi-blobs/test/
H A Dhandler_unittest.cpp18 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 Dfirmware_state_verificationpending_unittest.cpp56 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 Dfirmware_state_verificationcompleted_unittest.cpp76 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 Dfirmware_state_updatepending_unittest.cpp106 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 Dfirmware_state_uploadinprogress_unittest.cpp75 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 Dfirmware_state_notyetstarted_unittest.cpp67 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 Dfirmware_state_verificationstarted_unittest.cpp61 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 Dfirmware_state_updatestarted_unittest.cpp95 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 Dfirmware_state_updatecompleted_unittest.cpp104 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 Dfirmware_canhandle_unittest.cpp40 EXPECT_EQ(item.expected, handler->canHandleBlob(item.name)); in TEST()
/openbmc/phosphor-ipmi-blobs/test/
H A Dmanager_delete_unittest.cpp26 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 Dmanager_open_unittest.cpp26 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 Dmanager_stat_unittest.cpp22 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 Dmanager_write_unittest.cpp38 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 Dmanager_writemeta_unittest.cpp38 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 Dmanager_expire_unittest.cpp27 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
47 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillRepeatedly(Return(true)); in TEST()
H A Dmanager_close_unittest.cpp34 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
58 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
H A Dmanager_commit_unittest.cpp37 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
59 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
H A Dmanager_sessionstat_unittest.cpp35 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
57 EXPECT_CALL(*m1ptr, canHandleBlob(path)).WillOnce(Return(true)); in TEST()
H A Dmanager_read_unittest.cpp43 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 Dhandler.cpp31 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 Dexample.cpp30 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 Dversion_canhandle_enumerate_unittest.cpp17 EXPECT_TRUE(handler.canHandleBlob(blobName)); in TEST()
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/
H A Dlog_canhandle_enumerate_unittest.cpp31 EXPECT_TRUE(handler.canHandleBlob(blobName)); in TEST()
/openbmc/phosphor-ipmi-flash/cleanup/
H A Dcleanup.cpp37 bool FileCleanupHandler::canHandleBlob(const std::string& path) in canHandleBlob() function in ipmi_flash::FileCleanupHandler

12