PIVX Core  5.6.99
P2P Digital Currency
Classes | Functions
addrman_tests.cpp File Reference
#include "test/test_pivx.h"
#include "test/data/asmap.raw.h"
#include "addrman.h"
#include "crypto/common.h"
#include "hash.h"
#include "netbase.h"
#include "optional.h"
#include "util/asmap.h"
#include "random.h"
#include <string>
#include <boost/test/unit_test.hpp>
Include dependency graph for addrman_tests.cpp:

Go to the source code of this file.

Classes

class  CAddrManTest
 

Functions

 BOOST_AUTO_TEST_CASE (addrman_simple)
 
 BOOST_AUTO_TEST_CASE (addrman_ports)
 
 BOOST_AUTO_TEST_CASE (addrman_select)
 
 BOOST_AUTO_TEST_CASE (addrman_new_collisions)
 
 BOOST_AUTO_TEST_CASE (addrman_tried_collisions)
 
 BOOST_AUTO_TEST_CASE (addrman_find)
 
 BOOST_AUTO_TEST_CASE (addrman_create)
 
 BOOST_AUTO_TEST_CASE (addrman_delete)
 
 BOOST_AUTO_TEST_CASE (addrman_getaddr)
 
 BOOST_AUTO_TEST_CASE (caddrinfo_get_tried_bucket_legacy)
 
 BOOST_AUTO_TEST_CASE (caddrinfo_get_new_bucket_legacy)
 
 BOOST_AUTO_TEST_CASE (caddrinfo_get_tried_bucket)
 
 BOOST_AUTO_TEST_CASE (caddrinfo_get_new_bucket)
 
 BOOST_AUTO_TEST_CASE (addrman_serialization)
 
 BOOST_AUTO_TEST_CASE (addrman_selecttriedcollision)
 
 BOOST_AUTO_TEST_CASE (addrman_noevict)
 
 BOOST_AUTO_TEST_CASE (addrman_evictionworks)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/17]

BOOST_AUTO_TEST_CASE ( addrman_create  )

Definition at line 348 of file addrman_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/17]

BOOST_AUTO_TEST_CASE ( addrman_delete  )

Definition at line 368 of file addrman_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/17]

BOOST_AUTO_TEST_CASE ( addrman_evictionworks  )

Definition at line 875 of file addrman_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/17]

BOOST_AUTO_TEST_CASE ( addrman_find  )

Definition at line 312 of file addrman_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/17]

BOOST_AUTO_TEST_CASE ( addrman_getaddr  )

Definition at line 388 of file addrman_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/17]

BOOST_AUTO_TEST_CASE ( addrman_new_collisions  )

Definition at line 258 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/17]

BOOST_AUTO_TEST_CASE ( addrman_noevict  )

Definition at line 819 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/17]

BOOST_AUTO_TEST_CASE ( addrman_ports  )

Definition at line 170 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/17]

BOOST_AUTO_TEST_CASE ( addrman_select  )

Definition at line 199 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/17]

BOOST_AUTO_TEST_CASE ( addrman_selecttriedcollision  )

Definition at line 787 of file addrman_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/17]

BOOST_AUTO_TEST_CASE ( addrman_serialization  )

Definition at line 720 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/17]

BOOST_AUTO_TEST_CASE ( addrman_simple  )

Definition at line 129 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/17]

BOOST_AUTO_TEST_CASE ( addrman_tried_collisions  )

Definition at line 284 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/17]

BOOST_AUTO_TEST_CASE ( caddrinfo_get_new_bucket  )

Definition at line 640 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/17]

BOOST_AUTO_TEST_CASE ( caddrinfo_get_new_bucket_legacy  )

Definition at line 507 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/17]

BOOST_AUTO_TEST_CASE ( caddrinfo_get_tried_bucket  )

Definition at line 585 of file addrman_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/17]

BOOST_AUTO_TEST_CASE ( caddrinfo_get_tried_bucket_legacy  )

Definition at line 452 of file addrman_tests.cpp.