mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-11 22:55:54 +00:00
Add WebSocket tests
This commit is contained in:
4
TODO.txt
4
TODO.txt
@@ -1,8 +1,5 @@
|
|||||||
* kick out non-beast code
|
|
||||||
* redo directory structure
|
|
||||||
* Change build options to C++11 only
|
* Change build options to C++11 only
|
||||||
* Replace Jamroot with Jamfile
|
* Replace Jamroot with Jamfile
|
||||||
* Switch source material to Boost license
|
|
||||||
* Fix failing test/message.cpp
|
* Fix failing test/message.cpp
|
||||||
* Complete allocator testing in basic_streambuf, basic_headers
|
* Complete allocator testing in basic_streambuf, basic_headers
|
||||||
* Tidy up type_checks
|
* Tidy up type_checks
|
||||||
@@ -11,7 +8,6 @@
|
|||||||
- See if we can include them now that xsl is fixed
|
- See if we can include them now that xsl is fixed
|
||||||
* Go over each header and split header material into detail and impl files
|
* Go over each header and split header material into detail and impl files
|
||||||
* Make buffers_debug a detail
|
* Make buffers_debug a detail
|
||||||
* Ensure each public header has a unit test .cpp file
|
|
||||||
* Roll header-only http parser
|
* Roll header-only http parser
|
||||||
* Define Parser concept in HTTP
|
* Define Parser concept in HTTP
|
||||||
* melpon sandbox?
|
* melpon sandbox?
|
||||||
|
|||||||
44
test/Jamfile
44
test/Jamfile
@@ -7,6 +7,26 @@
|
|||||||
|
|
||||||
import os ;
|
import os ;
|
||||||
|
|
||||||
|
unit-test core_tests :
|
||||||
|
main.cpp
|
||||||
|
async_completion.cpp
|
||||||
|
basic_streambuf.cpp
|
||||||
|
bind_handler.cpp
|
||||||
|
buffer_cat.cpp
|
||||||
|
buffers_adapter.cpp
|
||||||
|
buffers_debug.cpp
|
||||||
|
consuming_buffers.cpp
|
||||||
|
handler_alloc.cpp
|
||||||
|
placeholders.cpp
|
||||||
|
prepare_buffers.cpp
|
||||||
|
static_streambuf.cpp
|
||||||
|
streambuf.cpp
|
||||||
|
streambuf_readstream.cpp
|
||||||
|
type_check.cpp
|
||||||
|
detail/base64.cpp
|
||||||
|
detail/empty_base_optimization.cpp
|
||||||
|
;
|
||||||
|
|
||||||
unit-test http_tests :
|
unit-test http_tests :
|
||||||
main.cpp
|
main.cpp
|
||||||
../src/beast_http_nodejs_parser.cpp
|
../src/beast_http_nodejs_parser.cpp
|
||||||
@@ -29,22 +49,12 @@ unit-test http_tests :
|
|||||||
http/write.cpp
|
http/write.cpp
|
||||||
;
|
;
|
||||||
|
|
||||||
unit-test core_tests :
|
unit-test websocket_tests :
|
||||||
main.cpp
|
main.cpp
|
||||||
async_completion.cpp
|
../src/beast_http_nodejs_parser.cpp
|
||||||
basic_streambuf.cpp
|
websocket/error.cpp
|
||||||
bind_handler.cpp
|
websocket/option.cpp
|
||||||
buffer_cat.cpp
|
websocket/rfc6455.cpp
|
||||||
buffers_adapter.cpp
|
websocket/static_string.cpp
|
||||||
buffers_debug.cpp
|
websocket/teardown.cpp
|
||||||
consuming_buffers.cpp
|
|
||||||
handler_alloc.cpp
|
|
||||||
placeholders.cpp
|
|
||||||
prepare_buffers.cpp
|
|
||||||
static_streambuf.cpp
|
|
||||||
streambuf.cpp
|
|
||||||
streambuf_readstream.cpp
|
|
||||||
type_check.cpp
|
|
||||||
detail/base64.cpp
|
|
||||||
detail/empty_base_optimization.cpp
|
|
||||||
;
|
;
|
||||||
|
|||||||
9
test/websocket/error.cpp
Normal file
9
test/websocket/error.cpp
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
//
|
||||||
|
// 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/websocket/error.hpp>
|
||||||
9
test/websocket/option.cpp
Normal file
9
test/websocket/option.cpp
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
//
|
||||||
|
// 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/websocket/option.hpp>
|
||||||
9
test/websocket/rfc6455.cpp
Normal file
9
test/websocket/rfc6455.cpp
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
//
|
||||||
|
// 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/websocket/rfc6455.hpp>
|
||||||
9
test/websocket/static_string.cpp
Normal file
9
test/websocket/static_string.cpp
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
//
|
||||||
|
// 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/websocket/static_string.hpp>
|
||||||
9
test/websocket/teardown.cpp
Normal file
9
test/websocket/teardown.cpp
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
//
|
||||||
|
// 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/websocket/teardown.hpp>
|
||||||
Reference in New Issue
Block a user