Add new oem command to set accel power mode
Signed-off-by: Gaurav Gandhi <gauravgandhi@google.com>
Change-Id: Ie0b47477b7ae9e8ae206ac0645571a7a79dbda40
diff --git a/test/handler_mock.hpp b/test/handler_mock.hpp
index f62564e..579dfc6 100644
--- a/test/handler_mock.hpp
+++ b/test/handler_mock.hpp
@@ -16,6 +16,8 @@
#include "handler.hpp"
+#include <ipmid/message.hpp>
+
#include <cstddef>
#include <cstdint>
#include <string>
@@ -64,6 +66,11 @@
MOCK_METHOD(std::vector<uint8_t>, pcieBifurcation, (uint8_t), (override));
MOCK_METHOD(uint8_t, getBmcMode, (), (override));
MOCK_METHOD(void, linuxBootDone, (), (const, override));
+ MOCK_METHOD(void, accelSetVrSettings,
+ (::ipmi::Context::ptr, uint8_t, uint8_t, uint16_t),
+ (const, override));
+ MOCK_METHOD(uint16_t, accelGetVrSettings,
+ (::ipmi::Context::ptr, uint8_t, uint8_t), (const, override));
};
} // namespace ipmi