peerplays-fc/tests/io/tcp_test.cpp
2018-05-04 07:47:37 -05:00

17 lines
433 B
C++

#include <boost/test/unit_test.hpp>
#include <fc/network/tcp_socket.hpp>
BOOST_AUTO_TEST_SUITE(tcp_tests)
/***
* Running this test through valgrind will show
* a memory leak due to lack of logic in destructor.
* See https://github.com/bitshares/bitshares-fc/blob/51688042b0b9f99f03224f54fb937fe024fe5ced/src/asio.cpp#L152
*/
BOOST_AUTO_TEST_CASE(tcpconstructor_test)
{
fc::tcp_socket socket;
}
BOOST_AUTO_TEST_SUITE_END()