| 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_win32.hpp> |
| 12 | |
| 13 | #if BOOST_BEAST_USE_WIN32_FILE |
| 14 | |
| 15 | #include "file_test.hpp" |
| 16 | |
| 17 | #include <boost/beast/_experimental/unit_test/suite.hpp> |
| 18 | |
| 19 | namespace boost { |
| 20 | namespace beast { |
| 21 | |
| 22 | class file_win32_test |
| 23 | : public beast::unit_test::suite |
| 24 | { |
| 25 | public: |
| 26 | void |
| 27 | run() |
| 28 | { |
| 29 | test_file<file_win32, true>(); |
| 30 | } |
| 31 | }; |
| 32 | |
| 33 | BEAST_DEFINE_TESTSUITE(beast,core,file_win32); |
| 34 | |
| 35 | } // beast |
| 36 | } // boost |
| 37 | |
| 38 | #endif |
| 39 | |