]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/beast/test/beast/core/file_posix.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / beast / test / beast / core / file_posix.cpp
CommitLineData
b32b8144 1//
92f5a8d4 2// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
b32b8144
FG
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_posix.hpp>
12
13#if BOOST_BEAST_USE_POSIX_FILE
14
15#include "file_test.hpp"
16
92f5a8d4 17#include <boost/beast/_experimental/unit_test/suite.hpp>
b32b8144
FG
18
19namespace boost {
20namespace beast {
21
22BOOST_STATIC_ASSERT(! std::is_copy_constructible<file_posix>::value);
23
24class file_posix_test
25 : public beast::unit_test::suite
26{
27public:
28 void
29 run()
30 {
92f5a8d4 31 test_file<file_posix>();
b32b8144
FG
32 }
33};
34
35BEAST_DEFINE_TESTSUITE(beast,core,file_posix);
36
37} // beast
38} // boost
39
40#endif