Group common example headers

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:29 -07:00
1 parent 84d7601bdf
commit bb1dd72638
27 files changed
+143 -88

No files matched your search

+7 -4
View File
@@ -10,7 +10,6 @@ add_executable (server-test
${BEAST_INCLUDES}
${SERVER_INCLUDES}
../../extras/beast/unit_test/main.cpp
file_body.cpp
file_service.cpp
framework.cpp
http_async_port.cpp
@@ -18,17 +17,21 @@ add_executable (server-test
http_sync_port.cpp
https_ports.cpp
multi_port.cpp
rfc7231.cpp
server.cpp
service_list.cpp
ssl_certificate
ssl_stream.cpp
tests.cpp
write_msg.cpp
ws_async_port.cpp
ws_sync_port.cpp
ws_upgrade_service.cpp
wss_ports.cpp
detect_ssl.cpp
file_body.cpp
mime_types.cpp
rfc7231.cpp
ssl_stream.cpp
write_msg.cpp
)
target_link_libraries(server-test
+7 -3
View File
@@ -7,7 +7,6 @@
unit-test server-test :
../../extras/beast/unit_test/main.cpp
file_body.cpp
file_service.cpp
framework.cpp
http_async_port.cpp
@@ -15,16 +14,21 @@ unit-test server-test :
http_sync_port.cpp
https_ports.cpp
multi_port.cpp
rfc7231.cpp
server.cpp
service_list.cpp
ssl_certificate.cpp
ssl_stream.cpp
tests.cpp
write_msg.cpp
ws_async_port.cpp
ws_sync_port.cpp
ws_upgrade_service.cpp
detect_ssl.cpp
file_body.cpp
mime_types.cpp
rfc7231.cpp
ssl_stream.cpp
write_msg.cpp
:
<variant>coverage:<build>no
<variant>ubasan:<build>no
+10
View File
@@ -0,0 +1,10 @@
//
// 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 "../../example/common/detect_ssl.hpp"
+1 -1
View File
@@ -6,5 +6,5 @@
//
// Test that header file is self-contained.
#include "../../example/server-framework/file_body.hpp"
#include "../../example/common/file_body.hpp"
+10
View File
@@ -0,0 +1,10 @@
//
// 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 "../../example/common/mime_types.hpp"
+1 -1
View File
@@ -6,5 +6,5 @@
//
// Test that header file is self-contained.
#include "../../example/server-framework/rfc7231.hpp"
#include "../../example/common/rfc7231.hpp"
+1 -1
View File
@@ -8,6 +8,6 @@
#if BEAST_USE_OPENSSL
// Test that header file is self-contained.
#include "../../example/server-framework/ssl_stream.hpp"
#include "../../example/common/ssl_stream.hpp"
#endif
+1 -1
View File
@@ -6,5 +6,5 @@
//
// Test that header file is self-contained.
#include "../../example/server-framework/write_msg.hpp"
#include "../../example/common/write_msg.hpp"