summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-03-06 07:33:12 -0800
committerPatrick Venture <venture@google.com>2019-03-06 07:51:32 -0800
commit1470bec705af063db3e4b8e019e95d36332f195b (patch)
treecc27855fe731491ce1b3455885e4748107ffb225 /test
parent123b5c0910e000cf9b00a37146aae99a835f3063 (diff)
downloadipmi-blob-tool-1470bec705af063db3e4b8e019e95d36332f195b.tar.gz
ipmi-blob-tool-1470bec705af063db3e4b8e019e95d36332f195b.zip
namespace: s/host_tool/ipmiblob/g
Renamed the namespace to encapsulate the library. Change-Id: I3deb82df5cf6916c505b57864e22a412542c9b6c Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/tools_blob_unittest.cpp4
-rw-r--r--test/tools_ipmi_error_unittest.cpp4
-rw-r--r--test/tools_ipmi_unittest.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/test/tools_blob_unittest.cpp b/test/tools_blob_unittest.cpp
index f7f58c4..6e35920 100644
--- a/test/tools_blob_unittest.cpp
+++ b/test/tools_blob_unittest.cpp
@@ -5,7 +5,7 @@
#include <gtest/gtest.h>
-namespace host_tool
+namespace ipmiblob
{
CrcInterface* crcIntf = nullptr;
@@ -286,4 +286,4 @@ TEST_F(BlobHandlerTest, readBytesSucceeds)
EXPECT_EQ(blob.readBytes(0x0001, 0, 4), expectedBytes);
}
-} // namespace host_tool
+} // namespace ipmiblob
diff --git a/test/tools_ipmi_error_unittest.cpp b/test/tools_ipmi_error_unittest.cpp
index 05048e2..cd5a249 100644
--- a/test/tools_ipmi_error_unittest.cpp
+++ b/test/tools_ipmi_error_unittest.cpp
@@ -2,7 +2,7 @@
#include <gtest/gtest.h>
-namespace host_tool
+namespace ipmiblob
{
TEST(IpmiExceptionTest, VerifyTimedOutIsString)
@@ -25,4 +25,4 @@ TEST(IpmiExceptionTest, VerifyTimedOutIsString)
EXPECT_TRUE(verified);
}
-} // namespace host_tool
+} // namespace ipmiblob
diff --git a/test/tools_ipmi_unittest.cpp b/test/tools_ipmi_unittest.cpp
index 9516d46..7a5f6dd 100644
--- a/test/tools_ipmi_unittest.cpp
+++ b/test/tools_ipmi_unittest.cpp
@@ -3,7 +3,7 @@
#include <ipmiblob/ipmi_errors.hpp>
#include <ipmiblob/ipmi_handler.hpp>
-namespace host_tool
+namespace ipmiblob
{
using ::testing::_;
@@ -19,4 +19,4 @@ TEST(IpmiHandlerTest, OpenAllFails)
EXPECT_THROW(ipmi.open(), IpmiException);
}
-} // namespace host_tool
+} // namespace ipmiblob
OpenPOWER on IntegriCloud