mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
A new concept Parser is introduced with routines to read from a stream into the parser. This solves a problem with the old read interface where messages must be default constructible and move assignable. Parser fixes: * Fix detect invalid reason-phrase octets * Fix write_eof to set the 'complete' state on success * Fix consider parse complete if eof received on empty body WebSocket: * Increase coverage
38 lines
817 B
CMake
38 lines
817 B
CMake
# Part of Beast
|
|
|
|
GroupSources(extras/beast beast)
|
|
GroupSources(include/beast beast)
|
|
GroupSources(test/core "/")
|
|
|
|
add_executable (core-tests
|
|
${BEAST_INCLUDES}
|
|
../../extras/beast/unit_test/main.cpp
|
|
buffer_test.hpp
|
|
async_completion.cpp
|
|
basic_streambuf.cpp
|
|
bind_handler.cpp
|
|
buffer_cat.cpp
|
|
buffer_concepts.cpp
|
|
buffers_adapter.cpp
|
|
consuming_buffers.cpp
|
|
error.cpp
|
|
handler_alloc.cpp
|
|
handler_concepts.cpp
|
|
placeholders.cpp
|
|
prepare_buffers.cpp
|
|
static_streambuf.cpp
|
|
static_string.cpp
|
|
stream_concepts.cpp
|
|
streambuf.cpp
|
|
streambuf_readstream.cpp
|
|
to_string.cpp
|
|
write_streambuf.cpp
|
|
detail/base64.cpp
|
|
detail/empty_base_optimization.cpp
|
|
detail/sha1.cpp
|
|
)
|
|
|
|
if (NOT WIN32)
|
|
target_link_libraries(core-tests ${Boost_LIBRARIES})
|
|
endif()
|