Bitcoin ABC  0.22.12
P2P Digital Currency
Functions
parse_name_tests.cpp File Reference
#include <seeder/dns.h>
#include <seeder/test/dns_util.h>
#include <seeder/test/util.h>
#include <ostream>
#include <string>
#include <vector>
#include <boost/test/unit_test.hpp>
Include dependency graph for parse_name_tests.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const ParseNameStatus &status)
 
static void CheckParseName (const std::string &queryName)
 
static void CheckParseNameError (const std::string &queryName, const ParseNameStatus expectedError, const size_t &outputBufferSize=MAX_QUERY_NAME_BUFFER_LENGTH)
 
 BOOST_AUTO_TEST_CASE (parse_name_simple_tests)
 
 BOOST_AUTO_TEST_CASE (parse_name_label_tests)
 
 BOOST_AUTO_TEST_CASE (parse_name_qname_length_tests)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( parse_name_simple_tests  )

Definition at line 76 of file parse_name_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( parse_name_label_tests  )

Definition at line 86 of file parse_name_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( parse_name_qname_length_tests  )

Definition at line 96 of file parse_name_tests.cpp.

Here is the call graph for this function:

◆ CheckParseName()

static void CheckParseName ( const std::string &  queryName)
static

Definition at line 22 of file parse_name_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckParseNameError()

static void CheckParseNameError ( const std::string &  queryName,
const ParseNameStatus  expectedError,
const size_t &  outputBufferSize = MAX_QUERY_NAME_BUFFER_LENGTH 
)
static

Definition at line 62 of file parse_name_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const ParseNameStatus status 
)

Definition at line 15 of file parse_name_tests.cpp.

Here is the call graph for this function: