forked from boostorg/beast
Add file_win32
This commit is contained in:
1 parent
ddc3099281
commit
7254cc8976
9 files changed
+579
-3
No files matched your search
@@ -11,11 +11,12 @@ add_executable (core-tests
|
||||
${EXAMPLE_INCLUDES}
|
||||
${EXTRAS_INCLUDES}
|
||||
../../extras/beast/unit_test/main.cpp
|
||||
buffer_test.hpp
|
||||
file_test.hpp
|
||||
async_result.cpp
|
||||
bind_handler.cpp
|
||||
buffer_cat.cpp
|
||||
buffer_prefix.cpp
|
||||
buffer_test.hpp
|
||||
buffered_read_stream.cpp
|
||||
buffers_adapter.cpp
|
||||
clamp.cpp
|
||||
@@ -26,7 +27,7 @@ add_executable (core-tests
|
||||
error.cpp
|
||||
file.cpp
|
||||
file_stdio.cpp
|
||||
file_test.hpp
|
||||
file_win32.cpp
|
||||
flat_buffer.cpp
|
||||
handler_alloc.cpp
|
||||
handler_ptr.cpp
|
||||
|
||||
@@ -21,6 +21,7 @@ unit-test core-tests :
|
||||
error.cpp
|
||||
file.cpp
|
||||
file_stdio.cpp
|
||||
file_win32.cpp
|
||||
flat_buffer.cpp
|
||||
handler_alloc.cpp
|
||||
handler_ptr.cpp
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// Copyright (c) 2013-2016 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)
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <beast/core/file_win32.hpp>
|
||||
|
||||
#if BEAST_USE_WIN32_FILE
|
||||
|
||||
#include "file_test.hpp"
|
||||
|
||||
#include <beast/core/type_traits.hpp>
|
||||
#include <beast/unit_test/suite.hpp>
|
||||
|
||||
namespace beast {
|
||||
|
||||
class file_win32_test
|
||||
: public beast::unit_test::suite
|
||||
{
|
||||
public:
|
||||
void
|
||||
run()
|
||||
{
|
||||
doTestFile<file_win32>(*this);
|
||||
}
|
||||
};
|
||||
|
||||
BEAST_DEFINE_TESTSUITE(file_win32,core,beast);
|
||||
|
||||
} // beast
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user