Bitcoin ABC 0.30.7
P2P Digital Currency
Classes | Functions | Variables
options_tests.cpp File Reference
#include <common/args.h>
#include <seeder/options.h>
#include <util/string.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 37 of file options_tests.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [2/6]

BOOST_FIXTURE_TEST_CASE ( options_defaults_test  ,
ArgsTestingSetup   
)

Definition at line 25 of file options_tests.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [3/6]

BOOST_FIXTURE_TEST_CASE ( options_dns_threads_test  ,
ArgsTestingSetup   
)

Definition at line 87 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 47 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 107 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 67 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 13 of file options_tests.cpp.

◆ TEST_HOST

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

Definition at line 11 of file options_tests.cpp.

◆ TEST_NAMESERVER

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

Definition at line 12 of file options_tests.cpp.