Jie Yang | fbe1b68 | 2021-02-19 04:54:55 -0800 | [diff] [blame] | 1 | #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 | |
| 10 | sd_bus* ipmid_get_sd_bus_connection() |
| 11 | { |
| 12 | return nullptr; |
| 13 | } |
| 14 | |
| 15 | namespace blobs |
| 16 | { |
| 17 | |
| 18 | class 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 |