peerplays-fc/tests/io/tcp_test.cpp

18 lines
433 B
C++
Raw Normal View History

2018-03-23 22:34:07 +00:00
#include <boost/test/unit_test.hpp>
#include <fc/network/tcp_socket.hpp>
BOOST_AUTO_TEST_SUITE(tcp_tests)
2018-05-04 12:47:37 +00:00
/***
* 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
*/
2018-03-23 22:34:07 +00:00
BOOST_AUTO_TEST_CASE(tcpconstructor_test)
{
fc::tcp_socket socket;
}
BOOST_AUTO_TEST_SUITE_END()