Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Functions
net.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <libdevcore/Worker.h>
#include <libdevcore/Assertions.h>
#include <libdevcrypto/Common.h>
#include <libp2p/UDP.h>
#include <libp2p/NodeTable.h>
#include <test/libtesteth/TestHelper.h>
Include dependency graph for net.cpp:

Go to the source code of this file.

Classes

struct  NetFixture
 
class  TestHost
 Only used for testing. More...
 
struct  TestNodeTable
 
struct  TestNodeTableHost
 Only used for testing. More...
 
class  TestUDPSocket
 

Functions

 BOOST_AUTO_TEST_CASE (requestTimeout)
 
 BOOST_AUTO_TEST_CASE (isIPAddressType)
 
 BOOST_AUTO_TEST_CASE (neighboursPacketLength)
 
 BOOST_AUTO_TEST_CASE (neighboursPacket)
 
 BOOST_AUTO_TEST_CASE (test_findnode_neighbours)
 
 BOOST_AUTO_TEST_CASE (kademlia)
 
 BOOST_AUTO_TEST_CASE (udpOnce)
 
 BOOST_AUTO_TEST_CASE (unspecifiedNode)
 
 BOOST_AUTO_TEST_CASE (nodeTableReturnsUnspecifiedNode)
 

Function Documentation

BOOST_AUTO_TEST_CASE ( requestTimeout  )

Definition at line 157 of file net.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( isIPAddressType  )

Definition at line 193 of file net.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( neighboursPacketLength  )

Definition at line 227 of file net.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( neighboursPacket  )

Definition at line 255 of file net.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( test_findnode_neighbours  )

Definition at line 285 of file net.cpp.

BOOST_AUTO_TEST_CASE ( kademlia  )

Definition at line 292 of file net.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( udpOnce  )

Definition at line 310 of file net.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( unspecifiedNode  )

Definition at line 365 of file net.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( nodeTableReturnsUnspecifiedNode  )

Definition at line 381 of file net.cpp.

Here is the call graph for this function: