blob: 0b02a794eb51d19f4a678041708754c19e3191b3 [file] [log] [blame]
Jie Yangfbe1b682021-02-19 04:54:55 -08001#pragma once
2
3#include "handler.hpp"
4
5#include <ipmid/api.h>
6#include <systemd/sd-bus.h>
7
8#include <gtest/gtest.h>
9
10sd_bus* ipmid_get_sd_bus_connection()
11{
12 return nullptr;
13}
14
15namespace blobs
16{
17
18class SmbiosBlobHandlerTest : public ::testing::Test
19{
20 protected:
21 SmbiosBlobHandlerTest() = default;
22
23 SmbiosBlobHandler handler;
24
25 const uint16_t session = 0;
26 const std::string expectedBlobId = "/smbios";
27 const std::vector<std::string> expectedBlobIdList = {"/smbios"};
28 const uint32_t handlerMaxBufferSize = 64 * 1024;
29};
30} // namespace blobs