summaryrefslogtreecommitdiffstats
path: root/src/ipmiblob/test
diff options
context:
space:
mode:
authorBrandon Kim <brandonkim@google.com>2019-10-18 10:08:37 -0700
committerBrandon Kim <brandonkim@google.com>2019-10-18 10:33:14 -0700
commitcc4ef0c5a492968e6e7e7df7e41acbd599f0e23f (patch)
tree62f2d41ffe4ad94a5ef933429c3e304d8e00be86 /src/ipmiblob/test
parent0106f57eab1264e86fc9e75afa453ebbed99345d (diff)
downloadipmi-blob-tool-cc4ef0c5a492968e6e7e7df7e41acbd599f0e23f.tar.gz
ipmi-blob-tool-cc4ef0c5a492968e6e7e7df7e41acbd599f0e23f.zip
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>
Diffstat (limited to 'src/ipmiblob/test')
-rw-r--r--src/ipmiblob/test/blob_interface_mock.hpp1
1 files changed, 1 insertions, 0 deletions
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 @@ class BlobInterfaceMock : public BlobInterface
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));
OpenPOWER on IntegriCloud