bmc: move away from blobs namespace
The blobs namespace is really owned by phosphor-ipmi-blobs. Move all
phosphor-ipmi-flash objects into ipmi_flash namespace.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I51b721ad4f3cdc4cc43846c942967ed2e5f16589
diff --git a/test/firmware_writemeta_unittest.cpp b/test/firmware_writemeta_unittest.cpp
index 0ca5c62..e7d8463 100644
--- a/test/firmware_writemeta_unittest.cpp
+++ b/test/firmware_writemeta_unittest.cpp
@@ -10,7 +10,7 @@
#include <gtest/gtest.h>
-namespace blobs
+namespace ipmi_flash
{
using ::testing::Eq;
using ::testing::Return;
@@ -24,7 +24,8 @@
EXPECT_CALL(imageMock, open("asdf")).WillOnce(Return(true));
EXPECT_TRUE(handler->open(
- 0, OpenFlags::write | FirmwareBlobHandler::UpdateFlags::ipmi, "asdf"));
+ 0, blobs::OpenFlags::write | FirmwareBlobHandler::UpdateFlags::ipmi,
+ "asdf"));
std::vector<std::uint8_t> bytes = {0xaa, 0x55};
@@ -37,7 +38,8 @@
EXPECT_CALL(imageMock, open("asdf")).WillOnce(Return(true));
EXPECT_TRUE(handler->open(
- 0, OpenFlags::write | FirmwareBlobHandler::UpdateFlags::lpc, "asdf"));
+ 0, blobs::OpenFlags::write | FirmwareBlobHandler::UpdateFlags::lpc,
+ "asdf"));
std::vector<std::uint8_t> bytes = {0x01, 0x02, 0x03, 0x04};
@@ -45,4 +47,4 @@
EXPECT_TRUE(handler->writeMeta(0, 0, bytes));
}
-} // namespace blobs
+} // namespace ipmi_flash