2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-01-29 19:52:11 +00:00
Files
mysql/test/common/include/test_common/io_context_fixture.hpp
Anarthal (Rubén Pérez) 793b678287 Updated file copyrights to 2025
2025-02-11 20:42:41 +01:00

30 lines
695 B
C++

//
// Copyright (c) 2019-2025 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_MYSQL_TEST_COMMON_INCLUDE_TEST_COMMON_IO_CONTEXT_FIXTURE_HPP
#define BOOST_MYSQL_TEST_COMMON_INCLUDE_TEST_COMMON_IO_CONTEXT_FIXTURE_HPP
#include <boost/asio/io_context.hpp>
namespace boost {
namespace mysql {
namespace test {
struct io_context_fixture
{
asio::io_context ctx;
// Checks that we effectively run out of work
~io_context_fixture();
};
} // namespace test
} // namespace mysql
} // namespace boost
#endif