basic_socket_acceptor.cpp 644 B

12345678910111213141516171819202122232425
  1. //
  2. // basic_socket_acceptor.cpp
  3. // ~~~~~~~~~~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
  6. //
  7. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  8. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. // Disable autolinking for unit tests.
  11. #if !defined(BOOST_ALL_NO_LIB)
  12. #define BOOST_ALL_NO_LIB 1
  13. #endif // !defined(BOOST_ALL_NO_LIB)
  14. // Test that header file is self-contained.
  15. #include <boost/asio/basic_socket_acceptor.hpp>
  16. #include "unit_test.hpp"
  17. BOOST_ASIO_TEST_SUITE
  18. (
  19. "basic_socket_acceptor",
  20. BOOST_ASIO_TEST_CASE(null_test)
  21. )