Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Functions
peer.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <chrono>
#include <thread>
#include <libp2p/Host.h>
#include <test/libtesteth/TestHelper.h>
#include <libp2p/Capability.h>
#include <libp2p/HostCapability.h>
Include dependency graph for peer.cpp:

Go to the source code of this file.

Classes

struct  P2PFixture
 
class  TestCap
 
class  TestHostCap
 

Functions

 BOOST_AUTO_TEST_CASE (host)
 
 BOOST_AUTO_TEST_CASE (networkConfig)
 
 BOOST_AUTO_TEST_CASE (saveNodes)
 
 BOOST_AUTO_TEST_CASE (requirePeer)
 
 BOOST_AUTO_TEST_CASE (emptySharedPeer)
 
int peerTest (int argc, char **argv)
 

Detailed Description

Author
Gav Wood i@gav.nosp@m.wood.nosp@m..com
Date
2014 Peer Network test functions.

Definition in file peer.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( host  )

Definition at line 65 of file peer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( networkConfig  )

Definition at line 126 of file peer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( saveNodes  )

Definition at line 138 of file peer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( requirePeer  )

Definition at line 207 of file peer.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( emptySharedPeer  )

Definition at line 284 of file peer.cpp.

int peerTest ( int  argc,
char **  argv 
)

Definition at line 308 of file peer.cpp.

Here is the call graph for this function: