blob: e1f4d4edc5d65118a4e4df65dcf3686cdfa26c64 [file] [log] [blame]
Andrew Geissler56fcdec2020-06-08 21:33:52 -05001#include <sdbusplus/asio/object_server.hpp>
2#include <sdbusplus/bus.hpp>
3
4#include <gtest/gtest.h>
5
6constexpr auto this_name = "xyz.openbmc_project.sdbusplus.test.Aio";
7
8TEST(AioTest, BasicTest)
9{
10 boost::asio::io_service io;
11 auto systemBus = std::make_shared<sdbusplus::asio::connection>(io);
12 EXPECT_NE(nullptr, systemBus);
13
14 systemBus->request_name(this_name);
15 sdbusplus::asio::object_server objectServer(systemBus);
16}