]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/beast/test/beast/core/close_socket.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / beast / test / beast / core / close_socket.cpp
1 //
2 // Copyright (c) 2018 Vinnie Falco (vinnie dot falco at gmail dot com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/boostorg/beast
8 //
9
10 // Test that header file is self-contained.
11 #include <boost/beast/core/close_socket.hpp>
12
13 #include <boost/beast/_experimental/unit_test/suite.hpp>
14 #include <boost/beast/_experimental/test/stream.hpp>
15 #include <boost/beast/core/stream_traits.hpp>
16 #include <boost/beast/core/string.hpp>
17
18 #include <boost/asio/ip/tcp.hpp>
19 #include <boost/asio/write.hpp>
20 #include <utility>
21
22 namespace boost {
23 namespace beast {
24
25 class close_socket_test : public beast::unit_test::suite
26 {
27 public:
28 void
29 run() override
30 {
31 testClose();
32 testJavadocs();
33 }
34 };
35
36 BEAST_DEFINE_TESTSUITE(beast,core,close_socket);
37
38 } // beast
39 } // boost