]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/beast/test/beast/core/file_stdio.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / beast / test / beast / core / file_stdio.cpp
1 //
2 // Copyright (c) 2016-2019 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/file_stdio.hpp>
12
13 #include "file_test.hpp"
14
15 #include <boost/beast/_experimental/unit_test/suite.hpp>
16
17 namespace boost {
18 namespace beast {
19
20 BOOST_STATIC_ASSERT(! std::is_copy_constructible<file_stdio>::value);
21
22 class file_stdio_test
23 : public beast::unit_test::suite
24 {
25 public:
26 void
27 run()
28 {
29 #ifdef BOOST_MSVC
30 test_file<file_stdio, true>();
31 #else
32 test_file<file_stdio>();
33 #endif
34 }
35 };
36
37 BEAST_DEFINE_TESTSUITE(beast,core,file_stdio);
38
39 } // beast
40 } // boost