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