Bitcoin ABC  0.29.2
P2P Digital Currency
Classes | Functions | Variables
options_tests.cpp File Reference
#include <seeder/options.h>
#include <util/system.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for options_tests.cpp:

Go to the source code of this file.

Classes

class  ArgsTestingSetup
 

Functions

 BOOST_FIXTURE_TEST_CASE (options_defaults_test, ArgsTestingSetup)
 
 BOOST_FIXTURE_TEST_CASE (options_basic_test, ArgsTestingSetup)
 
 BOOST_FIXTURE_TEST_CASE (options_dumpinterval_test, ArgsTestingSetup)
 
 BOOST_FIXTURE_TEST_CASE (options_threads_test, ArgsTestingSetup)
 
 BOOST_FIXTURE_TEST_CASE (options_dns_threads_test, ArgsTestingSetup)
 
 BOOST_FIXTURE_TEST_CASE (options_port_test, ArgsTestingSetup)
 

Variables

static const char * TEST_HOST = "-host=seeder.bitcoinabc.org"
 
static const char * TEST_NAMESERVER = "-ns=localhost"
 
static const char * TEST_EMAIL = "[email protected]"
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/6]

BOOST_FIXTURE_TEST_CASE ( options_basic_test  ,
ArgsTestingSetup   
)

Definition at line 36 of file options_tests.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [2/6]

BOOST_FIXTURE_TEST_CASE ( options_defaults_test  ,
ArgsTestingSetup   
)

Definition at line 24 of file options_tests.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [3/6]

BOOST_FIXTURE_TEST_CASE ( options_dns_threads_test  ,
ArgsTestingSetup   
)

Definition at line 86 of file options_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [4/6]

BOOST_FIXTURE_TEST_CASE ( options_dumpinterval_test  ,
ArgsTestingSetup   
)

Definition at line 46 of file options_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [5/6]

BOOST_FIXTURE_TEST_CASE ( options_port_test  ,
ArgsTestingSetup   
)

Definition at line 106 of file options_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [6/6]

BOOST_FIXTURE_TEST_CASE ( options_threads_test  ,
ArgsTestingSetup   
)

Definition at line 66 of file options_tests.cpp.

Here is the call graph for this function:

Variable Documentation

◆ TEST_EMAIL

const char* TEST_EMAIL = "[email protected]"
static

Definition at line 12 of file options_tests.cpp.

◆ TEST_HOST

const char* TEST_HOST = "-host=seeder.bitcoinabc.org"
static

Definition at line 10 of file options_tests.cpp.

◆ TEST_NAMESERVER

const char* TEST_NAMESERVER = "-ns=localhost"
static

Definition at line 11 of file options_tests.cpp.