test: firmware notYetStarted: getBlobIds
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ia5593ae141d184314390faae3980a8331d2c3d7d
diff --git a/test/firmware_unittest.hpp b/test/firmware_unittest.hpp
index 748b212..1f1ae86 100644
--- a/test/firmware_unittest.hpp
+++ b/test/firmware_unittest.hpp
@@ -15,6 +15,26 @@
namespace ipmi_flash
{
+class IpmiOnlyFirmwareStaticTest : public ::testing::Test
+{
+ protected:
+ ImageHandlerMock imageMock;
+ std::vector<HandlerPack> blobs;
+ std::vector<DataHandlerPack> data = {
+ {FirmwareBlobHandler::UpdateFlags::ipmi, nullptr}};
+ std::unique_ptr<blobs::GenericBlobInterface> handler;
+
+ void SetUp() override
+ {
+ blobs = {
+ {hashBlobId, &imageMock},
+ {staticLayoutBlobId, &imageMock},
+ };
+ handler = FirmwareBlobHandler::CreateFirmwareBlobHandler(
+ blobs, data, CreateVerifyMock(), CreateUpdateMock());
+ }
+};
+
class IpmiOnlyFirmwareTest : public ::testing::Test
{
protected: