forked from boostorg/beast
Add file_posix
This commit is contained in:
1 parent
e81026614a
commit
eec5f1d8b6
9 files changed
+550
-3
No files matched your search
@@ -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_posix.hpp>
|
||||
|
||||
#if BEAST_USE_POSIX_FILE
|
||||
|
||||
#include "file_test.hpp"
|
||||
|
||||
#include <beast/core/type_traits.hpp>
|
||||
#include <beast/unit_test/suite.hpp>
|
||||
|
||||
namespace beast {
|
||||
|
||||
class file_posix_test
|
||||
: public beast::unit_test::suite
|
||||
{
|
||||
public:
|
||||
void
|
||||
run()
|
||||
{
|
||||
doTestFile<file_posix>(*this);
|
||||
}
|
||||
};
|
||||
|
||||
BEAST_DEFINE_TESTSUITE(file_posix,core,beast);
|
||||
|
||||
} // beast
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user