]>
Commit | Line | Data |
---|---|---|
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_stdio.hpp> | |
12 | ||
13 | #include "file_test.hpp" | |
14 | ||
92f5a8d4 | 15 | #include <boost/beast/_experimental/unit_test/suite.hpp> |
b32b8144 FG |
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 | { | |
f67539c2 TL |
29 | #ifdef BOOST_MSVC |
30 | test_file<file_stdio, true>(); | |
31 | #else | |
92f5a8d4 | 32 | test_file<file_stdio>(); |
f67539c2 | 33 | #endif |
b32b8144 FG |
34 | } |
35 | }; | |
36 | ||
37 | BEAST_DEFINE_TESTSUITE(beast,core,file_stdio); | |
38 | ||
39 | } // beast | |
40 | } // boost |