Split common tests to a new project

This commit is contained in:
Vinnie Falco
2017-07-20 08:15:29 -07:00
parent edeb44617b
commit beead1a297
16 changed files with 68 additions and 47 deletions
+2 -7
View File
@@ -1,6 +1,7 @@
# Part of Beast
GroupSources(example/server-framework framework)
GroupSources(example/common common)
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
@@ -8,6 +9,7 @@ GroupSources(test/server "/")
add_executable (server-test
${BEAST_INCLUDES}
${COMMON_INCLUDES}
${SERVER_INCLUDES}
../../extras/beast/unit_test/main.cpp
file_service.cpp
@@ -25,13 +27,6 @@ add_executable (server-test
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
+1 -8
View File
@@ -18,17 +18,10 @@ unit-test server-test :
service_list.cpp
ssl_certificate.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
wss_ports.cpp
:
<variant>coverage:<build>no
<variant>ubasan:<build>no
-10
View File
@@ -1,10 +0,0 @@
//
// 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"
-10
View File
@@ -1,10 +0,0 @@
//
// 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/file_body.hpp"
-10
View File
@@ -1,10 +0,0 @@
//
// 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"
-10
View File
@@ -1,10 +0,0 @@
//
// 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/rfc7231.hpp"
-13
View File
@@ -1,13 +0,0 @@
//
// 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)
//
#if BEAST_USE_OPENSSL
// Test that header file is self-contained.
#include "../../example/common/ssl_stream.hpp"
#endif
-10
View File
@@ -1,10 +0,0 @@
//
// 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/write_msg.hpp"