forked from boostorg/mqtt5
Consistently use BOOST_TEST instead of BOOST_CHECK in tests
Summary: related to T13767 We used BOOST_CHECK in older tests and BOOST_TEST macro in newer tests. Now we use BOOST_TEST consistently. Reviewers: ivica! Subscribers: iljazovic, miljen Differential Revision: https://repo.mireo.local/D31701
This commit is contained in:
1 parent
4cbae1056b
commit
0e62d8f8b3
16 files changed
+308
-370
No files matched your search
@@ -20,24 +20,12 @@
|
||||
#include <boost/asio/ssl.hpp>
|
||||
|
||||
#include <boost/beast/websocket.hpp>
|
||||
#include <boost/beast/ssl/ssl_stream.hpp> // async_teardown specialization for websocket ssl stream
|
||||
|
||||
#include <boost/system/error_code.hpp>
|
||||
|
||||
#include <async_mqtt5.hpp>
|
||||
|
||||
namespace boost::beast::websocket {
|
||||
|
||||
template <typename TeardownHandler>
|
||||
void async_teardown(
|
||||
boost::beast::role_type /* role */,
|
||||
asio::ssl::stream<asio::ip::tcp::socket>& stream,
|
||||
TeardownHandler&& handler
|
||||
) {
|
||||
return stream.async_shutdown(std::forward<TeardownHandler>(handler));
|
||||
}
|
||||
|
||||
} // end namespace boost::beast::websocket
|
||||
|
||||
namespace async_mqtt5 {
|
||||
|
||||
template <typename StreamBase>
|
||||
|
||||
Reference in new issue
Block a user