forked from boostorg/beast
1 parent
c6d7fa185b
commit
e1de01ad13
8 files changed
+220
-7
No files matched your search
@@ -32,6 +32,7 @@ add_executable (http-tests
|
||||
string_body.cpp
|
||||
string_view_body.cpp
|
||||
type_traits.cpp
|
||||
vector_body.cpp
|
||||
verb.cpp
|
||||
write.cpp
|
||||
)
|
||||
|
||||
@@ -25,6 +25,7 @@ unit-test http-tests :
|
||||
string_body.cpp
|
||||
string_view_body.cpp
|
||||
type_traits.cpp
|
||||
vector_body.cpp
|
||||
verb.cpp
|
||||
write.cpp
|
||||
;
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// Copyright (c) 2013-2017 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/http/vector_body.hpp>
|
||||
|
||||
namespace beast {
|
||||
namespace http {
|
||||
|
||||
BOOST_STATIC_ASSERT(is_body<vector_body<char>>::value);
|
||||
BOOST_STATIC_ASSERT(is_body_reader<vector_body<char>>::value);
|
||||
BOOST_STATIC_ASSERT(is_body_writer<vector_body<char>>::value);
|
||||
|
||||
} // http
|
||||
} // beast
|
||||
Reference in new issue
Block a user