Updated iei namespace
Change-Id: I9e623452279b363ee8421e2bd4d2072c2b44031f
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/test/meson.build b/test/meson.build
index f2534f3..f3ff324 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -6,10 +6,10 @@
)
test_inc = include_directories('.')
-test_inspur_ipmi_oem = executable(
- 'test_inspur-ipmi-oem',
- '../src/inspur_oem.cpp',
- 'test_inspur_ipmi_oem.cpp',
+test_iei_ipmi_oem = executable(
+ 'test_iei-ipmi-oem',
+ '../src/iei_oem.cpp',
+ 'test_iei_ipmi_oem.cpp',
'mocked_utils.cpp',
'mocked_sdbus.cpp',
include_directories: [test_inc, src_inc],
@@ -21,4 +21,4 @@
sdbusplus,
])
-test('test_inspur-ipmi-oem', test_inspur_ipmi_oem)
+test('test_iei-ipmi-oem', test_iei_ipmi_oem)
diff --git a/test/test_inspur_ipmi_oem.cpp b/test/test_iei_ipmi_oem.cpp
similarity index 87%
rename from test/test_inspur_ipmi_oem.cpp
rename to test/test_iei_ipmi_oem.cpp
index eb2360b..6bfded8 100644
--- a/test/test_inspur_ipmi_oem.cpp
+++ b/test/test_iei_ipmi_oem.cpp
@@ -1,6 +1,6 @@
#include "config.h"
-#include "inspur_oem.hpp"
+#include "iei_oem.hpp"
#include "mocked_sdbus.hpp"
#include "mocked_utils.hpp"
#include "sdbus_wrapper.hpp"
@@ -30,14 +30,14 @@
// Empty
}
-class TestInspurIpmiOem : public ::testing::Test
+class TestIpmiOem : public ::testing::Test
{
public:
- TestInspurIpmiOem() :
+ TestIpmiOem() :
mockedUtils(
reinterpret_cast<const utils::MockedUtils&>(utils::getUtils()))
{}
- virtual ~TestInspurIpmiOem()
+ virtual ~TestIpmiOem()
{
utils::freeUtils();
clearMockedBus();
@@ -47,19 +47,19 @@
const utils::MockedUtils& mockedUtils;
};
-TEST_F(TestInspurIpmiOem, Empty)
+TEST_F(TestIpmiOem, Empty)
{
// Empty
}
-TEST_F(TestInspurIpmiOem, parseBIOSInfoEmpty)
+TEST_F(TestIpmiOem, parseBIOSInfoEmpty)
{
EXPECT_CALL(mockedUtils, setPropertyImpl(_, _, _, _, _, _)).Times(0);
ipmi::parseBIOSInfo({});
}
-TEST_F(TestInspurIpmiOem, parseBIOSInfoValidBIOSVersion)
+TEST_F(TestIpmiOem, parseBIOSInfoValidBIOSVersion)
{
std::vector<uint8_t> data{