#include <seeder/dns.h>
#include <seeder/test/dns_util.h>
#include <string>
#include <vector>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
◆ BOOST_AUTO_TEST_CASE() [1/3]
BOOST_AUTO_TEST_CASE |
( |
write_name_label_tests |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/3]
BOOST_AUTO_TEST_CASE |
( |
write_name_qname_length_tests |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/3]
BOOST_AUTO_TEST_CASE |
( |
write_name_simple_tests |
| ) |
|
◆ CheckWriteName()
static void CheckWriteName |
( |
const std::string & |
qname, |
|
|
const int & |
offset = 12 |
|
) |
| |
|
static |
◆ CheckWriteNameError()
static void CheckWriteNameError |
( |
const std::string & |
qname, |
|
|
const int & |
expectedError, |
|
|
const int & |
offset = -1 , |
|
|
const size_t & |
writeBufferSize = MAX_QUERY_NAME_BUFFER_LENGTH |
|
) |
| |
|
static |
◆ CheckWriteNameNoOffset()
static void CheckWriteNameNoOffset |
( |
const std::string & |
qname | ) |
|
|
static |
◆ CheckWriteNameWithOffset()
static void CheckWriteNameWithOffset |
( |
const std::string & |
qname, |
|
|
const int & |
offset = 12 |
|
) |
| |
|
static |