]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/beast/test/beast/core/file_win32.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / beast / test / beast / core / file_win32.cpp
1 //
2 // Copyright (c) 2016-2017 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_win32.hpp>
12
13 #if BOOST_BEAST_USE_WIN32_FILE
14
15 #include "file_test.hpp"
16
17 #include <boost/beast/core/type_traits.hpp>
18 #include <boost/beast/unit_test/suite.hpp>
19
20 namespace boost {
21 namespace beast {
22
23 BOOST_STATIC_ASSERT(! std::is_copy_constructible<file_win32>::value);
24
25 class file_win32_test
26 : public beast::unit_test::suite
27 {
28 public:
29 void
30 run()
31 {
32 doTestFile<file_win32>(*this);
33 }
34 };
35
36 BEAST_DEFINE_TESTSUITE(beast,core,file_win32);
37
38 } // beast
39 } // boost
40
41 #endif