blob: implement deleteBlob command
Implement the deleteBlob command for the blob handler. Adding a unit
test to go along with it.
Change-Id: I2bbc93a6e78d5311bd2033d6a8b179374777f794
Signed-off-by: Brandon Kim <brandonkim@google.com>
diff --git a/src/ipmiblob/test/blob_interface_mock.hpp b/src/ipmiblob/test/blob_interface_mock.hpp
index 7fb94c5..f5137d5 100644
--- a/src/ipmiblob/test/blob_interface_mock.hpp
+++ b/src/ipmiblob/test/blob_interface_mock.hpp
@@ -19,6 +19,7 @@
MOCK_METHOD1(getStat, StatResponse(std::uint16_t));
MOCK_METHOD2(openBlob, std::uint16_t(const std::string&, std::uint16_t));
MOCK_METHOD1(closeBlob, void(std::uint16_t));
+ MOCK_METHOD1(deleteBlob, void(const std::string&));
MOCK_METHOD3(readBytes,
std::vector<std::uint8_t>(std::uint16_t, std::uint32_t,
std::uint32_t));