Files
boost_beast/test/beast/core/file_stdio.cpp
Mika Fischer dfb44236e9 file_stdio supports unicode paths:
fix #793, close #1791, close #1793
2019-12-29 08:58:13 -08:00

41 lines
857 B
C++

//
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header file is self-contained.
#include <boost/beast/core/file_stdio.hpp>
#include "file_test.hpp"
#include <boost/beast/_experimental/unit_test/suite.hpp>
namespace boost {
namespace beast {
BOOST_STATIC_ASSERT(! std::is_copy_constructible<file_stdio>::value);
class file_stdio_test
: public beast::unit_test::suite
{
public:
void
run()
{
#ifdef BOOST_MSVC
test_file<file_stdio, true>();
#else
test_file<file_stdio>();
#endif
}
};
BEAST_DEFINE_TESTSUITE(beast,core,file_stdio);
} // beast
} // boost